@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,93 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *****************************************************************************
|
|
3
|
+
// Copyright (C) 2019 TypeFox 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.DebugWatchExpression = void 0;
|
|
19
|
+
const React = require("@theia/core/shared/react");
|
|
20
|
+
const dialogs_1 = require("@theia/core/lib/browser/dialogs");
|
|
21
|
+
const debug_console_items_1 = require("../console/debug-console-items");
|
|
22
|
+
const browser_1 = require("@theia/core/lib/browser");
|
|
23
|
+
const core_1 = require("@theia/core");
|
|
24
|
+
class DebugWatchExpression extends debug_console_items_1.ExpressionItem {
|
|
25
|
+
constructor(options) {
|
|
26
|
+
super(options.expression, options.session);
|
|
27
|
+
this.options = options;
|
|
28
|
+
this.setValueRef = (valueRef) => this.valueRef = valueRef || undefined;
|
|
29
|
+
this.id = options.id;
|
|
30
|
+
}
|
|
31
|
+
async evaluate() {
|
|
32
|
+
await super.evaluate('watch');
|
|
33
|
+
}
|
|
34
|
+
setResult(body, error) {
|
|
35
|
+
const session = this.options.session();
|
|
36
|
+
this.isNotAvailable = false;
|
|
37
|
+
this.isError = false;
|
|
38
|
+
// not available must be set regardless of the session's availability.
|
|
39
|
+
// not available is used when there is no session or the current stack frame is not available.
|
|
40
|
+
if (error === debug_console_items_1.ExpressionItem.notAvailable) {
|
|
41
|
+
super.setResult(undefined, error);
|
|
42
|
+
this.isNotAvailable = true;
|
|
43
|
+
}
|
|
44
|
+
else if (session) {
|
|
45
|
+
super.setResult(body, error);
|
|
46
|
+
this.isError = !!error;
|
|
47
|
+
}
|
|
48
|
+
this.options.onDidChange();
|
|
49
|
+
}
|
|
50
|
+
render() {
|
|
51
|
+
const valueClass = this.valueClass();
|
|
52
|
+
return React.createElement("div", { className: 'theia-debug-console-variable theia-debug-watch-expression' },
|
|
53
|
+
React.createElement("div", { className: browser_1.TREE_NODE_SEGMENT_GROW_CLASS },
|
|
54
|
+
React.createElement("span", { title: this.type || this._expression, className: 'name' },
|
|
55
|
+
this._expression,
|
|
56
|
+
": "),
|
|
57
|
+
React.createElement("span", { title: this._value, ref: this.setValueRef, className: valueClass }, this._value)),
|
|
58
|
+
React.createElement("div", { className: (0, browser_1.codicon)('close', true), title: core_1.nls.localizeByDefault('Remove Expression'), onClick: this.options.remove }));
|
|
59
|
+
}
|
|
60
|
+
valueClass() {
|
|
61
|
+
if (this.isError) {
|
|
62
|
+
return 'watch-error';
|
|
63
|
+
}
|
|
64
|
+
if (this.isNotAvailable) {
|
|
65
|
+
return 'watch-not-available';
|
|
66
|
+
}
|
|
67
|
+
return '';
|
|
68
|
+
}
|
|
69
|
+
async open() {
|
|
70
|
+
const input = new dialogs_1.SingleTextInputDialog({
|
|
71
|
+
title: core_1.nls.localizeByDefault('Edit Expression'),
|
|
72
|
+
initialValue: this.expression,
|
|
73
|
+
placeholder: core_1.nls.localizeByDefault('Expression to watch')
|
|
74
|
+
});
|
|
75
|
+
const newValue = await input.open();
|
|
76
|
+
if (newValue !== undefined) {
|
|
77
|
+
this._expression = newValue;
|
|
78
|
+
await this.evaluate();
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
get supportCopyValue() {
|
|
82
|
+
return !!this.valueRef && document.queryCommandSupported('copy');
|
|
83
|
+
}
|
|
84
|
+
copyValue() {
|
|
85
|
+
const selection = document.getSelection();
|
|
86
|
+
if (this.valueRef && selection) {
|
|
87
|
+
selection.selectAllChildren(this.valueRef);
|
|
88
|
+
document.execCommand('copy');
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
exports.DebugWatchExpression = DebugWatchExpression;
|
|
93
|
+
//# sourceMappingURL=debug-watch-expression.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-watch-expression.js","sourceRoot":"","sources":["../../../src/browser/view/debug-watch-expression.tsx"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;AAEhF,kDAAkD;AAClD,6DAAwE;AACxE,wEAAsF;AAEtF,qDAAgF;AAChF,sCAAkC;AAElC,MAAa,oBAAqB,SAAQ,oCAAc;IAMpD,YAA+B,OAM9B;QACG,KAAK,CAAC,OAAO,CAAC,UAAU,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;QAPhB,YAAO,GAAP,OAAO,CAMrC;QAuES,gBAAW,GAAG,CAAC,QAAgC,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,GAAG,QAAQ,IAAI,SAAS,CAAC;QArEhG,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;IACzB,CAAC;IAEQ,KAAK,CAAC,QAAQ;QACnB,MAAM,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;IAClC,CAAC;IAEkB,SAAS,CAAC,IAA6C,EAAE,KAAc;QACtF,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC;QACvC,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC;QAC5B,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;QAErB,sEAAsE;QACtE,8FAA8F;QAC9F,IAAI,KAAK,KAAK,oCAAc,CAAC,YAAY,EAAE,CAAC;YACxC,KAAK,CAAC,SAAS,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;YAClC,I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AAC,UAAU;YAC7B,WAAW,EAAE,UAAG,CAAC,iBAAiB,CAAC,qBAAqB,CAAC;SAC5D,CAAC,CAAC;QACH,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,IAAI,EAAE,CAAC;QACpC,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;YACzB,IAAI,CAAC,WAAW,GAAG,QAAQ,CAAC;YAC5B,MAAM,IAAI,CAAC,QAAQ,EAAE,CAAC;QAC1B,CAAC;IACL,CAAC;IAED,IAAI,gBAAgB;QAChB,OAAO,CAAC,CAAC,IAAI,CAAC,QAAQ,IAAI,QAAQ,CAAC,qBAAqB,CAAC,MAAM,CAAC,CAAC;IACrE,CAAC;IACD,SAAS;QACL,MAAM,SAAS,GAAG,QAAQ,CAAC,YAAY,EAAE,CAAC;QAC1C,IAAI,IAAI,CAAC,QAAQ,IAAI,SAAS,EAAE,CAAC;YAC7B,SAAS,CAAC,iBAAiB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YAC3C,QAAQ,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;QACjC,CAAC;IACL,CAAC;CAIJ;AArFD,oDAqFC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TreeSource } from '@theia/core/lib/browser/source-tree';
|
|
2
|
+
import { DebugViewModel } from './debug-view-model';
|
|
3
|
+
import { DebugWatchExpression } from './debug-watch-expression';
|
|
4
|
+
export declare class DebugWatchSource extends TreeSource {
|
|
5
|
+
protected readonly model: DebugViewModel;
|
|
6
|
+
protected init(): void;
|
|
7
|
+
protected readonly refresh: () => Promise<void>;
|
|
8
|
+
getElements(): Promise<IterableIterator<DebugWatchExpression>>;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=debug-watch-source.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-watch-source.d.ts","sourceRoot":"","sources":["../../../src/browser/view/debug-watch-source.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AACjE,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAGhE,qBACa,gBAAiB,SAAQ,UAAU;IAG5C,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAE,cAAc,CAAC;IAGzC,SAAS,CAAC,IAAI,IAAI,IAAI;IAKtB,SAAS,CAAC,QAAQ,CAAC,OAAO,sBAA6C;IAEjE,WAAW,IAAI,OAAO,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,CAAC;CAIvE"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *****************************************************************************
|
|
3
|
+
// Copyright (C) 2019 TypeFox 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.DebugWatchSource = void 0;
|
|
19
|
+
const tslib_1 = require("tslib");
|
|
20
|
+
const inversify_1 = require("@theia/core/shared/inversify");
|
|
21
|
+
const source_tree_1 = require("@theia/core/lib/browser/source-tree");
|
|
22
|
+
const debug_view_model_1 = require("./debug-view-model");
|
|
23
|
+
const debounce = require("p-debounce");
|
|
24
|
+
let DebugWatchSource = class DebugWatchSource extends source_tree_1.TreeSource {
|
|
25
|
+
constructor() {
|
|
26
|
+
super(...arguments);
|
|
27
|
+
this.refresh = debounce(() => this.fireDidChange(), 100);
|
|
28
|
+
}
|
|
29
|
+
init() {
|
|
30
|
+
this.refresh();
|
|
31
|
+
this.toDispose.push(this.model.onDidChangeWatchExpressions(() => this.refresh()));
|
|
32
|
+
}
|
|
33
|
+
async getElements() {
|
|
34
|
+
return this.model.watchExpressions[Symbol.iterator]();
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
exports.DebugWatchSource = DebugWatchSource;
|
|
38
|
+
tslib_1.__decorate([
|
|
39
|
+
(0, inversify_1.inject)(debug_view_model_1.DebugViewModel),
|
|
40
|
+
tslib_1.__metadata("design:type", debug_view_model_1.DebugViewModel)
|
|
41
|
+
], DebugWatchSource.prototype, "model", void 0);
|
|
42
|
+
tslib_1.__decorate([
|
|
43
|
+
(0, inversify_1.postConstruct)(),
|
|
44
|
+
tslib_1.__metadata("design:type", Function),
|
|
45
|
+
tslib_1.__metadata("design:paramtypes", []),
|
|
46
|
+
tslib_1.__metadata("design:returntype", void 0)
|
|
47
|
+
], DebugWatchSource.prototype, "init", null);
|
|
48
|
+
exports.DebugWatchSource = DebugWatchSource = tslib_1.__decorate([
|
|
49
|
+
(0, inversify_1.injectable)()
|
|
50
|
+
], DebugWatchSource);
|
|
51
|
+
//# sourceMappingURL=debug-watch-source.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-watch-source.js","sourceRoot":"","sources":["../../../src/browser/view/debug-watch-source.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;AAEhF,4DAAiF;AACjF,qEAAiE;AACjE,yDAAoD;AAEpD,uCAAwC;AAGjC,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,wBAAU;IAAzC;;QAWgB,YAAO,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,aAAa,EAAE,EAAE,GAAG,CAAC,CAAC;IAM3E,CAAC;IAXa,IAAI;QACV,IAAI,CAAC,OAAO,EAAE,CAAC;QACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,2BAA2B,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC;IACtF,CAAC;IAID,KAAK,CAAC,WAAW;QACb,OAAO,IAAI,CAAC,KAAK,CAAC,gBAAgB,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC;IAC1D,CAAC;CAEJ,CAAA;AAjBY,4CAAgB;AAGN;IADlB,IAAA,kBAAM,EAAC,iCAAc,CAAC;sCACG,iCAAc;+CAAC;AAG/B;IADT,IAAA,yBAAa,GAAE;;;;4CAIf;2BATQ,gBAAgB;IAD5B,IAAA,sBAAU,GAAE;GACA,gBAAgB,CAiB5B"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { interfaces, Container } from '@theia/core/shared/inversify';
|
|
2
|
+
import { MenuPath } from '@theia/core/lib/common';
|
|
3
|
+
import { SourceTreeWidget } from '@theia/core/lib/browser/source-tree';
|
|
4
|
+
import { DebugWatchSource } from './debug-watch-source';
|
|
5
|
+
import { DebugViewModel } from './debug-view-model';
|
|
6
|
+
export declare class DebugWatchWidget extends SourceTreeWidget {
|
|
7
|
+
static CONTEXT_MENU: MenuPath;
|
|
8
|
+
static EDIT_MENU: string[];
|
|
9
|
+
static REMOVE_MENU: string[];
|
|
10
|
+
static FACTORY_ID: string;
|
|
11
|
+
static createContainer(parent: interfaces.Container): Container;
|
|
12
|
+
static createWidget(parent: interfaces.Container): DebugWatchWidget;
|
|
13
|
+
readonly viewModel: DebugViewModel;
|
|
14
|
+
protected readonly variables: DebugWatchSource;
|
|
15
|
+
protected init(): void;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=debug-watch-widget.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-watch-widget.d.ts","sourceRoot":"","sources":["../../../src/browser/view/debug-watch-widget.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAqC,UAAU,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACxG,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AACvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAGpD,qBACa,gBAAiB,SAAQ,gBAAgB;IAElD,MAAM,CAAC,YAAY,EAAE,QAAQ,CAAgC;IAC7D,MAAM,CAAC,SAAS,WAAgD;IAChE,MAAM,CAAC,WAAW,WAAkD;IACpE,MAAM,CAAC,UAAU,SAAiB;WAClB,eAAe,CAAC,MAAM,EAAE,UAAU,CAAC,SAAS,GAAG,SAAS;IAWxE,MAAM,CAAC,YAAY,CAAC,MAAM,EAAE,UAAU,CAAC,SAAS,GAAG,gBAAgB;IAKnE,QAAQ,CAAC,SAAS,EAAE,cAAc,CAAC;IAGnC,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,gBAAgB,CAAC;cAG5B,IAAI,IAAI,IAAI;CAQlC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *****************************************************************************
|
|
3
|
+
// Copyright (C) 2019 TypeFox 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
|
+
var DebugWatchWidget_1;
|
|
18
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
+
exports.DebugWatchWidget = void 0;
|
|
20
|
+
const tslib_1 = require("tslib");
|
|
21
|
+
const inversify_1 = require("@theia/core/shared/inversify");
|
|
22
|
+
const source_tree_1 = require("@theia/core/lib/browser/source-tree");
|
|
23
|
+
const debug_watch_source_1 = require("./debug-watch-source");
|
|
24
|
+
const debug_view_model_1 = require("./debug-view-model");
|
|
25
|
+
const nls_1 = require("@theia/core/lib/common/nls");
|
|
26
|
+
let DebugWatchWidget = DebugWatchWidget_1 = class DebugWatchWidget extends source_tree_1.SourceTreeWidget {
|
|
27
|
+
static createContainer(parent) {
|
|
28
|
+
const child = source_tree_1.SourceTreeWidget.createContainer(parent, {
|
|
29
|
+
contextMenuPath: DebugWatchWidget_1.CONTEXT_MENU,
|
|
30
|
+
virtualized: false,
|
|
31
|
+
scrollIfActive: true
|
|
32
|
+
});
|
|
33
|
+
child.bind(debug_watch_source_1.DebugWatchSource).toSelf();
|
|
34
|
+
child.unbind(source_tree_1.SourceTreeWidget);
|
|
35
|
+
child.bind(DebugWatchWidget_1).toSelf();
|
|
36
|
+
return child;
|
|
37
|
+
}
|
|
38
|
+
static createWidget(parent) {
|
|
39
|
+
return DebugWatchWidget_1.createContainer(parent).get(DebugWatchWidget_1);
|
|
40
|
+
}
|
|
41
|
+
init() {
|
|
42
|
+
super.init();
|
|
43
|
+
this.id = DebugWatchWidget_1.FACTORY_ID + ':' + this.viewModel.id;
|
|
44
|
+
this.title.label = nls_1.nls.localizeByDefault('Watch');
|
|
45
|
+
this.toDispose.push(this.variables);
|
|
46
|
+
this.source = this.variables;
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
exports.DebugWatchWidget = DebugWatchWidget;
|
|
50
|
+
DebugWatchWidget.CONTEXT_MENU = ['debug-watch-context-menu'];
|
|
51
|
+
DebugWatchWidget.EDIT_MENU = [...DebugWatchWidget_1.CONTEXT_MENU, 'a_edit'];
|
|
52
|
+
DebugWatchWidget.REMOVE_MENU = [...DebugWatchWidget_1.CONTEXT_MENU, 'b_remove'];
|
|
53
|
+
DebugWatchWidget.FACTORY_ID = 'debug:watch';
|
|
54
|
+
tslib_1.__decorate([
|
|
55
|
+
(0, inversify_1.inject)(debug_view_model_1.DebugViewModel),
|
|
56
|
+
tslib_1.__metadata("design:type", debug_view_model_1.DebugViewModel)
|
|
57
|
+
], DebugWatchWidget.prototype, "viewModel", void 0);
|
|
58
|
+
tslib_1.__decorate([
|
|
59
|
+
(0, inversify_1.inject)(debug_watch_source_1.DebugWatchSource),
|
|
60
|
+
tslib_1.__metadata("design:type", debug_watch_source_1.DebugWatchSource)
|
|
61
|
+
], DebugWatchWidget.prototype, "variables", void 0);
|
|
62
|
+
tslib_1.__decorate([
|
|
63
|
+
(0, inversify_1.postConstruct)(),
|
|
64
|
+
tslib_1.__metadata("design:type", Function),
|
|
65
|
+
tslib_1.__metadata("design:paramtypes", []),
|
|
66
|
+
tslib_1.__metadata("design:returntype", void 0)
|
|
67
|
+
], DebugWatchWidget.prototype, "init", null);
|
|
68
|
+
exports.DebugWatchWidget = DebugWatchWidget = DebugWatchWidget_1 = tslib_1.__decorate([
|
|
69
|
+
(0, inversify_1.injectable)()
|
|
70
|
+
], DebugWatchWidget);
|
|
71
|
+
//# sourceMappingURL=debug-watch-widget.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-watch-widget.js","sourceRoot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AAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QACpC,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,SAAS,CAAC;IACjC,CAAC;;AAlCQ,4CAAgB;AAElB,6BAAY,GAAa,CAAC,0BAA0B,CAAC,AAAzC,CAA0C;AACtD,0BAAS,GAAG,CAAC,GAAG,kBAAgB,CAAC,YAAY,EAAE,QAAQ,CAAC,AAA/C,CAAgD;AACzD,4BAAW,GAAG,CAAC,GAAG,kBAAgB,CAAC,YAAY,EAAE,UAAU,CAAC,AAAjD,CAAkD;AAC7D,2BAAU,GAAG,aAAa,AAAhB,CAAiB;AAiBzB;IADR,IAAA,kBAAM,EAAC,iCAAc,CAAC;sCACH,iCAAc;mDAAC;AAGhB;IADlB,IAAA,kBAAM,EAAC,qCAAgB,CAAC;sCACK,qCAAgB;mDAAC;AAG5B;IADlB,IAAA,yBAAa,GAAE;;;;4CAOf;2BAlCQ,gBAAgB;IAD5B,IAAA,sBAAU,GAAE;GACA,gBAAgB,CAoC5B"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { interfaces, Container } from '@theia/core/shared/inversify';
|
|
2
|
+
import { BaseWidget, Message, ApplicationShell, Widget, StatefulWidget, ViewContainer } from '@theia/core/lib/browser';
|
|
3
|
+
import { DebugSessionWidget } from './debug-session-widget';
|
|
4
|
+
import { DebugConfigurationWidget } from './debug-configuration-widget';
|
|
5
|
+
import { DebugViewModel } from './debug-view-model';
|
|
6
|
+
import { DebugSessionManager } from '../debug-session-manager';
|
|
7
|
+
import { ProgressBarFactory } from '@theia/core/lib/browser/progress-bar-factory';
|
|
8
|
+
export declare class DebugWidget extends BaseWidget implements StatefulWidget, ApplicationShell.TrackableWidgetProvider {
|
|
9
|
+
static createContainer(parent: interfaces.Container): Container;
|
|
10
|
+
static createWidget(parent: interfaces.Container): DebugWidget;
|
|
11
|
+
static ID: string;
|
|
12
|
+
static LABEL: string;
|
|
13
|
+
readonly model: DebugViewModel;
|
|
14
|
+
readonly sessionManager: DebugSessionManager;
|
|
15
|
+
protected readonly toolbar: DebugConfigurationWidget;
|
|
16
|
+
protected readonly sessionWidget: DebugSessionWidget;
|
|
17
|
+
protected readonly progressBarFactory: ProgressBarFactory;
|
|
18
|
+
protected init(): void;
|
|
19
|
+
protected onActivateRequest(msg: Message): void;
|
|
20
|
+
getTrackableWidgets(): Widget[];
|
|
21
|
+
storeState(): object;
|
|
22
|
+
restoreState(oldState: ViewContainer.State): void;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=debug-widget.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-widget.d.ts","sourceRoot":"","sources":["../../../src/browser/view/debug-widget.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAqC,UAAU,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACxG,OAAO,EACH,UAAU,EAAe,OAAO,EAAE,gBAAgB,EAAE,MAAM,EAAE,cAAc,EAAE,aAAa,EAC5F,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AACxE,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,kBAAkB,EAAE,MAAM,8CAA8C,CAAC;AAGlF,qBACa,WAAY,SAAQ,UAAW,YAAW,cAAc,EAAE,gBAAgB,CAAC,uBAAuB;IAE3G,MAAM,CAAC,eAAe,CAAC,MAAM,EAAE,UAAU,CAAC,SAAS,GAAG,SAAS;IAO/D,MAAM,CAAC,YAAY,CAAC,MAAM,EAAE,UAAU,CAAC,SAAS,GAAG,WAAW;IAI9D,MAAM,CAAC,EAAE,SAAW;IACpB,MAAM,CAAC,KAAK,SAAkC;IAG9C,QAAQ,CAAC,KAAK,EAAE,cAAc,CAAC;IAG/B,QAAQ,CAAC,cAAc,EAAE,mBAAmB,CAAC;IAG7C,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,wBAAwB,CAAC;IAGrD,SAAS,CAAC,QAAQ,CAAC,aAAa,EAAE,kBAAkB,CAAC;IAGrD,SAAS,CAAC,QAAQ,CAAC,kBAAkB,EAAE,kBAAkB,CAAC;IAG1D,SAAS,CAAC,IAAI,IAAI,IAAI;cAmBH,iBAAiB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAKxD,mBAAmB,IAAI,MAAM,EAAE;IAI/B,UAAU,IAAI,MAAM;IAIpB,YAAY,CAAC,QAAQ,EAAE,aAAa,CAAC,KAAK,GAAG,IAAI;CAIpD"}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *****************************************************************************
|
|
3
|
+
// Copyright (C) 2018 TypeFox 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
|
+
var DebugWidget_1;
|
|
18
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
+
exports.DebugWidget = void 0;
|
|
20
|
+
const tslib_1 = require("tslib");
|
|
21
|
+
const inversify_1 = require("@theia/core/shared/inversify");
|
|
22
|
+
const browser_1 = require("@theia/core/lib/browser");
|
|
23
|
+
const debug_session_widget_1 = require("./debug-session-widget");
|
|
24
|
+
const debug_configuration_widget_1 = require("./debug-configuration-widget");
|
|
25
|
+
const debug_view_model_1 = require("./debug-view-model");
|
|
26
|
+
const debug_session_manager_1 = require("../debug-session-manager");
|
|
27
|
+
const progress_bar_factory_1 = require("@theia/core/lib/browser/progress-bar-factory");
|
|
28
|
+
const nls_1 = require("@theia/core/lib/common/nls");
|
|
29
|
+
let DebugWidget = DebugWidget_1 = class DebugWidget extends browser_1.BaseWidget {
|
|
30
|
+
static createContainer(parent) {
|
|
31
|
+
const child = debug_session_widget_1.DebugSessionWidget.createContainer(parent);
|
|
32
|
+
child.bind(debug_configuration_widget_1.DebugConfigurationWidget).toSelf();
|
|
33
|
+
child.bind(DebugWidget_1).toSelf();
|
|
34
|
+
return child;
|
|
35
|
+
}
|
|
36
|
+
static createWidget(parent) {
|
|
37
|
+
return DebugWidget_1.createContainer(parent).get(DebugWidget_1);
|
|
38
|
+
}
|
|
39
|
+
init() {
|
|
40
|
+
this.id = DebugWidget_1.ID;
|
|
41
|
+
this.title.label = DebugWidget_1.LABEL;
|
|
42
|
+
this.title.caption = DebugWidget_1.LABEL;
|
|
43
|
+
this.title.closable = true;
|
|
44
|
+
this.title.iconClass = (0, browser_1.codicon)('debug-alt');
|
|
45
|
+
this.addClass('theia-debug-container');
|
|
46
|
+
this.toDispose.pushAll([
|
|
47
|
+
this.toolbar,
|
|
48
|
+
this.sessionWidget,
|
|
49
|
+
]);
|
|
50
|
+
const layout = this.layout = new browser_1.PanelLayout();
|
|
51
|
+
layout.addWidget(this.toolbar);
|
|
52
|
+
layout.addWidget(this.sessionWidget);
|
|
53
|
+
this.toDispose.push(this.progressBarFactory({ container: this.node, insertMode: 'prepend', locationId: 'debug' }));
|
|
54
|
+
}
|
|
55
|
+
onActivateRequest(msg) {
|
|
56
|
+
super.onActivateRequest(msg);
|
|
57
|
+
this.toolbar.focus();
|
|
58
|
+
}
|
|
59
|
+
getTrackableWidgets() {
|
|
60
|
+
return [this.sessionWidget];
|
|
61
|
+
}
|
|
62
|
+
storeState() {
|
|
63
|
+
return this.sessionWidget.storeState();
|
|
64
|
+
}
|
|
65
|
+
restoreState(oldState) {
|
|
66
|
+
this.sessionWidget.restoreState(oldState);
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
exports.DebugWidget = DebugWidget;
|
|
70
|
+
DebugWidget.ID = 'debug';
|
|
71
|
+
DebugWidget.LABEL = nls_1.nls.localizeByDefault('Debug');
|
|
72
|
+
tslib_1.__decorate([
|
|
73
|
+
(0, inversify_1.inject)(debug_view_model_1.DebugViewModel),
|
|
74
|
+
tslib_1.__metadata("design:type", debug_view_model_1.DebugViewModel)
|
|
75
|
+
], DebugWidget.prototype, "model", void 0);
|
|
76
|
+
tslib_1.__decorate([
|
|
77
|
+
(0, inversify_1.inject)(debug_session_manager_1.DebugSessionManager),
|
|
78
|
+
tslib_1.__metadata("design:type", debug_session_manager_1.DebugSessionManager)
|
|
79
|
+
], DebugWidget.prototype, "sessionManager", void 0);
|
|
80
|
+
tslib_1.__decorate([
|
|
81
|
+
(0, inversify_1.inject)(debug_configuration_widget_1.DebugConfigurationWidget),
|
|
82
|
+
tslib_1.__metadata("design:type", debug_configuration_widget_1.DebugConfigurationWidget)
|
|
83
|
+
], DebugWidget.prototype, "toolbar", void 0);
|
|
84
|
+
tslib_1.__decorate([
|
|
85
|
+
(0, inversify_1.inject)(debug_session_widget_1.DebugSessionWidget),
|
|
86
|
+
tslib_1.__metadata("design:type", debug_session_widget_1.DebugSessionWidget)
|
|
87
|
+
], DebugWidget.prototype, "sessionWidget", void 0);
|
|
88
|
+
tslib_1.__decorate([
|
|
89
|
+
(0, inversify_1.inject)(progress_bar_factory_1.ProgressBarFactory),
|
|
90
|
+
tslib_1.__metadata("design:type", Function)
|
|
91
|
+
], DebugWidget.prototype, "progressBarFactory", void 0);
|
|
92
|
+
tslib_1.__decorate([
|
|
93
|
+
(0, inversify_1.postConstruct)(),
|
|
94
|
+
tslib_1.__metadata("design:type", Function),
|
|
95
|
+
tslib_1.__metadata("design:paramtypes", []),
|
|
96
|
+
tslib_1.__metadata("design:returntype", void 0)
|
|
97
|
+
], DebugWidget.prototype, "init", null);
|
|
98
|
+
exports.DebugWidget = DebugWidget = DebugWidget_1 = tslib_1.__decorate([
|
|
99
|
+
(0, inversify_1.injectable)()
|
|
100
|
+
], DebugWidget);
|
|
101
|
+
//# sourceMappingURL=debug-widget.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-widget.js","sourceRoot":"","sources":["../../../src/browser/view/debug-widget.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;;;;AAEhF,4DAAwG;AACxG,qDAEiC;AACjC,iEAA4D;AAC5D,6EAAwE;AACxE,yDAAoD;AACpD,oEAA+D;AAC/D,uFAAkF;AAClF,oDAAiD;AAG1C,IAAM,WAAW,mBAAjB,MAAM,WAAY,SAAQ,oBAAU;IAEvC,MAAM,CAAC,eAAe,CAAC,MAA4B;QAC/C,MAAM,KAAK,GAAG,yCAAkB,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC;QACzD,KAAK,CAAC,IAAI,CAAC,qDAAwB,CAAC,CAAC,MAAM,EAAE,CAAC;QAC9C,KAAK,CAAC,IAAI,CAAC,aAAW,CAAC,CAAC,MAAM,EAAE,CAAC;QACjC,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,MAAM,CAAC,YAAY,CAAC,MAA4B;QAC5C,OAAO,aAAW,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,aAAW,CAAC,CAAC;IAChE,CAAC;IAqBS,IAAI;QACV,IAAI,CAAC,EAAE,GAAG,aA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,kCAAW;AAab,cAAE,GAAG,OAAO,AAAV,CAAW;AACb,iBAAK,GAAG,SAAG,CAAC,iBAAiB,CAAC,OAAO,CAAC,AAAjC,CAAkC;AAGrC;IADR,IAAA,kBAAM,EAAC,iCAAc,CAAC;sCACP,iCAAc;0CAAC;AAGtB;IADR,IAAA,kBAAM,EAAC,2CAAmB,CAAC;sCACH,2CAAmB;mDAAC;AAG1B;IADlB,IAAA,kBAAM,EAAC,qDAAwB,CAAC;sCACL,qDAAwB;4CAAC;AAGlC;IADlB,IAAA,kBAAM,EAAC,yCAAkB,CAAC;sCACO,yCAAkB;kDAAC;AAGlC;IADlB,IAAA,kBAAM,EAAC,yCAAkB,CAAC;;uDAC+B;AAGhD;IADT,IAAA,yBAAa,GAAE;;;;uCAkBf;sBAjDQ,WAAW;IADvB,IAAA,sBAAU,GAAE;GACA,WAAW,CAoEvB"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { ContributionProvider } from '@theia/core';
|
|
2
|
+
import { DebugConfiguration } from './debug-configuration';
|
|
3
|
+
import { DebuggerDescription } from './debug-service';
|
|
4
|
+
import { DebugAdapterContribution, DebugAdapterExecutable, DebugAdapterSessionFactory } from './debug-model';
|
|
5
|
+
import { IJSONSchema, IJSONSchemaSnippet } from '@theia/core/lib/common/json-schema';
|
|
6
|
+
/**
|
|
7
|
+
* Contributions registry.
|
|
8
|
+
*/
|
|
9
|
+
export declare class DebugAdapterContributionRegistry {
|
|
10
|
+
protected readonly contributions: ContributionProvider<DebugAdapterContribution>;
|
|
11
|
+
protected getContributions(debugType: string): IterableIterator<DebugAdapterContribution>;
|
|
12
|
+
/**
|
|
13
|
+
* Finds and returns an array of registered debug types.
|
|
14
|
+
* @returns An array of registered debug types
|
|
15
|
+
*/
|
|
16
|
+
protected _debugTypes: string[] | undefined;
|
|
17
|
+
debugTypes(): string[];
|
|
18
|
+
getDebuggersForLanguage(language: string): Promise<DebuggerDescription[]>;
|
|
19
|
+
/**
|
|
20
|
+
* Provides initial [debug configuration](#DebugConfiguration).
|
|
21
|
+
* @param debugType The registered debug type
|
|
22
|
+
* @returns An array of [debug configurations](#DebugConfiguration)
|
|
23
|
+
*/
|
|
24
|
+
provideDebugConfigurations(debugType: string, workspaceFolderUri?: string): Promise<DebugConfiguration[]>;
|
|
25
|
+
/**
|
|
26
|
+
* Resolves a [debug configuration](#DebugConfiguration) by filling in missing values
|
|
27
|
+
* or by adding/changing/removing attributes before variable substitution.
|
|
28
|
+
* @param debugConfiguration The [debug configuration](#DebugConfiguration) to resolve.
|
|
29
|
+
* @returns The resolved debug configuration.
|
|
30
|
+
*/
|
|
31
|
+
resolveDebugConfiguration(config: DebugConfiguration, workspaceFolderUri?: string): Promise<DebugConfiguration>;
|
|
32
|
+
/**
|
|
33
|
+
* Resolves a [debug configuration](#DebugConfiguration) by filling in missing values
|
|
34
|
+
* or by adding/changing/removing attributes with substituted variables.
|
|
35
|
+
* @param debugConfiguration The [debug configuration](#DebugConfiguration) to resolve.
|
|
36
|
+
* @returns The resolved debug configuration.
|
|
37
|
+
*/
|
|
38
|
+
resolveDebugConfigurationWithSubstitutedVariables(config: DebugConfiguration, workspaceFolderUri?: string): Promise<DebugConfiguration>;
|
|
39
|
+
/**
|
|
40
|
+
* Provides schema attributes.
|
|
41
|
+
* @param debugType The registered debug type
|
|
42
|
+
* @returns Schema attributes for the given debug type
|
|
43
|
+
*/
|
|
44
|
+
getSchemaAttributes(debugType: string): Promise<IJSONSchema[]>;
|
|
45
|
+
getConfigurationSnippets(): Promise<IJSONSchemaSnippet[]>;
|
|
46
|
+
/**
|
|
47
|
+
* Provides a [debug adapter executable](#DebugAdapterExecutable)
|
|
48
|
+
* based on [debug configuration](#DebugConfiguration) to launch a new debug adapter.
|
|
49
|
+
* @param config The resolved [debug configuration](#DebugConfiguration).
|
|
50
|
+
* @returns The [debug adapter executable](#DebugAdapterExecutable).
|
|
51
|
+
*/
|
|
52
|
+
provideDebugAdapterExecutable(config: DebugConfiguration): Promise<DebugAdapterExecutable>;
|
|
53
|
+
/**
|
|
54
|
+
* Returns a [debug adapter session factory](#DebugAdapterSessionFactory).
|
|
55
|
+
* @param debugType The registered debug type
|
|
56
|
+
* @returns An [debug adapter session factory](#DebugAdapterSessionFactory)
|
|
57
|
+
*/
|
|
58
|
+
debugAdapterSessionFactory(debugType: string): DebugAdapterSessionFactory | undefined;
|
|
59
|
+
}
|
|
60
|
+
//# sourceMappingURL=debug-adapter-contribution-registry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-adapter-contribution-registry.d.ts","sourceRoot":"","sources":["../../src/common/debug-adapter-contribution-registry.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,mBAAmB,EAAc,MAAM,iBAAiB,CAAC;AAElE,OAAO,EAAE,wBAAwB,EAAE,sBAAsB,EAAE,0BAA0B,EAAE,MAAM,eAAe,CAAC;AAC7G,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AAErF;;GAEG;AACH,qBACa,gCAAgC;IAGzC,SAAS,CAAC,QAAQ,CAAC,aAAa,EAAE,oBAAoB,CAAC,wBAAwB,CAAC,CAAC;IACjF,SAAS,CAAE,gBAAgB,CAAC,SAAS,EAAE,MAAM,GAAG,gBAAgB,CAAC,wBAAwB,CAAC;IAQ1F;;;OAGG;IACH,SAAS,CAAC,WAAW,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;IAC5C,UAAU,IAAI,MAAM,EAAE;IAWhB,uBAAuB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,mBAAmB,EAAE,CAAC;IAgB/E;;;;OAIG;IACG,0BAA0B,CAAC,SAAS,EAAE,MAAM,EAAE,kBAAkB,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,kBAAkB,EAAE,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