0

I would like to control the gdb (GNU Debugger) from a Java Application: start a debugging session, setting breakpoints, stepping etc. One solution for this problem is of course to run the gdb via:

Runtime.exec(String command);

The downside of this approach is the additional coding effort for parsing results, sending commands etc. To overcome this, I would like to use an existing API or library (preferably written in Java) which acts as middleware between my Java program and the gdb.

1 Answer 1

1

Try looking at the Eclipse CDT source. It is open source and you could even integrate it into whatever you're building.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.