Commit graph

74 commits

Author SHA1 Message Date
Simon Marchi
186115cf7a tslint: Enable prefer-for-of
This is not a big deal, but I think it makes the code a bit nicer.
2018-07-18 11:02:49 -04:00
Simon Marchi
e0ed9f71b8 tslint: Enable no-var-requires
Rationale from the rule's page:

AMD-style require([]) and CommonJS-style require("") statements are
environment-specific and more difficult to statically analyze.

ES2015-style imports are part of the JavaScript language specfication
and recommended as the path going forward. TypeScript will compile them
to environment-specific forms as needed.
2018-07-18 10:52:48 -04:00
Simon Marchi
d0dc094f4e tslint: Enable no-null-keyword
I find this rule quite useful so that we use undefined all the time.
The rationale on the rule's documentation page is quite clear:

https://palantir.github.io/tslint/rules/no-null-keyword/
2018-07-17 18:48:05 -04:00
Simon Marchi
1244e4133c Enable tslint with basic rules
Add tslint as a plugin to tsc, so that they will show up in vscode or
whatever editor people use.  I only enabled two basic rules that I think
are very useful, prefer-const and no-var-keyword.  Violations of these
rules were fixed with "tslint -p . --fix".  There was one unused
variable (in the isExpandable) function that I removed by hand.
2018-07-17 18:19:37 -04:00
Jelle Roets
16370ea112 add option to use ssh agent for authentication 2018-03-17 17:05:34 +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
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
WebFreak001
d39cdc9633 Typescript fixes 2017-07-23 19:57:12 +02: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
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
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
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
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
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
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
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
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
WebFreak001
d8223cebb9 Separated stderr & stdout buffers 2016-03-06 12:17:01 +01:00
WebFreak001
e671d4cba0 Improved error responses 2016-03-06 12:08:57 +01:00