Home > Archive > Java Help > September 2004 > [help] Using jdb to debug
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
[help] Using jdb to debug
|
|
| Qingnan Zhou 2004-09-25, 8:57 pm |
|
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 2004-09-26, 9:07 am |
| Qingnan 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
|
|
|
|
|