Commit Graph
83 Commits
Author SHA1 Message Date
isidor 6980e4e26e Implement the DAP Invalidate request
fixes #106745
2020-09-21 19:43:08 +02:00
isidor b9750d050e DAP sources are case sensitive on insensitive filesystems
fixes #106382
2020-09-18 13:10:59 +02:00
isidor 9a2a941075 debug: return result of a msg to debug adapter can be undefined 2020-09-10 12:28:56 +02:00
Benjamin Pasero 29ca95b2a2 Hitting a breakpoint doesn't active window (fix #105913) 2020-09-02 14:16:19 +02:00
Connor Peet a288b1f1ea debug: improve language for noDebugAdapter
Fixes #105436
2020-08-31 13:55:53 -07:00
Andre Weinand c233bf87bc add API to access DAP breakpoints; see #99716 2020-08-17 12:30:02 +02:00
isidor e3a0f6a9e3 debug: use cancellation tokens for stackTrace aslo
fixes #103611
2020-08-12 16:48:14 +02:00
Connor Peet 5b5bb81e2c fix: inherit the compound root for all children of debug sessions
Fixes https://github.com/microsoft/vscode/issues/103705
2020-07-31 12:31:44 -07:00
isidor c97058091e If a debug adapter fails to send a terminated event, VS Code should be more resilient
#102037
2020-07-30 15:34:30 +02:00
isidor a301dc553b change noCompress -> compress and make default to not compress sessions in call stack
#101429
2020-07-02 11:37:35 +02:00
isidor 8e40c436dd introduce noCompact flag to DebugSessionOptions
#100852
2020-06-25 10:03:16 +02:00
Connor Peet 84fe6dc3f4 fix: add an option to stopAll in compound launch configs (#98206)
* fix: add an option to stopAll in compound launch configs

* fixup! pr comments
2020-05-20 09:38:48 -07:00
isidor 054c34282e step into targets support
fixes #90793
2020-05-14 12:51:01 +02:00
Connor Peet 120b40270d fixup! pip exception filtering to a helper function 2020-05-12 12:11:46 -07:00
Connor Peet bc0550f5fa debug: filter exceptions from DAP telemetry on web
This change will filter DAP keys beginning with `!` when the remote
authority is "other", which SteVen recommended as a way to tell if we're
on web/codespaces.

Isidor mentioned previously that there was filtering for keys beginning
with an underscore, but this was only applied to some data in error
responses, not general telemetry events. An alternative approach to this
is filtering exceptions based on the environment on the extension side,
but I figured it would be better to have VS Code do that so that we
don't end up with N many possibly deviant sets of environment detection
logic.
2020-05-12 10:12:51 -07:00
isidor 9e7842d91d fixes #97459 2020-05-12 10:39:20 +02:00
isidor 4fee76e61b fixes #97464 2020-05-12 10:34:14 +02:00
isidor 4c1fb1df7a fixes #97110 2020-05-08 12:07:59 +02:00
isidor caa19dc534 debug: use .find not .filter .pop() 2020-05-05 15:35:47 +02:00
isidor b789f6c907 fixes #93592 2020-04-01 18:40:12 +02:00
isidor fa1ff060a7 fixes #93306 2020-03-24 18:12:08 +01:00
isidor 620ac0aebf debug: respect progress update event
#92253
2020-03-19 12:31:53 +01:00
isidor 67432bb17e debug viewlet show progress
fixes #92253
2020-03-18 10:47:20 +01:00
isidor ec2ed03355 debug: expose onDidProgressStart and onDidProgressEvent
#92253
2020-03-17 18:59:34 +01:00
isidor d2d9498c73 debugSession: more precise errors 2020-03-11 13:06:54 +01:00
isidor b7eec61a7c Initialisation state and token should not be shared across sessions
#91969
2020-03-04 12:10:18 +01:00
isidor fed69adea3 debug session: use queue to make sure output messages get processed in correct order
fixes #91416
2020-02-26 15:48:48 +01:00
isidor aeda438ac0 Debug groups: only return if the end event does not have additional output in it 2020-02-21 12:06:31 +01:00
isidor 454fad292f debug: debug console group support
fixes #34981
2020-02-20 16:48:50 +01:00
isidor 9d27bbe7ae fixes #90940 2020-02-19 15:32:10 +01:00
Alex Dima 9714283981 Attempt to fix debug test failures 2020-02-18 09:43:20 +01:00
isidor 1a34450858 debug: make session shutdown private 2020-02-17 16:48:32 +01:00
isidor fc6e8fdac2 fixes #89059 2020-02-05 12:40:32 +01:00
David Lechner 6b7dd54cc0 Fix threads not fetched after restarting debug adapter
A RunOnceScheduler (this.fetchThreadsScheduler) is used to throttle
fetching threads from debug adapters. this.fetchThreadsScheduler is
disposed when a debug adapter is restarted because of:

    this.rawListeners.push(this.fetchThreadsScheduler);

This causes threads to never be fetched after restarting the debug
adapter.

This is fixed by setting this.fetchThreadsScheduler to undefined after
it is disposed. This way, a new RunOnceScheduler is created after
restarting the debug adapter.

Fixes #88784
2020-01-16 10:33:17 -06:00
isidor e0d1731ebb Debug Console: Suggest old expressions from history across sessions
fixes #87129
2019-12-31 16:00:57 +01:00
isidor 3d3a7e22cb fixes #87745 2019-12-27 11:42:46 +01:00
Connor Peet 04ebcec7e1 Merge remote-tracking branch 'origin/master' into process-queue 2019-12-11 11:48:11 -08:00
isidor af864aed2f fixes #84295 2019-11-20 16:05:31 +01:00
isidor fca98f0b58 fixes #82143 2019-10-18 12:17:20 +02:00
isidor 3cc2460c3b debug: more async await 2019-10-14 17:51:00 +02:00
isidor 460ef3a4a6 debug session: more async await 2019-10-14 16:43:14 +02:00
isidor 9b52e74045 remove unused 2019-10-14 11:34:09 +02:00
isidor d17d837007 debug: do not report errors from configurationDone
fixes #82354
2019-10-14 11:07:50 +02:00
isidor 0d895b5bb8 debug: more async await 2019-10-07 16:19:01 +02:00
isidor 5fe0604806 enable strictFunctionTypes
#81574
2019-10-07 13:06:00 +02:00
isidor 888f86f156 null guard 2019-10-02 14:26:22 +02:00
Dmitry Gozman 6c1cebbb24 Fire onDidChangeReplElements directly from ReplModel
This way debug sessions sharing a single repl will all be notified about new
repl elements and UI will be updated.
2019-09-25 12:51:23 -07:00
Isidor Nikolic 220ddd6a83 Merge pull request #81336 from dgozman/link-detector
Improve LinkDetector
2019-09-25 10:28:30 +02:00
Benjamin Pasero e096ce1b68 debt - implement focusWindow() via host 2019-09-25 07:21:05 +02:00
Dmitry Gozman adc58ddb68 Process debug adapter messages in separate tasks 2019-09-24 15:06:20 -07:00