Simon Marchi
bed8853f45
tslint: Enable typedef-whitespace
2018-07-18 11:26:32 -04:00
Simon Marchi
6e6899a231
tslint: Enable variable-name
2018-07-18 11:25:41 -04:00
Simon Marchi
7c76de4536
tslint: Enable whitespace
2018-07-18 11:23:30 -04:00
Simon Marchi
ec95d4a433
tslint: Enable one-line
...
I'm not sure what is your preference here, but I've seen both styles:
} else {
and
{
else {
I think it would be nice to have a consistent style, and the former is
more common.
2018-07-18 11:18:55 -04:00
Simon Marchi
dd24a05670
tslint: Enable whitespace
2018-07-18 11:16:22 -04:00
Simon Marchi
f6f071ccb8
tslint: Enable semicolon
...
Not really necessary, but it's nice if code is consistently formatted.
2018-07-18 11:14:39 -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
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
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
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
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
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
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
WebFreak001
35afccfd77
Added LLDB support ( fix #39 )
2016-03-06 12:02:11 +01:00
WebFreak001
1b7dba5a50
Fixed breakpoints on fast starting executables & fixed loading circle
2016-02-27 19:36:43 +01:00
WebFreak001
e7b3389f4b
Add warning on ssh terminal
2016-02-23 17:38:38 +01:00
WebFreak001
30731c2ba1
Added support to run process in a separate console ( fix #28 )
2016-02-23 17:26:12 +01:00
WebFreak001
cb9e36d6db
Added support for program arguments ( fix #27 )
2016-02-23 15:33:03 +01:00