Results 1 to 2 of 2
Hello,
I usually debug my programs with gdb ( DDD ), and it works fine.
But now I would like to do same process with my own app.
Anybody known ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-02-2012 #1Just Joined!
- Join Date
- May 2007
- Posts
- 23
is it possible to call gdb commands from C process?
Hello,
I usually debug my programs with gdb ( DDD ), and it works fine.
But now I would like to do same process with my own app.
Anybody known how to invoke gdb (or gdb commands ) from a C process?
is it possible
Best regards.
- 11-05-2012 #2
Well,
To the best of my knowledge, it's why you would want to set a breakpoint in your app/within gdb when you run your app within a gdb instance.
That way, you stop at the point where you need to test/check on your app to make sure everything is happening as expected. And, it gives you the gdb console to work with at that point.
HTH. Let us know.


Reply With Quote
