udalrich / jdibug

Automatically exported from code.google.com/p/jdibug
17 stars 4 forks source link

Support for debugging Android application #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Set a breakpoint in java file. 
2. Connect to android application using jdwp.

What is the expected output? What do you see instead?

Expect: can connect to android dalvik vm, and debug android application. 

Current behavior: jdibug is using jdk 1.4 command sets which are not fully 
supported by Dalvik VM.

What version of the product are you using? On what operating system?
Dalvik VM (jdk 1.5)

Please provide any additional information below.
Dalvik VM JDWP implementation can be found in 
http://android.git.kernel.org/?p=platform/dalvik.git;a=blob_plain;f=vm/jdwp/Jdwp
Handler.c;hb=refs/heads/master . 

Search for "gHandlerMap" in the file for supported command sets.

Original issue reported on code.google.com by tend...@gmail.com on 7 Mar 2011 at 4:02

GoogleCodeExporter commented 9 years ago
Attached patch for this issue. 

This patch will change commands from "methods", "fields" and "variable-table" 
to "methods-with-generic", "fields-with-generic" and 
"variable-table-with-generic" for JVM with generic support. 

Original comment by tend...@gmail.com on 7 Mar 2011 at 4:14

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in revision 466 in the 0.5 branch.

Original comment by udalrich.schermer on 12 Apr 2011 at 3:05

GoogleCodeExporter commented 9 years ago

Original comment by udalrich.schermer on 12 Apr 2011 at 3:30