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 / March 2004

Tip: Looking for answers? Try searching our database.

_asm int 3 in Java

Thread view: 
Michael Wehle - 16 Mar 2004 03:08 GMT
Is there an instruction which will force the Java VM to pause execution of
the current thread and launch a debugger?
Roedy Green - 17 Mar 2004 01:41 GMT
>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.


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.