Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / September 2004

Tip: Looking for answers? Try searching our database.

[help] Using jdb to debug

Thread view: 
Qingnan Zhou - 25 Sep 2004 23:28 GMT
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.
Paul Lutus - 26 Sep 2004 09:14 GMT
> 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
>
[quoted text clipped - 5 lines]
> 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.

Signature

Paul Lutus
http://www.arachnoid.com



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.