Code Comments
Programming Forum and web based access to our favorite programming groups.Hi, I am new to Java and jdb, please bear with me if this question is stupid. I wrote a class called SampleTest.java, it compiles well, however the output is slightly wrong. So I run jdb SampleTest >stop in SampleTest.main Deferring breakpoint SampleTest.main. It will be set after the class is loaded. >run and after I hit enter, jdb seems to be doing nothing and stop to repond any commands. Do anybody know what the problem is? Thanks a lot.
Post Follow-up to this messageQingnan Zhou wrote: > > Hi, I am new to Java and jdb, please bear with me if this question is > stupid. > > I wrote a class called SampleTest.java, it compiles well, however the > output is slightly wrong. Your program printed "slightly wrong"? Terrific. Then it worked perfectly, right? > So I run jdb SampleTest > > Deferring breakpoint SampleTest.main. > It will be set after the class is loaded. > > and after I hit enter, jdb seems to be doing nothing and stop to repond > any commands. Do anybody know what the problem is? Yes, I do. Want me to tell you? Post your code. -- Paul Lutus http://www.arachnoid.com
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.