Commit Graph

74 Commits

Author SHA1 Message Date
isidor d178b14151 debug: getDebugProtocolBreakpoint: make sure to use the breakpoint id
#99716
2020-08-17 15:48:21 +02:00
Andre Weinand c233bf87bc add API to access DAP breakpoints; see #99716 2020-08-17 12:30:02 +02:00
isidor c6c9d5b41f debug: more precise computatino of top stack frame call stack decoration 2020-08-12 17:13:33 +02:00
isidor e3a0f6a9e3 debug: use cancellation tokens for stackTrace aslo
fixes #103611
2020-08-12 16:48:14 +02:00
Connor Peet e74ecc9bb1 debug: fix breakpoints set during a session from being persisted
Fxies https://github.com/microsoft/vscode/issues/103111
2020-07-22 15:14:26 -07:00
isidor 18fc2bcf71 variables view: improvements to view state preservation
#93230
2020-06-11 12:21:51 +02:00
isidor ff39ebfaaf debug: move getSpecificSourceName to a helper method 2020-05-06 12:09:02 +02:00
isidor 15e13c94c8 fixes #96987 2020-05-05 17:04:32 +02:00
isidor caa19dc534 debug: use .find not .filter .pop() 2020-05-05 15:35:47 +02:00
isidor bf77670cd7 debug: fix stackFrame equality matching
fixes microsoft/vscode-js-debug#455
2020-05-05 12:47:55 +02:00
isidor 182c1f7cf0 debug: introduce debugStorage to simplify debugService.ts 2020-05-05 11:42:04 +02:00
isidor c033ceaa24 debug: smarter scope id computation so expansion state is more preserved. Also if all collapsed, expand first non expensive scope
fixes #93230
2020-03-24 18:59:38 +01:00
Connor Peet c3a5ad4f73 fixup! pr comments 2020-03-10 11:21:40 -07:00
Connor Peet b737cc0861 debug: show errros from scopes request 2020-03-10 08:41:32 -07:00
Benjamin Pasero 418d1974ca Workbench editor renames (#91943)
* IEditor => IEditorPane

* More panes:
* IVisibleEditor => IVisibleEditorPane
* ITextEditor => ITextEditorPane
* ITextDiffEditor => ITextDiffEditorPane

* imports - remove type alias

* More pane renames
* IEditorService#activeControl => activeEditorPane
* IEditorService#visibleControls => visibleEditorPanes

* More editor renames
* activeTextEditorWidget => activeTextEditorControl
* visibleTextEditorWidgets => visibleTextEditorControls
2020-03-03 10:47:50 +01:00
isidor 1a34450858 debug: make session shutdown private 2020-02-17 16:48:32 +01:00
isidor 40d9559590 Breakpoints allow to move to different sources on update
fixes #89756
2020-02-07 16:17:29 +01:00
isidor df419967a6 debug: unit tests 2020-01-07 12:22:39 +01:00
isidor eef751dde2 debug: fix adding to watch 2019-12-24 15:06:07 +01:00
isidor a1875d15c8 fixes #87605 2019-12-24 11:01:26 +01:00
isidor d42882c226 fixes #87235 2019-12-18 15:59:15 +01:00
Isidor Nikolic 0e65159814 Merge pull request #85842 from gjsjohnmurray/fix-85645
#85645 display Variables fetch failure message
2019-12-11 11:43:20 +01:00
isidor 08b0a9bc59 Persisted data breakpoints are not registered when starting a new debug session
fixes #83743
2019-12-06 10:40:48 +01:00
gjsjohnmurray 150f3b5c93 Change as suggested by @isidorn 2019-12-05 12:27:10 +00:00
gjsjohnmurray 4be22b8101 Merge branch 'master' of https://github.com/microsoft/vscode into fix-85645 2019-12-05 11:38:49 +00:00
isidor 3e27bb06a3 Errors from evaluateRequest should be red in the debug console
fixes #83668
2019-12-02 15:35:04 +01:00
gjsjohnmurray 2d33ccfff6 #85645 display Variables fetch failure message 2019-11-29 21:54:58 +00:00
isidor 4766da6cde fixes #85514 2019-11-27 11:00:18 +01:00
isidor 0c2f93d927 Some strict property init #81574 2019-11-15 11:37:37 +01:00
isidor f54691d1b3 debug: enabling breakpoints should set them to activated
fixes #83323
2019-11-11 15:43:47 +01:00
isidor 3fc780dc7c debug more async/await 2019-10-16 11:27:35 +02:00
isidor a9f66e01a1 debug more asyn await 2019-10-15 16:25:47 +02:00
isidor 3cc2460c3b debug: more async await 2019-10-14 17:51:00 +02:00
Matt Bierner b0dccbcf75 Marking a bunch of static variables as readonly
Readonly helps out with TS's type guards and is also a good best practice. Specifically, readonly strings/numbers have their literal type instead of a generic `string` | `number` type, which can help catch dead code and some common programming mistakes
2019-10-07 15:40:02 -07:00
isidor 5847d75aad fixes #81879 2019-10-07 14:35:14 +02: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 b590547d8a debug: more async and polish 2019-09-20 16:14:07 +02:00
isidor 1c4c8ceb93 breakpoints: bound in some process
fixes #55106
2019-09-20 12:59:30 +02:00
isidor 64980ea1f3 debug: better cancelation support
fixes #80374
2019-09-13 13:02:09 +02:00
isidor b5b8c4d716 fixes #80452 2019-09-11 17:59:11 +02: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 4d2b972e11 debug: reduce call stack flickering if bottom of call stack did not change 2019-09-06 16:52:09 +02:00
Dmitry Gozman 54b3b7f039 fixes #80014 2019-08-30 08:23:16 -07:00
isidor 20e24e879a debug: do not store breakpoints activated, it should only be a temporarty state 2019-08-28 17:32:55 +02:00
isidor 44fa853c32 fixes #79923 2019-08-28 17:01:01 +02:00
isidor a7cc79a554 debug: introduce data breakpoints 2019-08-16 17:16:46 +02:00
isidor f6484fd347 debug: prevent expression.value being undefined
fixes #79169
2019-08-15 12:52:35 +02:00
isidor 6981de9dee strictPropertyInitialization
#78168
2019-08-05 18:00:22 +02:00
isidor d6b3a85bd8 fixes #75359 2019-06-18 13:01:49 +02:00