I need help using either dbx, gdb, or xxgdb. Please be specific.
Here is what I have already did and I was so confused.
1. I have put -g flag when compiled my C++ source
2. % dbx executable_file
3. I typed 'next' and got error message like this
dbx: can't continue execution -- no active process
4. I tried to put a break point at line 8 using
'stop at 8' command and I got another message:
dbx: No current source file
5. Well, I scratched my head and typed 'quit'
Same story happened when I tried using both gdb and xxgdb.
Please help! I need to know how you debug your C++ codes in Unix, STEP by STEP!
PS: I use all my points and hope that I would get a very brilliant answer :)