@theia/debug 1.67.0-next.56 → 1.67.0-next.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/browser/breakpoint/breakpoint-manager.d.ts +91 -0
- package/lib/browser/breakpoint/breakpoint-manager.d.ts.map +1 -0
- package/lib/browser/breakpoint/breakpoint-manager.js +367 -0
- package/lib/browser/breakpoint/breakpoint-manager.js.map +1 -0
- package/lib/browser/breakpoint/breakpoint-marker.d.ts +65 -0
- package/lib/browser/breakpoint/breakpoint-marker.d.ts.map +1 -0
- package/lib/browser/breakpoint/breakpoint-marker.js +102 -0
- package/lib/browser/breakpoint/breakpoint-marker.js.map +1 -0
- package/lib/browser/breakpoint/debug-data-breakpoint-actions.d.ts +17 -0
- package/lib/browser/breakpoint/debug-data-breakpoint-actions.d.ts.map +1 -0
- package/lib/browser/breakpoint/debug-data-breakpoint-actions.js +166 -0
- package/lib/browser/breakpoint/debug-data-breakpoint-actions.js.map +1 -0
- package/lib/browser/console/debug-console-contribution.d.ts +45 -0
- package/lib/browser/console/debug-console-contribution.d.ts.map +1 -0
- package/lib/browser/console/debug-console-contribution.js +233 -0
- package/lib/browser/console/debug-console-contribution.js.map +1 -0
- package/lib/browser/console/debug-console-items.d.ts +98 -0
- package/lib/browser/console/debug-console-items.d.ts.map +1 -0
- package/lib/browser/console/debug-console-items.js +346 -0
- package/lib/browser/console/debug-console-items.js.map +1 -0
- package/lib/browser/console/debug-console-session.d.ts +32 -0
- package/lib/browser/console/debug-console-session.d.ts.map +1 -0
- package/lib/browser/console/debug-console-session.js +192 -0
- package/lib/browser/console/debug-console-session.js.map +1 -0
- package/lib/browser/debug-call-stack-item-type-key.d.ts +4 -0
- package/lib/browser/debug-call-stack-item-type-key.d.ts.map +1 -0
- package/lib/browser/debug-call-stack-item-type-key.js +20 -0
- package/lib/browser/debug-call-stack-item-type-key.js.map +1 -0
- package/lib/browser/debug-configuration-manager.d.ts +103 -0
- package/lib/browser/debug-configuration-manager.d.ts.map +1 -0
- package/lib/browser/debug-configuration-manager.js +545 -0
- package/lib/browser/debug-configuration-manager.js.map +1 -0
- package/lib/browser/debug-configuration-model.d.ts +30 -0
- package/lib/browser/debug-configuration-model.d.ts.map +1 -0
- package/lib/browser/debug-configuration-model.js +80 -0
- package/lib/browser/debug-configuration-model.js.map +1 -0
- package/lib/browser/debug-contribution.d.ts +23 -0
- package/lib/browser/debug-contribution.d.ts.map +1 -0
- package/lib/browser/debug-contribution.js +20 -0
- package/lib/browser/debug-contribution.js.map +1 -0
- package/lib/browser/debug-frontend-application-contribution.d.ts +252 -0
- package/lib/browser/debug-frontend-application-contribution.d.ts.map +1 -0
- package/lib/browser/debug-frontend-application-contribution.js +1696 -0
- package/lib/browser/debug-frontend-application-contribution.js.map +1 -0
- package/lib/browser/debug-frontend-module.d.ts +5 -0
- package/lib/browser/debug-frontend-module.d.ts.map +1 -0
- package/lib/browser/debug-frontend-module.js +112 -0
- package/lib/browser/debug-frontend-module.js.map +1 -0
- package/lib/browser/debug-package.spec.d.ts +1 -0
- package/lib/browser/debug-package.spec.d.ts.map +1 -0
- package/lib/browser/debug-package.spec.js +19 -0
- package/lib/browser/debug-package.spec.js.map +1 -0
- package/lib/browser/debug-prefix-configuration.d.ts +52 -0
- package/lib/browser/debug-prefix-configuration.d.ts.map +1 -0
- package/lib/browser/debug-prefix-configuration.js +202 -0
- package/lib/browser/debug-prefix-configuration.js.map +1 -0
- package/lib/browser/debug-resource.d.ts +15 -0
- package/lib/browser/debug-resource.d.ts.map +1 -0
- package/lib/browser/debug-resource.js +58 -0
- package/lib/browser/debug-resource.js.map +1 -0
- package/lib/browser/debug-schema-updater.d.ts +14 -0
- package/lib/browser/debug-schema-updater.d.ts.map +1 -0
- package/lib/browser/debug-schema-updater.js +161 -0
- package/lib/browser/debug-schema-updater.js.map +1 -0
- package/lib/browser/debug-session-configuration-label-provider.d.ts +11 -0
- package/lib/browser/debug-session-configuration-label-provider.d.ts.map +1 -0
- package/lib/browser/debug-session-configuration-label-provider.js +48 -0
- package/lib/browser/debug-session-configuration-label-provider.js.map +1 -0
- package/lib/browser/debug-session-configuration-label-provider.spec.d.ts +2 -0
- package/lib/browser/debug-session-configuration-label-provider.spec.d.ts.map +1 -0
- package/lib/browser/debug-session-configuration-label-provider.spec.js +84 -0
- package/lib/browser/debug-session-configuration-label-provider.spec.js.map +1 -0
- package/lib/browser/debug-session-connection.d.ts +111 -0
- package/lib/browser/debug-session-connection.d.ts.map +1 -0
- package/lib/browser/debug-session-connection.js +259 -0
- package/lib/browser/debug-session-connection.js.map +1 -0
- package/lib/browser/debug-session-contribution.d.ts +77 -0
- package/lib/browser/debug-session-contribution.d.ts.map +1 -0
- package/lib/browser/debug-session-contribution.js +143 -0
- package/lib/browser/debug-session-contribution.js.map +1 -0
- package/lib/browser/debug-session-manager.d.ts +140 -0
- package/lib/browser/debug-session-manager.d.ts.map +1 -0
- package/lib/browser/debug-session-manager.js +637 -0
- package/lib/browser/debug-session-manager.js.map +1 -0
- package/lib/browser/debug-session-options.d.ts +56 -0
- package/lib/browser/debug-session-options.d.ts.map +1 -0
- package/lib/browser/debug-session-options.js +92 -0
- package/lib/browser/debug-session-options.js.map +1 -0
- package/lib/browser/debug-session.d.ts +195 -0
- package/lib/browser/debug-session.d.ts.map +1 -0
- package/lib/browser/debug-session.js +946 -0
- package/lib/browser/debug-session.js.map +1 -0
- package/lib/browser/debug-tab-bar-decorator.d.ts +17 -0
- package/lib/browser/debug-tab-bar-decorator.d.ts.map +1 -0
- package/lib/browser/debug-tab-bar-decorator.js +63 -0
- package/lib/browser/debug-tab-bar-decorator.js.map +1 -0
- package/lib/browser/debug-watch-manager.d.ts +22 -0
- package/lib/browser/debug-watch-manager.d.ts.map +1 -0
- package/lib/browser/debug-watch-manager.js +86 -0
- package/lib/browser/debug-watch-manager.js.map +1 -0
- package/lib/browser/disassembly-view/disassembly-view-accessibility-provider.d.ts +7 -0
- package/lib/browser/disassembly-view/disassembly-view-accessibility-provider.d.ts.map +1 -0
- package/lib/browser/disassembly-view/disassembly-view-accessibility-provider.js +39 -0
- package/lib/browser/disassembly-view/disassembly-view-accessibility-provider.js.map +1 -0
- package/lib/browser/disassembly-view/disassembly-view-breakpoint-renderer.d.ts +20 -0
- package/lib/browser/disassembly-view/disassembly-view-breakpoint-renderer.d.ts.map +1 -0
- package/lib/browser/disassembly-view/disassembly-view-breakpoint-renderer.js +111 -0
- package/lib/browser/disassembly-view/disassembly-view-breakpoint-renderer.js.map +1 -0
- package/lib/browser/disassembly-view/disassembly-view-contribution.d.ts +25 -0
- package/lib/browser/disassembly-view/disassembly-view-contribution.d.ts.map +1 -0
- package/lib/browser/disassembly-view/disassembly-view-contribution.js +124 -0
- package/lib/browser/disassembly-view/disassembly-view-contribution.js.map +1 -0
- package/lib/browser/disassembly-view/disassembly-view-instruction-renderer.d.ts +39 -0
- package/lib/browser/disassembly-view/disassembly-view-instruction-renderer.d.ts.map +1 -0
- package/lib/browser/disassembly-view/disassembly-view-instruction-renderer.js +213 -0
- package/lib/browser/disassembly-view/disassembly-view-instruction-renderer.js.map +1 -0
- package/lib/browser/disassembly-view/disassembly-view-table-delegate.d.ts +16 -0
- package/lib/browser/disassembly-view/disassembly-view-table-delegate.d.ts.map +1 -0
- package/lib/browser/disassembly-view/disassembly-view-table-delegate.js +39 -0
- package/lib/browser/disassembly-view/disassembly-view-table-delegate.js.map +1 -0
- package/lib/browser/disassembly-view/disassembly-view-utilities.d.ts +38 -0
- package/lib/browser/disassembly-view/disassembly-view-utilities.d.ts.map +1 -0
- package/lib/browser/disassembly-view/disassembly-view-utilities.js +18 -0
- package/lib/browser/disassembly-view/disassembly-view-utilities.js.map +1 -0
- package/lib/browser/disassembly-view/disassembly-view-widget.d.ts +61 -0
- package/lib/browser/disassembly-view/disassembly-view-widget.d.ts.map +1 -0
- package/lib/browser/disassembly-view/disassembly-view-widget.js +446 -0
- package/lib/browser/disassembly-view/disassembly-view-widget.js.map +1 -0
- package/lib/browser/editor/debug-breakpoint-widget.d.ts +58 -0
- package/lib/browser/editor/debug-breakpoint-widget.d.ts.map +1 -0
- package/lib/browser/editor/debug-breakpoint-widget.js +270 -0
- package/lib/browser/editor/debug-breakpoint-widget.js.map +1 -0
- package/lib/browser/editor/debug-editor-model.d.ts +87 -0
- package/lib/browser/editor/debug-editor-model.d.ts.map +1 -0
- package/lib/browser/editor/debug-editor-model.js +499 -0
- package/lib/browser/editor/debug-editor-model.js.map +1 -0
- package/lib/browser/editor/debug-editor-service.d.ts +38 -0
- package/lib/browser/editor/debug-editor-service.d.ts.map +1 -0
- package/lib/browser/editor/debug-editor-service.js +183 -0
- package/lib/browser/editor/debug-editor-service.js.map +1 -0
- package/lib/browser/editor/debug-editor.d.ts +4 -0
- package/lib/browser/editor/debug-editor.d.ts.map +1 -0
- package/lib/browser/editor/debug-editor.js +20 -0
- package/lib/browser/editor/debug-editor.js.map +1 -0
- package/lib/browser/editor/debug-exception-widget.d.ts +30 -0
- package/lib/browser/editor/debug-exception-widget.d.ts.map +1 -0
- package/lib/browser/editor/debug-exception-widget.js +107 -0
- package/lib/browser/editor/debug-exception-widget.js.map +1 -0
- package/lib/browser/editor/debug-expression-provider.d.ts +17 -0
- package/lib/browser/editor/debug-expression-provider.d.ts.map +1 -0
- package/lib/browser/editor/debug-expression-provider.js +107 -0
- package/lib/browser/editor/debug-expression-provider.js.map +1 -0
- package/lib/browser/editor/debug-hover-source.d.ts +19 -0
- package/lib/browser/editor/debug-hover-source.d.ts.map +1 -0
- package/lib/browser/editor/debug-hover-source.js +110 -0
- package/lib/browser/editor/debug-hover-source.js.map +1 -0
- package/lib/browser/editor/debug-hover-widget.d.ts +61 -0
- package/lib/browser/editor/debug-hover-widget.d.ts.map +1 -0
- package/lib/browser/editor/debug-hover-widget.js +271 -0
- package/lib/browser/editor/debug-hover-widget.js.map +1 -0
- package/lib/browser/editor/debug-inline-value-decorator.d.ts +20 -0
- package/lib/browser/editor/debug-inline-value-decorator.d.ts.map +1 -0
- package/lib/browser/editor/debug-inline-value-decorator.js +326 -0
- package/lib/browser/editor/debug-inline-value-decorator.js.map +1 -0
- package/lib/browser/model/debug-breakpoint.d.ts +48 -0
- package/lib/browser/model/debug-breakpoint.d.ts.map +1 -0
- package/lib/browser/model/debug-breakpoint.js +111 -0
- package/lib/browser/model/debug-breakpoint.js.map +1 -0
- package/lib/browser/model/debug-data-breakpoint.d.ts +16 -0
- package/lib/browser/model/debug-data-breakpoint.d.ts.map +1 -0
- package/lib/browser/model/debug-data-breakpoint.js +75 -0
- package/lib/browser/model/debug-data-breakpoint.js.map +1 -0
- package/lib/browser/model/debug-function-breakpoint.d.ts +19 -0
- package/lib/browser/model/debug-function-breakpoint.d.ts.map +1 -0
- package/lib/browser/model/debug-function-breakpoint.js +93 -0
- package/lib/browser/model/debug-function-breakpoint.js.map +1 -0
- package/lib/browser/model/debug-instruction-breakpoint.d.ts +15 -0
- package/lib/browser/model/debug-instruction-breakpoint.d.ts.map +1 -0
- package/lib/browser/model/debug-instruction-breakpoint.js +66 -0
- package/lib/browser/model/debug-instruction-breakpoint.js.map +1 -0
- package/lib/browser/model/debug-source-breakpoint.d.ts +39 -0
- package/lib/browser/model/debug-source-breakpoint.d.ts.map +1 -0
- package/lib/browser/model/debug-source-breakpoint.js +219 -0
- package/lib/browser/model/debug-source-breakpoint.js.map +1 -0
- package/lib/browser/model/debug-source.d.ts +25 -0
- package/lib/browser/model/debug-source.d.ts.map +1 -0
- package/lib/browser/model/debug-source.js +81 -0
- package/lib/browser/model/debug-source.js.map +1 -0
- package/lib/browser/model/debug-stack-frame.d.ts +45 -0
- package/lib/browser/model/debug-stack-frame.d.ts.map +1 -0
- package/lib/browser/model/debug-stack-frame.js +157 -0
- package/lib/browser/model/debug-stack-frame.js.map +1 -0
- package/lib/browser/model/debug-thread.d.ts +68 -0
- package/lib/browser/model/debug-thread.d.ts.map +1 -0
- package/lib/browser/model/debug-thread.js +262 -0
- package/lib/browser/model/debug-thread.js.map +1 -0
- package/lib/browser/view/debug-action.d.ts +18 -0
- package/lib/browser/view/debug-action.d.ts.map +1 -0
- package/lib/browser/view/debug-action.js +44 -0
- package/lib/browser/view/debug-action.js.map +1 -0
- package/lib/browser/view/debug-breakpoints-source.d.ts +10 -0
- package/lib/browser/view/debug-breakpoints-source.d.ts.map +1 -0
- package/lib/browser/view/debug-breakpoints-source.js +58 -0
- package/lib/browser/view/debug-breakpoints-source.js.map +1 -0
- package/lib/browser/view/debug-breakpoints-widget.d.ts +23 -0
- package/lib/browser/view/debug-breakpoints-widget.d.ts.map +1 -0
- package/lib/browser/view/debug-breakpoints-widget.js +81 -0
- package/lib/browser/view/debug-breakpoints-widget.js.map +1 -0
- package/lib/browser/view/debug-configuration-select.d.ts +67 -0
- package/lib/browser/view/debug-configuration-select.d.ts.map +1 -0
- package/lib/browser/view/debug-configuration-select.js +212 -0
- package/lib/browser/view/debug-configuration-select.js.map +1 -0
- package/lib/browser/view/debug-configuration-widget.d.ts +33 -0
- package/lib/browser/view/debug-configuration-widget.d.ts.map +1 -0
- package/lib/browser/view/debug-configuration-widget.js +137 -0
- package/lib/browser/view/debug-configuration-widget.js.map +1 -0
- package/lib/browser/view/debug-exception-breakpoint.d.ts +15 -0
- package/lib/browser/view/debug-exception-breakpoint.d.ts.map +1 -0
- package/lib/browser/view/debug-exception-breakpoint.js +62 -0
- package/lib/browser/view/debug-exception-breakpoint.js.map +1 -0
- package/lib/browser/view/debug-session-widget.d.ts +29 -0
- package/lib/browser/view/debug-session-widget.d.ts.map +1 -0
- package/lib/browser/view/debug-session-widget.js +127 -0
- package/lib/browser/view/debug-session-widget.js.map +1 -0
- package/lib/browser/view/debug-stack-frames-source.d.ts +18 -0
- package/lib/browser/view/debug-stack-frames-source.d.ts.map +1 -0
- package/lib/browser/view/debug-stack-frames-source.js +83 -0
- package/lib/browser/view/debug-stack-frames-source.js.map +1 -0
- package/lib/browser/view/debug-stack-frames-widget.d.ts +25 -0
- package/lib/browser/view/debug-stack-frames-widget.d.ts.map +1 -0
- package/lib/browser/view/debug-stack-frames-widget.js +152 -0
- package/lib/browser/view/debug-stack-frames-widget.js.map +1 -0
- package/lib/browser/view/debug-threads-source.d.ts +9 -0
- package/lib/browser/view/debug-threads-source.d.ts.map +1 -0
- package/lib/browser/view/debug-threads-source.js +56 -0
- package/lib/browser/view/debug-threads-source.js.map +1 -0
- package/lib/browser/view/debug-threads-widget.d.ts +27 -0
- package/lib/browser/view/debug-threads-widget.d.ts.map +1 -0
- package/lib/browser/view/debug-threads-widget.js +139 -0
- package/lib/browser/view/debug-threads-widget.js.map +1 -0
- package/lib/browser/view/debug-toolbar-widget.d.ts +34 -0
- package/lib/browser/view/debug-toolbar-widget.d.ts.map +1 -0
- package/lib/browser/view/debug-toolbar-widget.js +139 -0
- package/lib/browser/view/debug-toolbar-widget.js.map +1 -0
- package/lib/browser/view/debug-variables-source.d.ts +10 -0
- package/lib/browser/view/debug-variables-source.d.ts.map +1 -0
- package/lib/browser/view/debug-variables-source.js +53 -0
- package/lib/browser/view/debug-variables-source.js.map +1 -0
- package/lib/browser/view/debug-variables-widget.d.ts +28 -0
- package/lib/browser/view/debug-variables-widget.d.ts.map +1 -0
- package/lib/browser/view/debug-variables-widget.js +152 -0
- package/lib/browser/view/debug-variables-widget.js.map +1 -0
- package/lib/browser/view/debug-view-model.d.ts +55 -0
- package/lib/browser/view/debug-view-model.d.ts.map +1 -0
- package/lib/browser/view/debug-view-model.js +215 -0
- package/lib/browser/view/debug-view-model.js.map +1 -0
- package/lib/browser/view/debug-watch-expression.d.ts +33 -0
- package/lib/browser/view/debug-watch-expression.d.ts.map +1 -0
- package/lib/browser/view/debug-watch-expression.js +93 -0
- package/lib/browser/view/debug-watch-expression.js.map +1 -0
- package/lib/browser/view/debug-watch-source.d.ts +10 -0
- package/lib/browser/view/debug-watch-source.d.ts.map +1 -0
- package/lib/browser/view/debug-watch-source.js +51 -0
- package/lib/browser/view/debug-watch-source.js.map +1 -0
- package/lib/browser/view/debug-watch-widget.d.ts +17 -0
- package/lib/browser/view/debug-watch-widget.d.ts.map +1 -0
- package/lib/browser/view/debug-watch-widget.js +71 -0
- package/lib/browser/view/debug-watch-widget.js.map +1 -0
- package/lib/browser/view/debug-widget.d.ts +24 -0
- package/lib/browser/view/debug-widget.d.ts.map +1 -0
- package/lib/browser/view/debug-widget.js +101 -0
- package/lib/browser/view/debug-widget.js.map +1 -0
- package/lib/common/debug-adapter-contribution-registry.d.ts +60 -0
- package/lib/common/debug-adapter-contribution-registry.d.ts.map +1 -0
- package/lib/common/debug-adapter-contribution-registry.js +205 -0
- package/lib/common/debug-adapter-contribution-registry.js.map +1 -0
- package/lib/common/debug-adapter-session.d.ts +19 -0
- package/lib/common/debug-adapter-session.d.ts.map +1 -0
- package/lib/common/debug-adapter-session.js +79 -0
- package/lib/common/debug-adapter-session.js.map +1 -0
- package/lib/common/debug-common.d.ts +2 -0
- package/lib/common/debug-common.d.ts.map +1 -0
- package/lib/common/debug-common.js +21 -0
- package/lib/common/debug-common.js.map +1 -0
- package/lib/common/debug-compound.d.ts +15 -0
- package/lib/common/debug-compound.d.ts.map +1 -0
- package/lib/common/debug-compound.js +28 -0
- package/lib/common/debug-compound.js.map +1 -0
- package/lib/common/debug-configuration.d.ts +77 -0
- package/lib/common/debug-configuration.d.ts.map +1 -0
- package/lib/common/debug-configuration.js +32 -0
- package/lib/common/debug-configuration.js.map +1 -0
- package/lib/common/debug-model.d.ts +153 -0
- package/lib/common/debug-model.d.ts.map +1 -0
- package/lib/common/debug-model.js +36 -0
- package/lib/common/debug-model.js.map +1 -0
- package/lib/common/debug-preferences.d.ts +18 -0
- package/lib/common/debug-preferences.d.ts.map +1 -0
- package/lib/common/debug-preferences.js +89 -0
- package/lib/common/debug-preferences.js.map +1 -0
- package/lib/common/debug-service.d.ts +124 -0
- package/lib/common/debug-service.d.ts.map +1 -0
- package/lib/common/debug-service.js +67 -0
- package/lib/common/debug-service.js.map +1 -0
- package/lib/common/debug-uri-utils.d.ts +24 -0
- package/lib/common/debug-uri-utils.d.ts.map +1 -0
- package/lib/common/debug-uri-utils.js +27 -0
- package/lib/common/debug-uri-utils.js.map +1 -0
- package/lib/common/inline-debug-adapter.d.ts +19 -0
- package/lib/common/inline-debug-adapter.d.ts.map +1 -0
- package/lib/common/inline-debug-adapter.js +45 -0
- package/lib/common/inline-debug-adapter.js.map +1 -0
- package/lib/common/launch-preferences.d.ts +6 -0
- package/lib/common/launch-preferences.d.ts.map +1 -0
- package/lib/common/launch-preferences.js +37 -0
- package/lib/common/launch-preferences.js.map +1 -0
- package/lib/node/debug-adapter-factory.d.ts +20 -0
- package/lib/node/debug-adapter-factory.d.ts.map +1 -0
- package/lib/node/debug-adapter-factory.js +89 -0
- package/lib/node/debug-adapter-factory.js.map +1 -0
- package/lib/node/debug-adapter-session-manager.d.ts +38 -0
- package/lib/node/debug-adapter-session-manager.d.ts.map +1 -0
- package/lib/node/debug-adapter-session-manager.js +104 -0
- package/lib/node/debug-adapter-session-manager.js.map +1 -0
- package/lib/node/debug-backend-module.d.ts +4 -0
- package/lib/node/debug-backend-module.d.ts.map +1 -0
- package/lib/node/debug-backend-module.js +45 -0
- package/lib/node/debug-backend-module.js.map +1 -0
- package/lib/node/debug-service-impl.d.ts +31 -0
- package/lib/node/debug-service-impl.d.ts.map +1 -0
- package/lib/node/debug-service-impl.js +117 -0
- package/lib/node/debug-service-impl.js.map +1 -0
- package/lib/node/stream-debug-adapter.d.ts +41 -0
- package/lib/node/stream-debug-adapter.d.ts.map +1 -0
- package/lib/node/stream-debug-adapter.js +113 -0
- package/lib/node/stream-debug-adapter.js.map +1 -0
- package/package.json +15 -15
|
@@ -0,0 +1,545 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *****************************************************************************
|
|
3
|
+
// Copyright (C) 2018 Red Hat, Inc. and others.
|
|
4
|
+
//
|
|
5
|
+
// This program and the accompanying materials are made available under the
|
|
6
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
+
//
|
|
9
|
+
// This Source Code may also be made available under the following Secondary
|
|
10
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
+
// with the GNU Classpath Exception which is available at
|
|
13
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
14
|
+
//
|
|
15
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
16
|
+
// *****************************************************************************
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.DebugConfigurationManager = void 0;
|
|
19
|
+
const tslib_1 = require("tslib");
|
|
20
|
+
/*---------------------------------------------------------------------------------------------
|
|
21
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
22
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
23
|
+
*--------------------------------------------------------------------------------------------*/
|
|
24
|
+
const debounce = require("p-debounce");
|
|
25
|
+
const jsonc_parser_1 = require("jsonc-parser");
|
|
26
|
+
const inversify_1 = require("@theia/core/shared/inversify");
|
|
27
|
+
const uri_1 = require("@theia/core/lib/common/uri");
|
|
28
|
+
const event_1 = require("@theia/core/lib/common/event");
|
|
29
|
+
const browser_1 = require("@theia/editor/lib/browser");
|
|
30
|
+
const monaco_editor_1 = require("@theia/monaco/lib/browser/monaco-editor");
|
|
31
|
+
const browser_2 = require("@theia/core/lib/browser");
|
|
32
|
+
const quick_pick_service_1 = require("@theia/core/lib/common/quick-pick-service");
|
|
33
|
+
const workspace_service_1 = require("@theia/workspace/lib/browser/workspace-service");
|
|
34
|
+
const debug_configuration_model_1 = require("./debug-configuration-model");
|
|
35
|
+
const debug_session_options_1 = require("./debug-session-options");
|
|
36
|
+
const debug_service_1 = require("../common/debug-service");
|
|
37
|
+
const context_key_service_1 = require("@theia/core/lib/browser/context-key-service");
|
|
38
|
+
const debug_common_1 = require("../common/debug-common");
|
|
39
|
+
const workspace_variable_contribution_1 = require("@theia/workspace/lib/browser/workspace-variable-contribution");
|
|
40
|
+
const monaco_text_model_service_1 = require("@theia/monaco/lib/browser/monaco-text-model-service");
|
|
41
|
+
const commands_1 = require("@theia/monaco-editor-core/esm/vs/platform/commands/common/commands");
|
|
42
|
+
const standaloneServices_1 = require("@theia/monaco-editor-core/esm/vs/editor/standalone/browser/standaloneServices");
|
|
43
|
+
const core_1 = require("@theia/core");
|
|
44
|
+
let DebugConfigurationManager = class DebugConfigurationManager {
|
|
45
|
+
constructor() {
|
|
46
|
+
this.onDidChangeEmitter = new event_1.Emitter();
|
|
47
|
+
this.onDidChange = this.onDidChangeEmitter.event;
|
|
48
|
+
this.onWillProvideDebugConfigurationEmitter = new event_1.Emitter();
|
|
49
|
+
this.onWillProvideDebugConfiguration = this.onWillProvideDebugConfigurationEmitter.event;
|
|
50
|
+
this.onWillProvideDynamicDebugConfigurationEmitter = new event_1.Emitter();
|
|
51
|
+
this.recentDynamicOptionsTracker = [];
|
|
52
|
+
this.models = new Map();
|
|
53
|
+
this.updateModels = debounce(async () => {
|
|
54
|
+
const roots = await this.workspaceService.roots;
|
|
55
|
+
const toDelete = new Set(this.models.keys());
|
|
56
|
+
for (const rootStat of roots) {
|
|
57
|
+
const key = rootStat.resource.toString();
|
|
58
|
+
toDelete.delete(key);
|
|
59
|
+
if (!this.models.has(key)) {
|
|
60
|
+
const model = new debug_configuration_model_1.DebugConfigurationModel(key, this.preferences);
|
|
61
|
+
model.onDidChange(() => this.updateCurrent());
|
|
62
|
+
model.onDispose(() => this.models.delete(key));
|
|
63
|
+
this.models.set(key, model);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
for (const uri of toDelete) {
|
|
67
|
+
const model = this.models.get(uri);
|
|
68
|
+
if (model) {
|
|
69
|
+
model.dispose();
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
this.updateCurrent();
|
|
73
|
+
}, 500);
|
|
74
|
+
}
|
|
75
|
+
get onWillProvideDynamicDebugConfiguration() {
|
|
76
|
+
return this.onWillProvideDynamicDebugConfigurationEmitter.event;
|
|
77
|
+
}
|
|
78
|
+
get onDidChangeConfigurationProviders() {
|
|
79
|
+
return this.debug.onDidChangeDebugConfigurationProviders;
|
|
80
|
+
}
|
|
81
|
+
init() {
|
|
82
|
+
this.doInit();
|
|
83
|
+
}
|
|
84
|
+
async doInit() {
|
|
85
|
+
this.debugConfigurationTypeKey = this.contextKeyService.createKey('debugConfigurationType', undefined);
|
|
86
|
+
this.initialized = this.preferences.ready.then(() => {
|
|
87
|
+
this.workspaceService.onWorkspaceChanged(this.updateModels);
|
|
88
|
+
this.preferences.onPreferenceChanged(e => {
|
|
89
|
+
if (e.preferenceName === 'launch') {
|
|
90
|
+
this.updateModels();
|
|
91
|
+
}
|
|
92
|
+
});
|
|
93
|
+
return this.updateModels();
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* All _non-dynamic_ debug configurations.
|
|
98
|
+
*/
|
|
99
|
+
get all() {
|
|
100
|
+
return this.getAll();
|
|
101
|
+
}
|
|
102
|
+
*getAll() {
|
|
103
|
+
for (const model of this.models.values()) {
|
|
104
|
+
for (const configuration of model.configurations) {
|
|
105
|
+
yield this.configurationToOptions(configuration, model.workspaceFolderUri);
|
|
106
|
+
}
|
|
107
|
+
for (const compound of model.compounds) {
|
|
108
|
+
yield this.compoundToOptions(compound, model.workspaceFolderUri);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
get supported() {
|
|
113
|
+
return this.getSupported();
|
|
114
|
+
}
|
|
115
|
+
async getSupported() {
|
|
116
|
+
await this.initialized;
|
|
117
|
+
const debugTypes = await this.debug.debugTypes();
|
|
118
|
+
return this.doGetSupported(new Set(debugTypes));
|
|
119
|
+
}
|
|
120
|
+
*doGetSupported(debugTypes) {
|
|
121
|
+
for (const options of this.getAll()) {
|
|
122
|
+
if (options.configuration && debugTypes.has(options.configuration.type)) {
|
|
123
|
+
yield options;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
get current() {
|
|
128
|
+
return this._currentOptions;
|
|
129
|
+
}
|
|
130
|
+
async getSelectedConfiguration() {
|
|
131
|
+
if (!debug_session_options_1.DebugSessionOptions.isDynamic(this._currentOptions)) {
|
|
132
|
+
return this._currentOptions;
|
|
133
|
+
}
|
|
134
|
+
// Refresh a dynamic configuration from the provider.
|
|
135
|
+
// This allow providers to update properties before the execution e.g. program
|
|
136
|
+
const { providerType, workspaceFolderUri, configuration: { name } } = this._currentOptions;
|
|
137
|
+
const configuration = await this.fetchDynamicDebugConfiguration(name, providerType, workspaceFolderUri);
|
|
138
|
+
if (!configuration) {
|
|
139
|
+
const message = core_1.nls.localize('theia/debug/missingConfiguration', "Dynamic configuration '{0}:{1}' is missing or not applicable", providerType, name);
|
|
140
|
+
throw new Error(message);
|
|
141
|
+
}
|
|
142
|
+
return { name, configuration, providerType, workspaceFolderUri };
|
|
143
|
+
}
|
|
144
|
+
set current(option) {
|
|
145
|
+
this.updateCurrent(option);
|
|
146
|
+
this.updateRecentlyUsedDynamicConfigurationOptions(option);
|
|
147
|
+
}
|
|
148
|
+
updateRecentlyUsedDynamicConfigurationOptions(option) {
|
|
149
|
+
if (debug_session_options_1.DebugSessionOptions.isDynamic(option)) {
|
|
150
|
+
// Removing an item already present in the list
|
|
151
|
+
const index = this.recentDynamicOptionsTracker.findIndex(item => this.dynamicOptionsMatch(item, option));
|
|
152
|
+
if (index > -1) {
|
|
153
|
+
this.recentDynamicOptionsTracker.splice(index, 1);
|
|
154
|
+
}
|
|
155
|
+
// Adding new item, most recent at the top of the list
|
|
156
|
+
const recentMax = 3;
|
|
157
|
+
if (this.recentDynamicOptionsTracker.unshift(option) > recentMax) {
|
|
158
|
+
// Keep the latest 3 dynamic configuration options to not clutter the dropdown.
|
|
159
|
+
this.recentDynamicOptionsTracker.splice(recentMax);
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
dynamicOptionsMatch(one, other) {
|
|
164
|
+
return one.providerType !== undefined
|
|
165
|
+
&& one.configuration.name === other.configuration.name
|
|
166
|
+
&& one.providerType === other.providerType
|
|
167
|
+
&& one.workspaceFolderUri === other.workspaceFolderUri;
|
|
168
|
+
}
|
|
169
|
+
get recentDynamicOptions() {
|
|
170
|
+
return this.recentDynamicOptionsTracker;
|
|
171
|
+
}
|
|
172
|
+
updateCurrent(options = this._currentOptions) {
|
|
173
|
+
var _a;
|
|
174
|
+
if (debug_session_options_1.DebugSessionOptions.isCompound(options)) {
|
|
175
|
+
this._currentOptions = options && this.find(options.compound, options.workspaceFolderUri);
|
|
176
|
+
}
|
|
177
|
+
else {
|
|
178
|
+
this._currentOptions = options && this.find(options.configuration, options.workspaceFolderUri, options.providerType);
|
|
179
|
+
}
|
|
180
|
+
if (!this._currentOptions) {
|
|
181
|
+
const model = this.getModel();
|
|
182
|
+
if (model) {
|
|
183
|
+
const configuration = model.configurations[0];
|
|
184
|
+
if (configuration) {
|
|
185
|
+
this._currentOptions = this.configurationToOptions(configuration, model.workspaceFolderUri);
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
this.debugConfigurationTypeKey.set(this.current && ((_a = this.current.configuration) === null || _a === void 0 ? void 0 : _a.type));
|
|
190
|
+
this.onDidChangeEmitter.fire(undefined);
|
|
191
|
+
}
|
|
192
|
+
find(nameOrConfigurationOrCompound, workspaceFolderUri, providerType) {
|
|
193
|
+
if (debug_common_1.DebugConfiguration.is(nameOrConfigurationOrCompound) && providerType) {
|
|
194
|
+
// providerType is only applicable to dynamic debug configurations and may only be created if we have a configuration given
|
|
195
|
+
return this.configurationToOptions(nameOrConfigurationOrCompound, workspaceFolderUri, providerType);
|
|
196
|
+
}
|
|
197
|
+
const name = typeof nameOrConfigurationOrCompound === 'string' ? nameOrConfigurationOrCompound : nameOrConfigurationOrCompound.name;
|
|
198
|
+
const configuration = this.findConfiguration(name, workspaceFolderUri);
|
|
199
|
+
if (configuration) {
|
|
200
|
+
return this.configurationToOptions(configuration, workspaceFolderUri);
|
|
201
|
+
}
|
|
202
|
+
const compound = this.findCompound(name, workspaceFolderUri);
|
|
203
|
+
if (compound) {
|
|
204
|
+
return this.compoundToOptions(compound, workspaceFolderUri);
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
findConfigurations(name, workspaceFolderUri) {
|
|
208
|
+
const matches = [];
|
|
209
|
+
for (const model of this.models.values()) {
|
|
210
|
+
if (model.workspaceFolderUri === workspaceFolderUri) {
|
|
211
|
+
for (const configuration of model.configurations) {
|
|
212
|
+
if (configuration.name === name) {
|
|
213
|
+
matches.push(configuration);
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
return matches;
|
|
219
|
+
}
|
|
220
|
+
findConfiguration(name, workspaceFolderUri) {
|
|
221
|
+
for (const model of this.models.values()) {
|
|
222
|
+
if (model.workspaceFolderUri === workspaceFolderUri) {
|
|
223
|
+
for (const configuration of model.configurations) {
|
|
224
|
+
if (configuration.name === name) {
|
|
225
|
+
return configuration;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
findCompound(name, workspaceFolderUri) {
|
|
232
|
+
for (const model of this.models.values()) {
|
|
233
|
+
if (model.workspaceFolderUri === workspaceFolderUri) {
|
|
234
|
+
for (const compound of model.compounds) {
|
|
235
|
+
if (compound.name === name) {
|
|
236
|
+
return compound;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
async openConfiguration() {
|
|
243
|
+
var _a;
|
|
244
|
+
const currentUri = new uri_1.default((_a = this.current) === null || _a === void 0 ? void 0 : _a.workspaceFolderUri);
|
|
245
|
+
const model = this.getModel(currentUri);
|
|
246
|
+
if (model) {
|
|
247
|
+
await this.doOpen(model);
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
configurationToOptions(configuration, workspaceFolderUri, providerType) {
|
|
251
|
+
return { name: configuration.name, configuration, providerType, workspaceFolderUri };
|
|
252
|
+
}
|
|
253
|
+
compoundToOptions(compound, workspaceFolderUri) {
|
|
254
|
+
return { name: compound.name, compound, workspaceFolderUri };
|
|
255
|
+
}
|
|
256
|
+
async addConfiguration() {
|
|
257
|
+
var _a;
|
|
258
|
+
let rootUri = undefined;
|
|
259
|
+
if (this.workspaceService.saved && this.workspaceService.tryGetRoots().length > 1) {
|
|
260
|
+
rootUri = await this.selectRootUri();
|
|
261
|
+
// Do not continue if the user explicitly does not choose a location.
|
|
262
|
+
if (!rootUri) {
|
|
263
|
+
return;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
const model = this.getModel(rootUri);
|
|
267
|
+
if (!model) {
|
|
268
|
+
return;
|
|
269
|
+
}
|
|
270
|
+
const editor = (_a = monaco_editor_1.MonacoEditor.get(await this.doOpen(model))) === null || _a === void 0 ? void 0 : _a.getControl();
|
|
271
|
+
const editorModel = editor && editor.getModel();
|
|
272
|
+
if (!editorModel) {
|
|
273
|
+
return;
|
|
274
|
+
}
|
|
275
|
+
const commandService = standaloneServices_1.StandaloneServices.get(commands_1.ICommandService);
|
|
276
|
+
let position;
|
|
277
|
+
let depthInArray = 0;
|
|
278
|
+
let lastProperty = '';
|
|
279
|
+
(0, jsonc_parser_1.visit)(editor.getValue(), {
|
|
280
|
+
onObjectProperty: property => {
|
|
281
|
+
lastProperty = property;
|
|
282
|
+
},
|
|
283
|
+
onArrayBegin: offset => {
|
|
284
|
+
if (lastProperty === 'configurations' && depthInArray === 0) {
|
|
285
|
+
position = editorModel.getPositionAt(offset + 1);
|
|
286
|
+
}
|
|
287
|
+
depthInArray++;
|
|
288
|
+
},
|
|
289
|
+
onArrayEnd: () => {
|
|
290
|
+
depthInArray--;
|
|
291
|
+
}
|
|
292
|
+
});
|
|
293
|
+
if (!position) {
|
|
294
|
+
return;
|
|
295
|
+
}
|
|
296
|
+
// Check if there are more characters on a line after a "configurations": [, if yes enter a newline
|
|
297
|
+
if (editorModel.getLineLastNonWhitespaceColumn(position.lineNumber) > position.column) {
|
|
298
|
+
editor.setPosition(position);
|
|
299
|
+
editor.trigger('debug', 'lineBreakInsert', undefined);
|
|
300
|
+
}
|
|
301
|
+
// Check if there is already an empty line to insert suggest, if yes just place the cursor
|
|
302
|
+
if (editorModel.getLineLastNonWhitespaceColumn(position.lineNumber + 1) === 0) {
|
|
303
|
+
editor.setPosition({ lineNumber: position.lineNumber + 1, column: 1 << 30 });
|
|
304
|
+
await commandService.executeCommand('editor.action.deleteLines');
|
|
305
|
+
}
|
|
306
|
+
editor.setPosition(position);
|
|
307
|
+
await commandService.executeCommand('editor.action.insertLineAfter');
|
|
308
|
+
await commandService.executeCommand('editor.action.triggerSuggest');
|
|
309
|
+
}
|
|
310
|
+
async selectRootUri() {
|
|
311
|
+
const workspaceRoots = this.workspaceService.tryGetRoots();
|
|
312
|
+
const items = [];
|
|
313
|
+
for (const workspaceRoot of workspaceRoots) {
|
|
314
|
+
items.push({
|
|
315
|
+
label: this.labelProvider.getName(workspaceRoot.resource),
|
|
316
|
+
description: this.labelProvider.getLongName(workspaceRoot.resource),
|
|
317
|
+
value: workspaceRoot.resource
|
|
318
|
+
});
|
|
319
|
+
}
|
|
320
|
+
const root = await this.quickPickService.show(items, {
|
|
321
|
+
placeholder: core_1.nls.localize('theia/debug/addConfigurationPlaceholder', 'Select workspace root to add configuration to'),
|
|
322
|
+
});
|
|
323
|
+
return root === null || root === void 0 ? void 0 : root.value;
|
|
324
|
+
}
|
|
325
|
+
getModel(uri) {
|
|
326
|
+
const workspaceFolderUri = this.workspaceVariables.getWorkspaceRootUri(uri);
|
|
327
|
+
if (workspaceFolderUri) {
|
|
328
|
+
const key = workspaceFolderUri.toString();
|
|
329
|
+
for (const model of this.models.values()) {
|
|
330
|
+
if (model.workspaceFolderUri === key) {
|
|
331
|
+
return model;
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
for (const model of this.models.values()) {
|
|
336
|
+
if (model.uri) {
|
|
337
|
+
return model;
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
return this.models.values().next().value;
|
|
341
|
+
}
|
|
342
|
+
async doOpen(model) {
|
|
343
|
+
const uri = await this.doCreate(model);
|
|
344
|
+
return this.editorManager.open(uri, {
|
|
345
|
+
mode: 'activate'
|
|
346
|
+
});
|
|
347
|
+
}
|
|
348
|
+
async doCreate(model) {
|
|
349
|
+
var _a;
|
|
350
|
+
const uri = (_a = model.uri) !== null && _a !== void 0 ? _a : this.preferences.getConfigUri(core_1.PreferenceScope.Folder, model.workspaceFolderUri, 'launch');
|
|
351
|
+
if (!uri) { // Since we are requesting information about a known workspace folder, this should never happen.
|
|
352
|
+
throw new Error('PreferenceService.getConfigUri has returned undefined when a URI was expected.');
|
|
353
|
+
}
|
|
354
|
+
const settingsUri = this.preferences.getConfigUri(core_1.PreferenceScope.Folder, model.workspaceFolderUri);
|
|
355
|
+
// Users may have placed their debug configurations in a `settings.json`, in which case we shouldn't modify the file.
|
|
356
|
+
if (settingsUri && !uri.isEqual(settingsUri)) {
|
|
357
|
+
await this.ensureContent(uri, model);
|
|
358
|
+
}
|
|
359
|
+
return uri;
|
|
360
|
+
}
|
|
361
|
+
/**
|
|
362
|
+
* Checks whether a `launch.json` file contains the minimum necessary content.
|
|
363
|
+
* If content not found, provides content and populates the file using Monaco.
|
|
364
|
+
*/
|
|
365
|
+
async ensureContent(uri, model) {
|
|
366
|
+
const textModel = await this.textModelService.createModelReference(uri);
|
|
367
|
+
const currentContent = textModel.object.valid ? textModel.object.getText() : '';
|
|
368
|
+
try { // Look for the minimal well-formed launch.json content: {configurations: []}
|
|
369
|
+
const parsedContent = (0, jsonc_parser_1.parse)(currentContent);
|
|
370
|
+
if (Array.isArray(parsedContent.configurations)) {
|
|
371
|
+
return;
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
catch {
|
|
375
|
+
// Just keep going
|
|
376
|
+
}
|
|
377
|
+
const debugType = await this.selectDebugType();
|
|
378
|
+
const configurations = debugType ? await this.provideDebugConfigurations(debugType, model.workspaceFolderUri) : [];
|
|
379
|
+
const content = this.getInitialConfigurationContent(configurations);
|
|
380
|
+
textModel.object.textEditorModel.setValue(content); // Will clobber anything the user has entered!
|
|
381
|
+
await textModel.object.save();
|
|
382
|
+
}
|
|
383
|
+
async provideDebugConfigurations(debugType, workspaceFolderUri) {
|
|
384
|
+
await this.fireWillProvideDebugConfiguration();
|
|
385
|
+
return this.debug.provideDebugConfigurations(debugType, workspaceFolderUri);
|
|
386
|
+
}
|
|
387
|
+
async fireWillProvideDebugConfiguration() {
|
|
388
|
+
await event_1.WaitUntilEvent.fire(this.onWillProvideDebugConfigurationEmitter, {});
|
|
389
|
+
}
|
|
390
|
+
async provideDynamicDebugConfigurations() {
|
|
391
|
+
await this.fireWillProvideDynamicDebugConfiguration();
|
|
392
|
+
const roots = this.workspaceService.tryGetRoots();
|
|
393
|
+
const promises = roots.map(async (root) => {
|
|
394
|
+
const configsMap = await this.debug.provideDynamicDebugConfigurations(root.resource.toString());
|
|
395
|
+
const optionsMap = Object.fromEntries(Object.entries(configsMap).map(([type, configs]) => {
|
|
396
|
+
const options = configs.map(config => ({
|
|
397
|
+
name: config.name,
|
|
398
|
+
providerType: type,
|
|
399
|
+
configuration: config,
|
|
400
|
+
workspaceFolderUri: root.resource.toString()
|
|
401
|
+
}));
|
|
402
|
+
return [type, options];
|
|
403
|
+
}));
|
|
404
|
+
return optionsMap;
|
|
405
|
+
});
|
|
406
|
+
const typesToOptionsRecords = await Promise.all(promises);
|
|
407
|
+
const consolidatedTypesToOptions = {};
|
|
408
|
+
for (const typesToOptionsInstance of typesToOptionsRecords) {
|
|
409
|
+
for (const [providerType, configurationsOptions] of Object.entries(typesToOptionsInstance)) {
|
|
410
|
+
if (!consolidatedTypesToOptions[providerType]) {
|
|
411
|
+
consolidatedTypesToOptions[providerType] = [];
|
|
412
|
+
}
|
|
413
|
+
consolidatedTypesToOptions[providerType].push(...configurationsOptions);
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
return consolidatedTypesToOptions;
|
|
417
|
+
}
|
|
418
|
+
async fetchDynamicDebugConfiguration(name, type, folder) {
|
|
419
|
+
await this.fireWillProvideDynamicDebugConfiguration();
|
|
420
|
+
return this.debug.fetchDynamicDebugConfiguration(name, type, folder);
|
|
421
|
+
}
|
|
422
|
+
async fireWillProvideDynamicDebugConfiguration() {
|
|
423
|
+
await this.initialized;
|
|
424
|
+
await event_1.WaitUntilEvent.fire(this.onWillProvideDynamicDebugConfigurationEmitter, {});
|
|
425
|
+
}
|
|
426
|
+
getInitialConfigurationContent(initialConfigurations) {
|
|
427
|
+
return `{
|
|
428
|
+
// ${core_1.nls.localizeByDefault('Use IntelliSense to learn about possible attributes.')}
|
|
429
|
+
// ${core_1.nls.localizeByDefault('Hover to view descriptions of existing attributes.')}
|
|
430
|
+
"version": "0.2.0",
|
|
431
|
+
"configurations": ${JSON.stringify(initialConfigurations, undefined, ' ').split('\n').map(line => ' ' + line).join('\n').trim()}
|
|
432
|
+
}
|
|
433
|
+
`;
|
|
434
|
+
}
|
|
435
|
+
async selectDebugType() {
|
|
436
|
+
const widget = this.editorManager.currentEditor;
|
|
437
|
+
if (!widget) {
|
|
438
|
+
return undefined;
|
|
439
|
+
}
|
|
440
|
+
const { languageId } = widget.editor.document;
|
|
441
|
+
const debuggers = await this.debug.getDebuggersForLanguage(languageId);
|
|
442
|
+
if (debuggers.length === 0) {
|
|
443
|
+
return undefined;
|
|
444
|
+
}
|
|
445
|
+
const items = debuggers.map(({ label, type }) => ({ label, value: type }));
|
|
446
|
+
const selectedItem = await this.quickPickService.show(items, { placeholder: core_1.nls.localizeByDefault('Select debugger') });
|
|
447
|
+
return selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.value;
|
|
448
|
+
}
|
|
449
|
+
async load() {
|
|
450
|
+
var _a, _b;
|
|
451
|
+
await this.initialized;
|
|
452
|
+
const data = await this.storage.getData('debug.configurations', {});
|
|
453
|
+
this.resolveRecentDynamicOptionsFromData(data.recentDynamicOptions);
|
|
454
|
+
// Between versions v1.26 and v1.27, the expected format of the data changed so that old stored data
|
|
455
|
+
// may not contain the configuration key.
|
|
456
|
+
if (debug_session_options_1.DebugSessionOptions.isConfiguration(data.current)) {
|
|
457
|
+
// ensure options name is reflected from old configurations data
|
|
458
|
+
data.current.name = (_a = data.current.name) !== null && _a !== void 0 ? _a : (_b = data.current.configuration) === null || _b === void 0 ? void 0 : _b.name;
|
|
459
|
+
this.current = this.find(data.current.configuration, data.current.workspaceFolderUri, data.current.providerType);
|
|
460
|
+
}
|
|
461
|
+
else if (debug_session_options_1.DebugSessionOptions.isCompound(data.current)) {
|
|
462
|
+
this.current = this.find(data.current.name, data.current.workspaceFolderUri);
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
resolveRecentDynamicOptionsFromData(options) {
|
|
466
|
+
if (!options || this.recentDynamicOptionsTracker.length !== 0) {
|
|
467
|
+
return;
|
|
468
|
+
}
|
|
469
|
+
// ensure options name is reflected from old configurations data
|
|
470
|
+
const dynamicOptions = options.map(option => {
|
|
471
|
+
var _a;
|
|
472
|
+
option.name = (_a = option.name) !== null && _a !== void 0 ? _a : option.configuration.name;
|
|
473
|
+
return option;
|
|
474
|
+
}).filter(debug_session_options_1.DebugSessionOptions.isDynamic);
|
|
475
|
+
this.recentDynamicOptionsTracker = dynamicOptions;
|
|
476
|
+
}
|
|
477
|
+
save() {
|
|
478
|
+
const data = {};
|
|
479
|
+
const { current, recentDynamicOptionsTracker } = this;
|
|
480
|
+
if (current) {
|
|
481
|
+
data.current = current;
|
|
482
|
+
}
|
|
483
|
+
if (this.recentDynamicOptionsTracker.length > 0) {
|
|
484
|
+
data.recentDynamicOptions = recentDynamicOptionsTracker;
|
|
485
|
+
}
|
|
486
|
+
if (Object.keys(data).length > 0) {
|
|
487
|
+
this.storage.setData('debug.configurations', data);
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
};
|
|
491
|
+
exports.DebugConfigurationManager = DebugConfigurationManager;
|
|
492
|
+
tslib_1.__decorate([
|
|
493
|
+
(0, inversify_1.inject)(workspace_service_1.WorkspaceService),
|
|
494
|
+
tslib_1.__metadata("design:type", workspace_service_1.WorkspaceService)
|
|
495
|
+
], DebugConfigurationManager.prototype, "workspaceService", void 0);
|
|
496
|
+
tslib_1.__decorate([
|
|
497
|
+
(0, inversify_1.inject)(browser_1.EditorManager),
|
|
498
|
+
tslib_1.__metadata("design:type", browser_1.EditorManager)
|
|
499
|
+
], DebugConfigurationManager.prototype, "editorManager", void 0);
|
|
500
|
+
tslib_1.__decorate([
|
|
501
|
+
(0, inversify_1.inject)(debug_service_1.DebugService),
|
|
502
|
+
tslib_1.__metadata("design:type", Object)
|
|
503
|
+
], DebugConfigurationManager.prototype, "debug", void 0);
|
|
504
|
+
tslib_1.__decorate([
|
|
505
|
+
(0, inversify_1.inject)(quick_pick_service_1.QuickPickService),
|
|
506
|
+
tslib_1.__metadata("design:type", Object)
|
|
507
|
+
], DebugConfigurationManager.prototype, "quickPickService", void 0);
|
|
508
|
+
tslib_1.__decorate([
|
|
509
|
+
(0, inversify_1.inject)(context_key_service_1.ContextKeyService),
|
|
510
|
+
tslib_1.__metadata("design:type", Object)
|
|
511
|
+
], DebugConfigurationManager.prototype, "contextKeyService", void 0);
|
|
512
|
+
tslib_1.__decorate([
|
|
513
|
+
(0, inversify_1.inject)(browser_2.LabelProvider),
|
|
514
|
+
tslib_1.__metadata("design:type", browser_2.LabelProvider)
|
|
515
|
+
], DebugConfigurationManager.prototype, "labelProvider", void 0);
|
|
516
|
+
tslib_1.__decorate([
|
|
517
|
+
(0, inversify_1.inject)(monaco_text_model_service_1.MonacoTextModelService),
|
|
518
|
+
tslib_1.__metadata("design:type", monaco_text_model_service_1.MonacoTextModelService)
|
|
519
|
+
], DebugConfigurationManager.prototype, "textModelService", void 0);
|
|
520
|
+
tslib_1.__decorate([
|
|
521
|
+
(0, inversify_1.inject)(core_1.PreferenceService),
|
|
522
|
+
tslib_1.__metadata("design:type", Object)
|
|
523
|
+
], DebugConfigurationManager.prototype, "preferences", void 0);
|
|
524
|
+
tslib_1.__decorate([
|
|
525
|
+
(0, inversify_1.inject)(core_1.PreferenceConfigurations),
|
|
526
|
+
tslib_1.__metadata("design:type", core_1.PreferenceConfigurations)
|
|
527
|
+
], DebugConfigurationManager.prototype, "preferenceConfigurations", void 0);
|
|
528
|
+
tslib_1.__decorate([
|
|
529
|
+
(0, inversify_1.inject)(workspace_variable_contribution_1.WorkspaceVariableContribution),
|
|
530
|
+
tslib_1.__metadata("design:type", workspace_variable_contribution_1.WorkspaceVariableContribution)
|
|
531
|
+
], DebugConfigurationManager.prototype, "workspaceVariables", void 0);
|
|
532
|
+
tslib_1.__decorate([
|
|
533
|
+
(0, inversify_1.postConstruct)(),
|
|
534
|
+
tslib_1.__metadata("design:type", Function),
|
|
535
|
+
tslib_1.__metadata("design:paramtypes", []),
|
|
536
|
+
tslib_1.__metadata("design:returntype", void 0)
|
|
537
|
+
], DebugConfigurationManager.prototype, "init", null);
|
|
538
|
+
tslib_1.__decorate([
|
|
539
|
+
(0, inversify_1.inject)(browser_2.StorageService),
|
|
540
|
+
tslib_1.__metadata("design:type", Object)
|
|
541
|
+
], DebugConfigurationManager.prototype, "storage", void 0);
|
|
542
|
+
exports.DebugConfigurationManager = DebugConfigurationManager = tslib_1.__decorate([
|
|
543
|
+
(0, inversify_1.injectable)()
|
|
544
|
+
], DebugConfigurationManager);
|
|
545
|
+
//# sourceMappingURL=debug-configuration-manager.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-configuration-manager.js","sourceRoot":"","sources":["../../src/browser/debug-configuration-manager.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,+CAA+C;AAC/C,EAAE;AACF,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,CAAC;YAC/B,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,sBAAsB,EAAE,IAAI,CAAC,CAAC;QACvD,CAAC;IACL,CAAC;CACJ,CAAA;AAthBY,8DAAyB;AAGf;IADlB,IAAA,kBAAM,EAAC,oCAAgB,CAAC;sCACY,oCAAgB;mEAAC;AAEnC;IADlB,IAAA,kBAAM,EAAC,uBAAa,CAAC;sCACY,uBAAa;gEAAC;AAE7B;IADlB,IAAA,kBAAM,EAAC,4BAAY,CAAC;;wDACkB;AAEpB;IADlB,IAAA,kBAAM,EAAC,qCAAgB,CAAC;;mEAC6B;AAGnC;IADlB,IAAA,kBAAM,EAAC,uCAAiB,CAAC;;oEAC8B;AAGrC;IADlB,IAAA,kBAAM,EAAC,uBAAa,CAAC;sCACY,uBAAa;gEAAC;AAG7B;IADlB,IAAA,kBAAM,EAAC,kDAAsB,CAAC;sCACM,kDAAsB;mEAAC;AAGzC;IADlB,IAAA,kBAAM,EAAC,wBAAiB,CAAC;;8DACwB;AAG/B;IADlB,IAAA,kBAAM,EAAC,+BAAwB,CAAC;sCACY,+BAAwB;2EAAC;AAGnD;IADlB,IAAA,kBAAM,EAAC,+DAA6B,CAAC;sCACC,+DAA6B;qEAAC;AAwB3D;IADT,IAAA,yBAAa,GAAE;;;;qDAGf;AAmbkB;IADlB,IAAA,kBAAM,EAAC,wBAAc,CAAC;;0DACoB;oCAxelC,yBAAyB;IADrC,IAAA,sBAAU,GAAE;GACA,yBAAyB,CAshBrC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import URI from '@theia/core/lib/common/uri';
|
|
2
|
+
import { Emitter, Event } from '@theia/core/lib/common/event';
|
|
3
|
+
import { Disposable, DisposableCollection } from '@theia/core/lib/common/disposable';
|
|
4
|
+
import { DebugConfiguration } from '../common/debug-common';
|
|
5
|
+
import { DebugCompound } from '../common/debug-compound';
|
|
6
|
+
import { PreferenceService } from '@theia/core/lib/common';
|
|
7
|
+
export declare class DebugConfigurationModel implements Disposable {
|
|
8
|
+
readonly workspaceFolderUri: string;
|
|
9
|
+
protected readonly preferences: PreferenceService;
|
|
10
|
+
protected json: DebugConfigurationModel.JsonContent;
|
|
11
|
+
protected readonly onDidChangeEmitter: Emitter<void>;
|
|
12
|
+
readonly onDidChange: Event<void>;
|
|
13
|
+
protected readonly toDispose: DisposableCollection;
|
|
14
|
+
constructor(workspaceFolderUri: string, preferences: PreferenceService);
|
|
15
|
+
get uri(): URI | undefined;
|
|
16
|
+
dispose(): void;
|
|
17
|
+
get onDispose(): Event<void>;
|
|
18
|
+
get configurations(): DebugConfiguration[];
|
|
19
|
+
get compounds(): DebugCompound[];
|
|
20
|
+
reconcile(): Promise<void>;
|
|
21
|
+
protected parseConfigurations(): DebugConfigurationModel.JsonContent;
|
|
22
|
+
}
|
|
23
|
+
export declare namespace DebugConfigurationModel {
|
|
24
|
+
interface JsonContent {
|
|
25
|
+
uri?: URI;
|
|
26
|
+
configurations: DebugConfiguration[];
|
|
27
|
+
compounds: DebugCompound[];
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=debug-configuration-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-configuration-model.d.ts","sourceRoot":"","sources":["../../src/browser/debug-configuration-model.ts"],"names":[],"mappings":"AAgBA,OAAO,GAAG,MAAM,4BAA4B,CAAC;AAC7C,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AACrF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAY,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAErE,qBAAa,uBAAwB,YAAW,UAAU;IAYlD,QAAQ,CAAC,kBAAkB,EAAE,MAAM;IACnC,SAA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