Commit Graph
61 Commits
Author SHA1 Message Date
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
Dmitry Gozman 367a5a0c59 Improve LinkDetector
- recognizes web urls;
- checks that file path exists;
- supports relative to workspace root paths (./foo);
- supports relative to home dir paths (~/foo);
- optional line/column;
- smoke test.
2019-09-24 13:19:52 -07:00
isidor 86f66d6c81 Breakpoint supported should live on SessionData in the breakpoint
fixes #81303
2019-09-23 16:26:08 +02:00
isidor 1c4c8ceb93 breakpoints: bound in some process
fixes #55106
2019-09-20 12:59:30 +02:00
Dmitry Gozman e4d4b43f35 Allow debug session to share repl with its parent; fixes #62419
Introduced DebugSessionOptions passed to debug.startDebugging which
encapsulated DebugConsoleMode to control this behavior.
2019-09-18 11:45:39 -07:00
isidor 7f182c40a9 debug brekpoints: polish inline breakpoint decorations 2019-09-18 12:34:26 +02:00
Benjamin Pasero a62c6ee148 debt - add openExtensionDevelopmentHostWindow into IExtensionHostDebugService 2019-09-17 18:34:57 +02:00
isidor 50a0bd9eaa debug session: add breakpointLocations 2019-09-17 16:10:24 +02:00
Benjamin Pasero fd32392699 debt - common/product => common/productService 2019-09-16 11:31:22 +02:00
isidor 64980ea1f3 debug: better cancelation support
fixes #80374
2019-09-13 13:02:09 +02:00
Andre Weinand 6382786743 Merge branch 'master' into for-79228 2019-09-12 16:49:16 +02:00
isidor e490d7cf56 rawDebugSession implements IDisposable 2019-09-12 16:37:46 +02:00
Dmitry Gozman e3cb356aac Make DebugSession.loadSource work for non-caches sources, see #79228
When source with passed uri has not been seen before, and didn't end up DebugSession.sources map,
existing code throws an exception by constructing an invalid uri. Using Source.getEncodedDebugData helps.
2019-09-10 13:39:11 -07:00
Dmitry Gozman 3bcaff85f0 Separate REPL evaluation from it's result; fixes #79196
REPL now has two elements: one for the evaluation text added immediately (ReplEvaluationInput),
and another for the evaluation result once available (ReplEvaluationResult).
2019-09-09 10:53:46 -07:00
isidor 800fdbc11e repl: no neet to focusStackFrame when repl expression is added 2019-09-06 17:27:51 +02:00
Isidor Nikolic 97a05cec1b Merge pull request #80122 from dgozman/fix-79583
Make DebugSession.name writable; fixes #79583
2019-09-05 11:30:30 +02:00
Dmitry Gozman cb6b17d6f3 Make DebugSession.name writable; fixes #79583 2019-09-04 15:06:26 -07:00
Dmitry Gozman 54b3b7f039 fixes #80014 2019-08-30 08:23:16 -07:00
isidor e1f96ca53f debug: refresh variables when selection added to repl
fixes #78299
2019-08-20 15:35:23 +02:00
isidor 606987ec3d debugSession: respect sortText
fixes #78408
2019-08-20 12:35:55 +02:00
Benjamin Pasero b0d58e4fe6 debt - prefer opener service over window.open(). Block window.open() 2019-08-20 11:29:03 +02:00
isidor a7cc79a554 debug: introduce data breakpoints 2019-08-16 17:16:46 +02:00
Sandeep Somavarapu 8095541d7d inline product configuration in produt service 2019-08-15 16:08:11 +02:00