Commit graph

33 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
ab0a3bb4be Support multi-threading 2018-02-02 12:17:33 +00: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
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
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
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
9b317a1a1a Reverse continue 2016-12-20 22:37:25 +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
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
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
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
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
1e298815c4 Added mago-mi support (fix #67) 2016-07-02 23:35:28 +02: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
WebFreak001
7300846763 Fixed variable stack when switching frames 2016-03-06 16:04:22 +01:00
WebFreak001
e671d4cba0 Improved error responses 2016-03-06 12:08:57 +01:00
WebFreak001
35afccfd77 Added LLDB support (fix #39) 2016-03-06 12:02:11 +01:00