Want to control jdb inside java program with stdout but won't work

R

Ron

I'm developing a lightweight frontend for java and I'd like to add
debugging capabilities to it. I figured I could just launch jdb in my
program and use write(byte[] b) to stdout to control it. But, it
doesn't work. In fact, stdin gives me this much:

Set uncaught java.lang.Throwable
Set deferred uncaught java.lang.Throwable
Initializing jdb ...VM Started: No frames on the current call stack

And that's it. No "main[1]". Using println("cont") does nothing. Can
anyone shed some light on the situation?

Thanks,
Ron
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top