Commit graph

190 commits

Author SHA1 Message Date
Jan Jurzitza
8af4b28453
Return if miDebugger is not set in threadsRequest
Not sure why it only happens for this function but this fixes the error in the console.
2018-02-21 18:14:18 +01:00
Leszek Swirski
a7b89c3569 Fix crash in threadsRequest with no miDebugger, and undefined thread names 2018-02-21 16:35:39 +00:00
Leszek Swirski
596674fb59 Add a test 2018-02-02 12:17:36 +00:00
Leszek Swirski
ab0a3bb4be Support multi-threading 2018-02-02 12:17:33 +00:00
Jan Jurzitza
a7fd6a7369
Merge pull request #128 from Marus/master
Bug fixes from Cortex-Debug extension
2018-01-24 21:14:28 +01:00
Marcel Ball
d827275613 Fix an issue where an element of an array or struct changing will visually show the change on the containing array/struct.
- Getting the change list from GDB will get changes from members.
- Original code was mistakenly using the variable name from the outside object when looking up the handle to apply the changes instead of the variable name in the changelist.
2018-01-24 16:02:45 -04:00
Marcel Ball
cdee9d6420 Fix bug with MI Parsing if there is a list with empty strings
A JavaScript string is a falsy value - but an empty string is valid in these positions - so need to explicitly check for undefined instead of just falsy.
2018-01-24 16:00:04 -04:00
Marcel Ball
2219810715 Fix GDB expansion of structures/arrays containing floating point values. 2018-01-24 15:56:02 -04:00
Jan Jurzitza
248bb84599
Merge pull request #126 from gentoo90/fix-config
Fix "request" value of "Attach to PID" in config
2017-12-17 11:24:25 +01:00
gentoo90
21e1dcda63 Fix "request" value of "Attach to PID" in config 2017-12-17 10:06:04 +02:00
WebFreak001
d39cdc9633 Typescript fixes 2017-07-23 19:57:12 +02:00
WebFreak001
ef8245259a Bump to 0.21.2 + icon fix & changelog update 2017-07-23 19:52:45 +02:00
WebFreak001
cdf72116bb Bump to 0.21.1 (fix #116 again) 2017-07-23 19:02:21 +02:00
WebFreak001
49dd1644f7 Merge branch 'master' of github.com:WebFreak001/code-debug 2017-07-23 19:01:27 +02:00
WebFreak001
6d4822f1e4 Bump to 0.21.0 (fix #116) 2017-07-23 19:01:08 +02:00
Jan Jurzitza
bb124c467c Merge pull request #111 from faustinoaq/patch-1
enable breakpoints for crystal language
2017-06-16 11:39:10 +02:00
Faustino Aguilar
98f5b7153d enable breakpoints for crystal language 2017-06-15 21:32:12 -05:00
Jan Jurzitza
f6d78aac5d Merge pull request #109 from gentoo90/var-obj-fixes
Var obj fixes
2017-06-10 15:21:17 +02:00
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
WebFreak001
aa1ea10c73 Bump to 0.20.0 2017-05-26 23:33:34 +02:00
WebFreak001
7aec463e19 Merge branch 'master' of github.com:WebFreak001/code-debug 2017-05-26 23:21:49 +02:00
Jan Jurzitza
73473e1fb3 Merge pull request #107 from gentoo90/gdb-var-objects
Gdb var objects
2017-05-26 23:15:01 +02: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
69679beb6c Bump to 0.19.0 2017-04-26 19:35:09 +02:00
WebFreak001
907fbd5004 Process environment extends original one now #98 2017-04-26 19:34:19 +02:00
WebFreak001
464e2301c6 Fix #104 2017-04-26 17:18:14 +02:00
WebFreak001
e83a5625b3 Bump to 0.18.0 2017-04-14 18:27:02 +02:00
WebFreak001
a21e2e65af Fix #98 2017-04-14 18:26:40 +02:00
WebFreak001
edfac8eb1a Bump to 0.17.1 2017-04-14 18:14:04 +02:00
WebFreak001
656ef0d2c0 Fix #102 2017-04-14 18:11:36 +02:00
WebFreak001
f766a9f7ec Bump to 0.17.0 2017-02-10 19:47:00 +01:00
WebFreak001
e969b4086c Updated dependencies 2017-02-10 19:45:51 +01: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
Jan Jurzitza
622640bfc7 Merge pull request #89 from andyneff/out_fix
Removed outDir for outFiles
2017-01-09 17:37:13 +01:00
WebFreak001
318ece44cf Added special commands for extended-remote fix #91 2017-01-09 00:33:21 +01:00
Andy Neff
9e594e70c3 Removed outDir for outFiles 2017-01-06 19:23:01 -05:00
WebFreak001
3738f4f03c Bump to 0.16.0 2016-12-31 15:17:34 +01:00
WebFreak001
4f8ae4eb24 Attach over ssh with gdb (fix #83) 2016-12-31 15:16:12 +01:00
WebFreak001
c9be6b0634 Bump to 0.15.0 2016-12-20 22:40:57 +01:00
WebFreak001
9b317a1a1a Reverse continue 2016-12-20 22:37:25 +01:00
WebFreak001
3f4d38b318 Added confguration snippets 2016-12-20 22:28:17 +01:00