Commit graph

82 commits

Author SHA1 Message Date
gentoo90
90c7b76f78 Add "var_" prefix to var object names
The name of var object should begin with a letter, so names like "_id"
caused errors.
2017-06-10 15:08:31 +03:00
gentoo90
c313af85b2 Fix varListChildren() when there are no children
Return [] instead of throwing exception.
2017-06-10 15:01:21 +03:00
gentoo90
ca0f86a37c Don't swallow errors on varUpdate()
Add MIError class for exceptions. Check error type on varUpdate() failure
and rethrow if it's not "Variable object not found".
2017-06-10 14:55:41 +03:00
gentoo90
beb80f7375 Add valuesFormatting parameter to launch config 2017-05-26 22:48:33 +03:00
gentoo90
d498b381bf Use var-assign to set variables values 2017-05-26 11:14:42 +03:00
gentoo90
2551dba725 Reuse variable objects, utilize var-update
Same variables now have same ids in each VariablesResponse.
This allows vscode to keep track of changes properly and prevents
collapsing of all variables after every step.
2017-05-25 23:49:19 +03:00
gentoo90
77b689443f Reuse ids of stask frames, add some type inference
Use GDB's stask frames number as its id in vscode
2017-05-25 23:02:26 +03:00
gentoo90
f171d9f4ac Utilize GDB/MI Variable Objects for local variables
Replace own value parser with GDB's variable objects interface.
See https://sourceware.org/gdb/onlinedocs/gdb/GDB_002fMI-Variable-Objects.html
2017-05-20 19:20:50 +03:00
gentoo90
18f1a101c8 Use async/await in variablesRequest 2017-05-20 19:20:50 +03:00
gentoo90
6713545970 Use async/await in getStackVariables 2017-05-20 19:20:50 +03:00
WebFreak001
907fbd5004 Process environment extends original one now #98 2017-04-26 19:34:19 +02:00
WebFreak001
a21e2e65af Fix #98 2017-04-14 18:26:40 +02:00
WebFreak001
656ef0d2c0 Fix #102 2017-04-14 18:11:36 +02:00
WebFreak001
3269e86675 Added unknown source correctly this time 2017-02-10 19:45:45 +01:00
WebFreak001
758464a427 Fix #93 2017-02-10 19:42:43 +01:00
WebFreak001
318ece44cf Added special commands for extended-remote fix #91 2017-01-09 00:33:21 +01:00
WebFreak001
4f8ae4eb24 Attach over ssh with gdb (fix #83) 2016-12-31 15:16:12 +01:00
WebFreak001
9b317a1a1a Reverse continue 2016-12-20 22:37:25 +01:00
Mrmaxmeier
c831c4d4e4 implement debugger_args option 2016-12-11 21:38:17 +01:00
WebFreak001
9e478cb675 Fix compilation 2016-12-07 00:46:27 +01:00
WebFreak001
c7370d894a support breakpoint hit count 2016-12-07 00:41:15 +01:00
WebFreak001
2f2d0294f4 typescript upgrade 2016-12-07 00:10:55 +01:00
WebFreak001
4393a315fa Fix #78 (silent ignore on windows) 2016-12-07 00:02:39 +01:00
WebFreak001
e43bec9f07 Unicode fix #77 2016-12-06 23:53:34 +01:00
WebFreak001
9e5d12551f Fallback to raw output when JSON.parse fails
Partial fix for #77
2016-12-06 23:25:16 +01:00
Alex Sadler
2cd3ecd7db Escape breakpoint file path
Escape before quoting
2016-11-14 21:28:19 +00:00
Alex Sadler
f0c30a91b0 Quote input when adding breakpoint
File path and line number are now double quoted when specified explicitly. Before only when using raw input was it double quoted.
2016-11-14 17:04:02 +00:00
WebFreak001
d34bfb7c43 added trace constant for finding extension crashes 2016-10-23 17:26:47 +02:00
WebFreak001
839766a065 Using undefined instead of "<unknown>" for UI 2016-09-10 22:22:10 +02:00
WebFreak001
bf519c8bab Fixed cygdrive paths in stack request (fix #72) 2016-09-04 17:11:20 +02:00
WebFreak001
6ead793c09 Added variables for file (base)name w/o extension
fix #71
2016-08-26 23:21:57 +02:00
WebFreak001
17376317b2 Made utility command server warning more clear 2016-08-13 13:38:21 +02:00
WebFreak001
5fc8765678 Fixed C/C++ argument list & char*[]
Fix #69 (hihi Kappa)
2016-08-13 13:34:34 +02:00
WebFreak001
d3b0bb79a1 Fixed memory view for C/C++ strings 2016-08-11 19:52:25 +02:00
WebFreak001
640abf822b Added showDevDebugOutput option to debug GDB calls 2016-08-08 17:56:20 +02:00
WebFreak001
87ff8b8644 Added examining memory locations (fix #64)
also added a way to run mi commands over unix domain sockets so other applications can communicate with code-debug
2016-07-23 02:13:36 +02:00
WebFreak001
e78733308e Added more error catches 2016-07-23 02:10:31 +02:00
WebFreak001
ef1f4782b4 Fixed entering MI commands into the debug console 2016-07-10 17:33:25 +02:00
WebFreak001
2308f9f166 Added variable types for the future (fix #66) 2016-07-10 17:05:56 +02:00
WebFreak001
d704af2501 Implemented stepping back & changing variables 2016-07-10 16:34:12 +02:00
WebFreak001
81f8e6fcf1 Removed debug logs & bump to version 0.9.0 2016-07-02 23:39:00 +02:00
WebFreak001
1e298815c4 Added mago-mi support (fix #67) 2016-07-02 23:35:28 +02:00
WebFreak001
1a399b3292 Fixed clearing breakpoints in lldb 2016-07-02 23:34:08 +02:00
WebFreak001
786ed5b3bd Added support for output with no new line (fix #51) 2016-03-23 23:07:07 +01:00
WebFreak001
7e73c686b2 Made gdb & lldb command path customizable (fix #53) 2016-03-23 22:28:57 +01:00
WebFreak001
b5a00fa12b Improved getting stack 2016-03-11 17:14:15 +01:00
WebFreak001
2aff091374 Made target path absolute when passing to gdb (should fix #22) 2016-03-10 13:08:08 +01:00
WebFreak001
d3353231c8 Improved some regex 2016-03-10 13:02:23 +01:00
WebFreak001
50fb4798b7 Added function breakpoints (fix #45) 2016-03-10 13:02:04 +01:00
WebFreak001
4cbb822d39 Fixed error messages for internal commands (fix #46) 2016-03-10 10:38:22 +01:00