Commit Graph

74 Commits

Author SHA1 Message Date
Dave Holoway
8cc31476b3 fix breakpoints don't trigger when hit (#37)
* add errorcode to empty jdwp results

* use an empty line table if the command request fails
2018-11-11 15:20:28 +00:00
adelphes
494bb83cbf version 0.5.0 v0.5.0 2018-05-06 20:32:57 +01:00
Dave Holoway
9fca5cbe8c Merge pull request #28 from adelphes/kotlin-support
add basic support for kotlin source files
2018-05-06 20:13:24 +01:00
adelphes
5f0a02b17f add basic support for kotlin source files 2018-05-06 20:02:31 +01:00
adelphes
da36e8e457 added extension package state info 2017-06-24 19:53:22 +01:00
adelphes
3dbfd8ef2a Improved array handling. Better multidimensional array support. 2017-06-24 16:18:22 +01:00
adelphes
4a31b83eb9 add support for evaluateName so Add To Watch works again 2017-06-24 13:16:36 +01:00
adelphes
261c06f1d6 Ensure the cached fields are populated before showing the Exception UI 2017-06-24 12:20:21 +01:00
adelphes
130d79f6c2 add initial support for method call expressions 2017-06-24 12:02:36 +01:00
adelphes
8baf894fc9 add basic support for Exception UI 2017-06-20 13:40:57 +01:00
adelphes
92bd003122 Refactor expression evaluation into its own file 2017-06-18 13:56:04 +01:00
adelphes
13f116b3b3 format integers into other bases 2017-06-18 13:40:13 +01:00
adelphes
140e48cbd1 Add newlines to output
Cancel certain requests if the thread has been resumed
2017-06-18 12:57:38 +01:00
adelphes
7e8f471df4 revert util cleanup until dependencies are sorted 2017-06-14 16:10:58 +01:00
adelphes
09905eb85a Fix output newlines 2017-06-14 15:57:17 +01:00
adelphes
e76773e8e4 code tidy - fix lint warnings for unused fns, params and locals 2017-05-12 14:45:59 +01:00
adelphes
c98c962172 version 0.4.1 v0.4.1 2017-03-02 17:30:04 +00:00
adelphes
b3501d529a version 0.4.0 changelog 2017-03-02 17:21:56 +00:00
adelphes
6f9b2f7e78 version 0.4.0 v0.4.0 2017-03-02 17:17:46 +00:00
adelphes
eab08cc501 Switch local demo gif link to github 2017-03-02 17:05:18 +00:00
adelphes
0b5be3020a Fixed exception details not being displayed
Make sure the exception scoperef is allocated before locals are retrieved.
2017-03-02 16:12:27 +00:00
adelphes
6451e38bca remove reference to $.noop 2017-02-12 13:43:39 +00:00
adelphes
101611841f Fix logcat lines issue and added count up display. 2017-02-05 23:28:02 +00:00
adelphes
cc02c1b089 added callStackDisplaySize config setting 2017-02-05 21:36:28 +00:00
adelphes
fdbd5df16b Improvements to multi-threaded debugging
Separate out thread-specific parts
Only pause event thread for step, bp and thread events
Continue now resumes the specified thread instead of all threads
Prioritise stepping thread to prevent context switching during step
Monitor thread starts/ends
2017-02-05 19:34:12 +00:00
adelphes
baa3fb6bfd version 0.3.1
bug fix release
v0.3.1
2017-02-02 20:13:37 +00:00
adelphes
3cda2e5f1f Fix issue with exception breaks hanging
Temporarily resume the thread used to invoke toString() and re-suspend after.
2017-02-02 20:04:04 +00:00
adelphes
dfed765d21 Fix issue with crash on exception break 2017-02-02 19:19:20 +00:00
adelphes
b60ef65803 Fix issue with Android source not displaying
VSCode 1.9 prioritises srcref over path - we now set the ref to 0 if a source path is set.
2017-02-02 19:18:54 +00:00
adelphes
214a48b1e1 version 0.3 v0.3.0 2017-02-01 18:51:19 +00:00
adelphes
d3ff22395e Fix breakpoint failures on windows
Make sure relative_fpn uses forward slashes as path delimiters
2017-02-01 18:41:25 +00:00
adelphes
ac0b29fb15 Auto-start ADB for logcat views 2017-02-01 12:44:36 +00:00
adelphes
a47de40088 More configuration settings
Added autoStartADB and logcatPort  launch config settings
Moved AndroidContentProvider into it's own file.
2017-02-01 12:22:25 +00:00
adelphes
e23fc698a2 auto-start ADB if it's not running 2017-02-01 11:04:40 +00:00
adelphes
d324990e28 Improved multi-threaded debug support
Include thread names in display
Use a thread id mapping for vscode to fix problems with Android reusing thread ids
Stepping only resumes the paused thread, Continue resumes all.
2017-02-01 10:18:04 +00:00
adelphes
7b670b36ad Improve breakpoint searching
Search for inner types when identifying breakpoint locations
2017-02-01 10:13:02 +00:00
adelphes
d1ab9a8339 Android debugger class enhancements
Support for thread info - name and status
Reference count global suspends to allow correct resuming when multiple events are triggered.
Added methods for suspend/resume individual threads
2017-02-01 10:10:22 +00:00
adelphes
ab68b83900 jq promise fixes
return promise in always()
allow when() to accept a single array of arguments
2017-02-01 09:59:46 +00:00
adelphes
a677d636f3 Fix #17
Clear last step request on exception break
2017-01-31 15:00:45 +00:00
adelphes
71fcf1b760 Code tidy
Prevent multiple StoppedEvents being sent when debugger reports multiple events (bp,step,exception) at the same location.
2017-01-31 14:18:19 +00:00
adelphes
2727dd1b0c Refactored setBreakPointsRequest
Breakpoints are now updated using an async queue
Allow source locations inside ANDROID_HOME
Fixes #14
2017-01-31 13:40:54 +00:00
adelphes
585b8cca29 Improve logcat support
Move html into a separate resource file.
Implement regex filtering and logcat clear.
Fixes #7
2017-01-30 18:51:03 +00:00
adelphes
b27d972613 Improve evaluation support
Allow arithmetic, bitwise, logical and relational operators and primitive casts.
2017-01-29 20:25:21 +00:00
adelphes
ec38695bcc include type info when reporting missing fields
Store character primitives as a uint16 integer with a separate char field.
2017-01-29 19:06:32 +00:00
adelphes
88c20d6470 implement a more reliable evaluation queue 2017-01-28 19:12:35 +00:00
adelphes
6f3f5eee74 Improve expression parsing
Allow ':super' to be used as a member.
Search super types when locating field members.
Fixes #16
2017-01-28 15:54:26 +00:00
adelphes
6463558034 Fix issues with expressions not completing
Moved NumberBaseConverter into its own file
2017-01-28 14:12:11 +00:00
adelphes
1b7fb3d60a first pass at hit-count breakpoints 2017-01-27 13:59:36 +00:00
adelphes
2f93ecc16f We only need platform-tools for adb 2017-01-27 10:19:50 +00:00
adelphes
3e1a8dce37 bump version 2017-01-26 17:59:01 +00:00