diff options
author | Sebastien Hertz <shertz@google.com> | 2015-05-26 11:53:39 +0200 |
---|---|---|
committer | Sebastien Hertz <shertz@google.com> | 2015-05-26 12:32:56 +0200 |
commit | de48aa6708a3d5dacf7db3d64965e23261fb15d3 (patch) | |
tree | f26124e483ab84d2009c735897c3a4beaf37cb39 /compiler/optimizing/graph_visualizer.cc | |
parent | dc80984a9e24d6e46fab9461f01d7a27e656cf90 (diff) |
JDWP: fix breakpoint on catch statement
Setting a breakpoint on a catch statement in the source actually
installs the breakpoint on a DEX move-exception instruction. At this
point, an exception is pending in the current thread.
The issue is no exception must be pending in the current thread to
report the breakpoint event. This is required to be able to call JNI
functions to create JDWP ids.
This CL fixes it by clearing the pending exception before reporting
event and restore it after reporting the event.
Bug: 21382373
Change-Id: Id3c60cca398135a3e0859a1ccb645b9c99d5ca76
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions