RFC: JDWP ExceptionEvent Notification
Kyle Galloway
kgallowa@redhat.com
Wed Aug 30 20:48:00 GMT 2006
This patch implements JDWP notification for Exception Events that occurr
in interpreted code. I uses a a manager class ExceptionManager to
record exceptions and whether or not they are caught. As the exception
moves up the call stack, if it is caught the manager is notified and
generates an appropriate JDWP event. If the exception is never caught,
the manager is notified and again send an appropriate JDWP event. This
code is ifdefed in so that the code is only executed inside
_Jv_InterpMethod::run_debug and not when debugging is disabled.
Comments, or can I commit this?
Thanks,
Kyle
2006-08-30 Kyle Galloway <kgallowa@redhat.com>
* interpret.cc: Added #includes for JDWP.
* interpret-run.cc: Added exception event notification code for caught
and uncaught exceptions.
* gnu/gcj/jdwp/ExceptionManager.java: New file.
* include/java-interp.h (_Jv_InterpMethod): Made class method insn_index
public.
* java/lang/natThread.cc (_Jv_ThreadRun): Added code to notify if an
exception remains uncaught.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-patch
Size: 8113 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20060830/048b05ee/attachment.bin>
More information about the Java-patches
mailing list