I'm trying to trace some program flow in the GSD.. specifically receiving commands from DCE..
Looking at the source, it looks like there is a debug mode..
Does anyone know how to enable debug for GSD? verbose level?
I did search the wiki for DEBUG, but didn't come across anything useful..
Thanks,
Dan
Quote from: ddamron on January 07, 2008, 11:58:19 AM
I'm trying to trace some program flow in the GSD.. specifically receiving commands from DCE..
Looking at the source, it looks like there is a debug mode..
Does anyone know how to enable debug for GSD? verbose level?
I did search the wiki for DEBUG, but didn't come across anything useful..
Thanks,
Dan
I think its down to using the logs to trace whats happening Dan. The Devs suggest the following;
Two solutions:
1) if it's an syntax error in the ruby code, check the logs for that gsd device, it should display the error/line
2) you can use logs in gsd code (open a file, write the status, close the file)
Andrew
Yeah, that's what I'm doing,
I'm trying to find the code where it's reporting 'GSD-DispatchMessage - ignoring 192 because is useless'
I've searched all the Generic_Serial_Device code to no avail..
Quote from: ddamron on January 07, 2008, 01:12:51 PM
Yeah, that's what I'm doing,
I'm trying to find the code where it's reporting 'GSD-DispatchMessage - ignoring 192 because is useless'
I've searched all the Generic_Serial_Device code to no avail..
The guys at Pluto say you should look here;
src/Generic_Serial_Device ... the cpp files
Hope that helps you Dan
Andrew
Hmm, that's where I was...
Ok, I'll keep looking...
Thanks anyway..
Dan