At 09:05 AM 6/20/00 -0400, you wrote:
>I have been trying couple of things to figure out why I can hit the
>breakpoints. It seems to me that even though I set the breakpoints in the
>suspended mode, it doesn't associate the breakpoints with the running
>application. Here is an output of "attaching" to the application in
>suspended mode.
>
>I should mention that I start the application from emacs through JDE->Run
>App which in turn runs a *.bat file.
Yes, it explains a lot.
> Here is that file:
>
>>>
>java -Xrunjdwp:transport=dt_shmem,address=SonomaView,server=y,suspend=y -Xd
>ebug -jar util/jmk.jar -f util/sv.jmk run
><<
>
>sv.jmk is a makefile that invokes:
> exec java java_flags main_class
>
You have to attach to the process that you want to debug, not to the
process that launches the process that you want to debug. So it seems to me
that your bat file should be something like this:
java -jar util/jmk.jar -f util/sv.jmk run
and your jmk file should be
exec java java_flags main_class
where java_flags includes
-Xrunjdwp:transport=dt_shmem,address=SonomaView,server=y,suspend=n -Xdebug
I don't know if this will solve your problem but I do know that the way you
have been running the debugger will not work.
- Paul