At 11:25 PM 4/21/00 GMT, you wrote:
>
>Hi,
>
>I want to know how I can debug a console program using JDK + JDE.
>When I use jdb to debug a program which calls System.in.read(),
>even though execution reaches read() function, jdb keeps prompting
>and I cannot input anything from console. (jdk eats it and output some
>error message for it.)
>
>When I debug a similar C program using gdb or dbx, the debugger somehow
>give its console input to the debugged program so that I can input
>any data by typing when its execution reaches read(). But when debugging a
>Java program and using JDK, it does not happen.
>
>I know it is not JDE's own problem, but please help me if you know why.
>I am using JDK1.2.2 + JDE2.1.5 on Windows2000.
>

jdb does not support console debugging.

Use JDEbug, which comes with JDE-2.1.6beta23.

- Paul


------------------------------------------------------------
TECH SUPPORT POLICY

I respond only to requests that contain a complete problem report. The
easiest way to ensure that your report is complete is to include the output
of the JDE->Help->Submit Problem Report command in your request. 

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

JDE website: http://sunsite.auc.dk/jde/

JDE mailing list archive: 
http://www.mail-archive.com/[email protected]/maillist.html



Reply via email to