How to use CDBA for Symbolic Debugging
- compile/assemble and link the source with symbolic debugging info.
To achieve this for JWasm, Masm or MS VC, use the -Zi switch:
JWasm -Zi -coff <source_file>
link /DEBUG <object_file> <libraries>
- launch CDBA with these parameters:
CDBA -lines -c "l+*" -g -j <name_of_executable>
-
this will show a screen like this:
-
Now one can single-step through the source with the 'p' command