Calling GDB (Gnu debugger) within your code.
I spent a lot of time finding the right way to do this, so here is a quick note. For work, I need to debug a small piece of code I wrote. But the main software (closed source) load my library (via dlopen) and run it in a single thread.
That’s fine, but I’m unable to [...]
admin August 20th, 2011