At 12:06 PM 1/4/00 -0500, you wrote:
>Well, I was able to debug a simple a Hello world app.
>Now, I am trying to debug a larger app and things arent' working as
>well. Here's what I get:
>
>*** Debugger Output for Process UnitTests(1) ***
>
>Launched VM Java Debug Interface (Reference Implementation) version 1.0
>Java Debug Wire Protocol (Reference Implementation) version 1.0
>JVM Debug Interface version 1.0
>JVM version 1.2.2 (Classic VM, build 1.2.2-I, green threads, nojit)
>Launching vm to run UnitTests
>Setting breakpoint at line 41 in UnitTests.java.
>vm started...
>All threads suspended...
>Running UnitTests.
>Application I/O closed
>Input error; application I/O closed
>Application I/O closed
>UnitTests process ended.
>vm disconnected...
>
>
>Not sure why things seem to startup OK, but then quickly end. If there
>more info I can send you that might be helpful?
>
The JDE->Debug App command is a complex command that does
the following:
1. Starts the debugger (if necessary)
2. Applies any breakpoints (if specified)
4. Launches the app.
5. Runs the app.
If you have not set any breakpoints, your application will simply run to
completion
without stopping.
The trick to using this command is to set a breakpoint first near where you
think the problem is. Then execute JDE->Debug App.
Alternatively, you can JDEBug->Processes commands to do the whole process
manually, giving
you greater control over the launching of your application.
- Paul