>Is there an instruction which will force the Java VM to pause execution of
>the current thread and launch a debugger?
Best to ask such questions in comp.lang.java.machine.
You want the breakpoint instruction. 0xca
However, it is reserved for internal use. If you bury one in your
class file, the byte verifier will complain.
The debugger needs to know about all its breakpoints and where they
are in tables.
--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
Michael Wehle - 17 Mar 2004 20:26 GMT
I actually found what I want are the -Xdebug -Xrunjdwp flags. Thanks for the
tip about comp.lang.java.machine.
Michael
> >Is there an instruction which will force the Java VM to pause execution of
> >the current thread and launch a debugger?
[quoted text clipped - 13 lines]
> Coaching, problem solving, economical contract programming.
> See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.