diff options
author | Alex Light <allight@google.com> | 2017-09-29 13:46:14 -0700 |
---|---|---|
committer | Alex Light <allight@google.com> | 2017-10-12 16:08:47 -0700 |
commit | 84b92e08d368e87faad8aaffd60c8303a909f5a9 (patch) | |
tree | 3a4a81a588022b791c382a584802691061ddf7fc /compiler/optimizing/graph_visualizer.cc | |
parent | 05727c50c8c329d03692ffe51dce453c54379d70 (diff) |
Add support for using 'art' tools with gdbserver
Some tools (like run-jdwp-tests) invoke the 'art' tool automatically.
This makes it difficult to debug the runtime when running code
controlled by those tools. To allow this I added a --gdbserver flag to
both the 'art' tool and the 'run-jdwp-tests.sh' script.
To use:
% ./art/tools/run-jdwp-tests.sh --debug \
<...> \
--gdbserver localhost:9999
or
% art --gdbserver localhost:9999 <...>
In another terminal:
% gdb /path/to/dalvikvm # the art command will print the
# appropriate path
(gdb) target remote localhost:9999
Test: Manual
Change-Id: Ice9a9f7622eee66261d10663c83bf06aef95f399
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions