[Gambas-devel] Enhancing the gb.debug component

Benoît Minisini gambas at ...1...
Sat Jan 30 16:52:32 CET 2010


Hi, Matteo.

This is for you, but I want that all the discussion stays on the mailing-list, 
for other people interested in.

The gb.debug component sources are located in the /main/lib/debug directory of 
Gambas sources.

main.c --> Component initialization and component classes declaration.

debug.c --> The internal debugger, run by the interpreter when the "-g" option 
is passed to it.

print.c --> Debugger functions to print values of expressions, variables...

CDebug.c --> The Debug class, used by the IDE for driving a debugged process. 
Fifo that communicate with the debugged process are created there.

gb.debug.h --> Declaration of the API provided by the interpreter to the 
gb.debug component, and the API provided by the gb.debug component to the 
interpreter.

Please look into the source code first, and ask me questions. This way, I will 
be able to understand what your C skills are, which will help me to guide you 
more easily.

Regards,

-- 
Benoît Minisini




More information about the Devel mailing list