@theia/debug 1.67.0-next.56 → 1.67.0-next.86
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 +108 -0
- package/lib/browser/console/debug-console-items.d.ts.map +1 -0
- package/lib/browser/console/debug-console-items.js +407 -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 +193 -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 +147 -0
- package/lib/browser/debug-session-manager.d.ts.map +1 -0
- package/lib/browser/debug-session-manager.js +640 -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 +200 -0
- package/lib/browser/debug-session.d.ts.map +1 -0
- package/lib/browser/debug-session.js +955 -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 +20 -0
- package/lib/browser/editor/debug-hover-source.d.ts.map +1 -0
- package/lib/browser/editor/debug-hover-source.js +119 -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 +165 -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 +266 -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 +54 -0
- package/lib/browser/view/debug-variables-source.js.map +1 -0
- package/lib/browser/view/debug-variables-widget.d.ts +43 -0
- package/lib/browser/view/debug-variables-widget.d.ts.map +1 -0
- package/lib/browser/view/debug-variables-widget.js +207 -0
- package/lib/browser/view/debug-variables-widget.js.map +1 -0
- package/lib/browser/view/debug-view-model.d.ts +59 -0
- package/lib/browser/view/debug-view-model.d.ts.map +1 -0
- package/lib/browser/view/debug-view-model.js +225 -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 +92 -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 +52 -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 +19 -0
- package/lib/common/debug-preferences.d.ts.map +1 -0
- package/lib/common/debug-preferences.js +99 -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
- package/src/browser/console/debug-console-items.tsx +90 -21
- package/src/browser/console/debug-console-session.ts +1 -0
- package/src/browser/debug-session-contribution.ts +3 -1
- package/src/browser/debug-session-manager.ts +10 -0
- package/src/browser/debug-session.tsx +13 -1
- package/src/browser/editor/debug-hover-source.tsx +6 -2
- package/src/browser/editor/debug-inline-value-decorator.ts +1 -1
- package/src/browser/model/debug-stack-frame.tsx +13 -6
- package/src/browser/model/debug-thread.tsx +14 -10
- package/src/browser/style/index.css +17 -0
- package/src/browser/view/debug-variables-source.ts +1 -0
- package/src/browser/view/debug-variables-widget.ts +59 -0
- package/src/browser/view/debug-view-model.ts +13 -0
- package/src/browser/view/debug-watch-expression.tsx +5 -6
- package/src/browser/view/debug-watch-source.ts +1 -0
- package/src/common/debug-preferences.ts +12 -1
|
@@ -0,0 +1,152 @@
|
|
|
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
|
+
var DebugStackFramesWidget_1;
|
|
18
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
+
exports.DebugStackFramesWidget = 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 source_tree_1 = require("@theia/core/lib/browser/source-tree");
|
|
24
|
+
const debug_stack_frames_source_1 = require("./debug-stack-frames-source");
|
|
25
|
+
const debug_stack_frame_1 = require("../model/debug-stack-frame");
|
|
26
|
+
const debug_view_model_1 = require("./debug-view-model");
|
|
27
|
+
const debug_call_stack_item_type_key_1 = require("../debug-call-stack-item-type-key");
|
|
28
|
+
const nls_1 = require("@theia/core/lib/common/nls");
|
|
29
|
+
let DebugStackFramesWidget = DebugStackFramesWidget_1 = class DebugStackFramesWidget extends source_tree_1.SourceTreeWidget {
|
|
30
|
+
constructor() {
|
|
31
|
+
super(...arguments);
|
|
32
|
+
this.updatingSelection = false;
|
|
33
|
+
}
|
|
34
|
+
static createContainer(parent) {
|
|
35
|
+
const child = source_tree_1.SourceTreeWidget.createContainer(parent, {
|
|
36
|
+
contextMenuPath: DebugStackFramesWidget_1.CONTEXT_MENU,
|
|
37
|
+
virtualized: false,
|
|
38
|
+
scrollIfActive: true
|
|
39
|
+
});
|
|
40
|
+
child.bind(debug_stack_frames_source_1.DebugStackFramesSource).toSelf();
|
|
41
|
+
child.unbind(source_tree_1.SourceTreeWidget);
|
|
42
|
+
child.bind(DebugStackFramesWidget_1).toSelf();
|
|
43
|
+
return child;
|
|
44
|
+
}
|
|
45
|
+
static createWidget(parent) {
|
|
46
|
+
return DebugStackFramesWidget_1.createContainer(parent).get(DebugStackFramesWidget_1);
|
|
47
|
+
}
|
|
48
|
+
init() {
|
|
49
|
+
super.init();
|
|
50
|
+
this.id = DebugStackFramesWidget_1.FACTORY_ID + ':' + this.viewModel.id;
|
|
51
|
+
this.title.label = nls_1.nls.localizeByDefault('Call Stack');
|
|
52
|
+
this.toDispose.push(this.frames);
|
|
53
|
+
this.source = this.frames;
|
|
54
|
+
this.toDispose.push(this.viewModel.onDidChange(() => this.updateWidgetSelection()));
|
|
55
|
+
this.toDispose.push(this.model.onNodeRefreshed(() => this.updateWidgetSelection()));
|
|
56
|
+
this.toDispose.push(this.model.onSelectionChanged(() => this.updateModelSelection()));
|
|
57
|
+
}
|
|
58
|
+
async updateWidgetSelection() {
|
|
59
|
+
if (this.updatingSelection) {
|
|
60
|
+
return;
|
|
61
|
+
}
|
|
62
|
+
this.updatingSelection = true;
|
|
63
|
+
try {
|
|
64
|
+
const { currentFrame } = this.viewModel;
|
|
65
|
+
if (currentFrame) {
|
|
66
|
+
const node = this.model.getNode(currentFrame.id);
|
|
67
|
+
if (browser_1.SelectableTreeNode.is(node)) {
|
|
68
|
+
this.model.selectNode(node);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
finally {
|
|
73
|
+
this.updatingSelection = false;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
async updateModelSelection() {
|
|
77
|
+
if (this.updatingSelection) {
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
this.updatingSelection = true;
|
|
81
|
+
try {
|
|
82
|
+
const node = this.model.selectedNodes[0];
|
|
83
|
+
if (source_tree_1.TreeElementNode.is(node)) {
|
|
84
|
+
if (node.element instanceof debug_stack_frame_1.DebugStackFrame) {
|
|
85
|
+
node.element.thread.currentFrame = node.element;
|
|
86
|
+
this.debugCallStackItemTypeKey.set('stackFrame');
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
finally {
|
|
91
|
+
this.updatingSelection = false;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
toContextMenuArgs(node) {
|
|
95
|
+
if (source_tree_1.TreeElementNode.is(node)) {
|
|
96
|
+
if (node.element instanceof debug_stack_frame_1.DebugStackFrame) {
|
|
97
|
+
const source = node.element.source;
|
|
98
|
+
if (source) {
|
|
99
|
+
if (source.inMemory) {
|
|
100
|
+
const path = source.raw.path || source.raw.sourceReference;
|
|
101
|
+
if (path !== undefined) {
|
|
102
|
+
return [path];
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
else {
|
|
106
|
+
return [source.uri.toString()];
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
return undefined;
|
|
112
|
+
}
|
|
113
|
+
tapNode(node) {
|
|
114
|
+
if (source_tree_1.TreeElementNode.is(node)) {
|
|
115
|
+
if (node.element instanceof debug_stack_frames_source_1.LoadMoreStackFrames) {
|
|
116
|
+
node.element.open();
|
|
117
|
+
}
|
|
118
|
+
else if (node.element instanceof debug_stack_frame_1.DebugStackFrame) {
|
|
119
|
+
node.element.open({ preview: true });
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
super.tapNode(node);
|
|
123
|
+
}
|
|
124
|
+
getDefaultNodeStyle(node, props) {
|
|
125
|
+
return undefined;
|
|
126
|
+
}
|
|
127
|
+
};
|
|
128
|
+
exports.DebugStackFramesWidget = DebugStackFramesWidget;
|
|
129
|
+
DebugStackFramesWidget.CONTEXT_MENU = ['debug-frames-context-menu'];
|
|
130
|
+
DebugStackFramesWidget.FACTORY_ID = 'debug:frames';
|
|
131
|
+
tslib_1.__decorate([
|
|
132
|
+
(0, inversify_1.inject)(debug_stack_frames_source_1.DebugStackFramesSource),
|
|
133
|
+
tslib_1.__metadata("design:type", debug_stack_frames_source_1.DebugStackFramesSource)
|
|
134
|
+
], DebugStackFramesWidget.prototype, "frames", void 0);
|
|
135
|
+
tslib_1.__decorate([
|
|
136
|
+
(0, inversify_1.inject)(debug_view_model_1.DebugViewModel),
|
|
137
|
+
tslib_1.__metadata("design:type", debug_view_model_1.DebugViewModel)
|
|
138
|
+
], DebugStackFramesWidget.prototype, "viewModel", void 0);
|
|
139
|
+
tslib_1.__decorate([
|
|
140
|
+
(0, inversify_1.inject)(debug_call_stack_item_type_key_1.DebugCallStackItemTypeKey),
|
|
141
|
+
tslib_1.__metadata("design:type", Object)
|
|
142
|
+
], DebugStackFramesWidget.prototype, "debugCallStackItemTypeKey", void 0);
|
|
143
|
+
tslib_1.__decorate([
|
|
144
|
+
(0, inversify_1.postConstruct)(),
|
|
145
|
+
tslib_1.__metadata("design:type", Function),
|
|
146
|
+
tslib_1.__metadata("design:paramtypes", []),
|
|
147
|
+
tslib_1.__metadata("design:returntype", void 0)
|
|
148
|
+
], DebugStackFramesWidget.prototype, "init", null);
|
|
149
|
+
exports.DebugStackFramesWidget = DebugStackFramesWidget = DebugStackFramesWidget_1 = tslib_1.__decorate([
|
|
150
|
+
(0, inversify_1.injectable)()
|
|
151
|
+
], DebugStackFramesWidget);
|
|
152
|
+
//# sourceMappingURL=debug-stack-frames-widget.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-stack-frames-widget.js","sourceRoot":"","sources":["../../../src/browser/view/debug-stack-frames-widget.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,+CAA+C;AAC/C,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;AAExG,qDAAkF;AAClF,qEAAwF;AACxF,2EAA0F;AAC1F,kEAA6D;AAC7D,yDAAoD;AACpD,sFAA8E;AAC9E,oDAAiD;AAG1C,IAAM,sBAAsB,8BAA5B,MAAM,sBAAuB,SAAQ,8BAAgB;IAArD;;QAyCO,sBAAiB,GAAG,KAAK,CAAC;IAsExC,CAAC;IA3GG,MAAM,CAAU,eAAe,CAAC,MAA4B;QACxD,MAAM,KAAK,GAAG,8BAAgB,CAAC,eAAe,CAAC,MAAM,EAAE;YACnD,eAAe,EAAE,wBAAsB,CAAC,YAAY;YACpD,WAAW,EAAE,KAAK;YAClB,cAAc,EAAE,IAAI;SACvB,CAAC,CAAC;QACH,KAAK,CAAC,IAAI,CAAC,kDAAsB,CAAC,CAAC,MAAM,EAAE,CAAC;QAC5C,KAAK,CAAC,MAAM,CAAC,8BAAgB,CAAC,CAAC;QAC/B,KAAK,CAAC,IAAI,CAAC,wBAAsB,CAAC,CAAC,MAAM,EAAE,CAAC;QAC5C,OAAO,KAAK,CAAC;IACjB,CAAC;IACD,MAAM,CAAC,YAAY,CAAC,MAA4B;QAC5C,OAAO,wBAAsB,CAAC,eAAe,CAAC,MAAM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source-tree';
|
|
2
|
+
import { DebugViewModel } from './debug-view-model';
|
|
3
|
+
export declare class DebugThreadsSource extends TreeSource {
|
|
4
|
+
protected readonly model: DebugViewModel;
|
|
5
|
+
protected init(): void;
|
|
6
|
+
get multiSession(): boolean;
|
|
7
|
+
getElements(): IterableIterator<TreeElement>;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=debug-threads-source.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-threads-source.d.ts","sourceRoot":"","sources":["../../../src/browser/view/debug-threads-source.tsx"],"names":[],"mappings":"AAiBA,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,qBACa,kBAAmB,SAAQ,UAAU;IAG9C,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAE,cAAc,CAAC;IAGzC,SAAS,CAAC,IAAI,IAAI,IAAI;IAKtB,IAAI,YAAY,IAAI,OAAO,CAE1B;IAEA,WAAW,IAAI,gBAAgB,CAAC,WAAW,CAAC;CAWhD"}
|
|
@@ -0,0 +1,56 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.DebugThreadsSource = 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
|
+
let DebugThreadsSource = class DebugThreadsSource extends source_tree_1.TreeSource {
|
|
24
|
+
init() {
|
|
25
|
+
this.fireDidChange();
|
|
26
|
+
this.toDispose.push(this.model.onDidChange(() => this.fireDidChange()));
|
|
27
|
+
}
|
|
28
|
+
get multiSession() {
|
|
29
|
+
return this.model.sessionCount > 1;
|
|
30
|
+
}
|
|
31
|
+
*getElements() {
|
|
32
|
+
if (this.model.sessionCount === 1 && this.model.session && this.model.session.threadCount) {
|
|
33
|
+
return yield* this.model.session.threads;
|
|
34
|
+
}
|
|
35
|
+
for (const session of this.model.sessions) {
|
|
36
|
+
if (!session.parentSession) {
|
|
37
|
+
yield session;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
exports.DebugThreadsSource = DebugThreadsSource;
|
|
43
|
+
tslib_1.__decorate([
|
|
44
|
+
(0, inversify_1.inject)(debug_view_model_1.DebugViewModel),
|
|
45
|
+
tslib_1.__metadata("design:type", debug_view_model_1.DebugViewModel)
|
|
46
|
+
], DebugThreadsSource.prototype, "model", void 0);
|
|
47
|
+
tslib_1.__decorate([
|
|
48
|
+
(0, inversify_1.postConstruct)(),
|
|
49
|
+
tslib_1.__metadata("design:type", Function),
|
|
50
|
+
tslib_1.__metadata("design:paramtypes", []),
|
|
51
|
+
tslib_1.__metadata("design:returntype", void 0)
|
|
52
|
+
], DebugThreadsSource.prototype, "init", null);
|
|
53
|
+
exports.DebugThreadsSource = DebugThreadsSource = tslib_1.__decorate([
|
|
54
|
+
(0, inversify_1.injectable)()
|
|
55
|
+
], DebugThreadsSource);
|
|
56
|
+
//# sourceMappingURL=debug-threads-source.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-threads-source.js","sourceRoot":"","sources":["../../../src/browser/view/debug-threads-source.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,4DAAiF;AACjF,qEAA8E;AAC9E,yDAAoD;AAG7C,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,wBAAU;IAMpC,IAAI;QACV,IAAI,CAAC,aAAa,EAAE,CAAC;QACrB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC;IAC5E,CAAC;IAED,IAAI,YAAY;QACZ,OAAO,IAAI,CAAC,KAAK,CAAC,YAAY,GAAG,CAAC,CAAC;IACvC,CAAC;IAED,CAAC,WAAW;QACR,IAAI,IAAI,CAAC,KAAK,CAAC,YAAY,KAAK,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC;YACxF,OAAO,KAAK,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC;QAC7C,CAAC;QACD,KAAK,MAAM,OAAO,IAAI,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC;YACxC,IAAI,CAAC,OAAO,CAAC,aAAa,EAAE,CAAC;gBACzB,MAAM,OAAO,CAAC;YAClB,CAAC;QACL,CAAC;IACL,CAAC;CAEJ,CAAA;AA1BY,gDAAkB;AAGR;IADlB,IAAA,kBAAM,EAAC,iCAAc,CAAC;sCACG,iCAAc;iDAAC;AAG/B;IADT,IAAA,yBAAa,GAAE;;;;8CAIf;6BATQ,kBAAkB;IAD9B,IAAA,sBAAU,GAAE;GACA,kBAAkB,CA0B9B"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { interfaces, Container } from '@theia/core/shared/inversify';
|
|
3
|
+
import { MenuPath } from '@theia/core';
|
|
4
|
+
import { TreeNode, NodeProps, SelectableTreeNode } from '@theia/core/lib/browser';
|
|
5
|
+
import { SourceTreeWidget } from '@theia/core/lib/browser/source-tree';
|
|
6
|
+
import { DebugThreadsSource } from './debug-threads-source';
|
|
7
|
+
import { DebugViewModel } from '../view/debug-view-model';
|
|
8
|
+
import { DebugCallStackItemTypeKey } from '../debug-call-stack-item-type-key';
|
|
9
|
+
export declare class DebugThreadsWidget extends SourceTreeWidget {
|
|
10
|
+
static CONTEXT_MENU: MenuPath;
|
|
11
|
+
static CONTROL_MENU: string[];
|
|
12
|
+
static TERMINATE_MENU: string[];
|
|
13
|
+
static OPEN_MENU: string[];
|
|
14
|
+
static FACTORY_ID: string;
|
|
15
|
+
static createContainer(parent: interfaces.Container): Container;
|
|
16
|
+
static createWidget(parent: interfaces.Container): DebugThreadsWidget;
|
|
17
|
+
protected readonly threads: DebugThreadsSource;
|
|
18
|
+
protected readonly viewModel: DebugViewModel;
|
|
19
|
+
protected readonly debugCallStackItemTypeKey: DebugCallStackItemTypeKey;
|
|
20
|
+
protected init(): void;
|
|
21
|
+
protected updatingSelection: boolean;
|
|
22
|
+
protected updateWidgetSelection(): void;
|
|
23
|
+
protected updateModelSelection(): void;
|
|
24
|
+
protected toContextMenuArgs(node: SelectableTreeNode): [number] | undefined;
|
|
25
|
+
protected getDefaultNodeStyle(node: TreeNode, props: NodeProps): React.CSSProperties | undefined;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=debug-threads-widget.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-threads-widget.d.ts","sourceRoot":"","sources":["../../../src/browser/view/debug-threads-widget.ts"],"names":[],"mappings":";AAgBA,OAAO,EAAqC,UAAU,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACxG,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAClF,OAAO,EAAE,gBAAgB,EAAmB,MAAM,qCAAqC,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAG5D,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAG9E,qBACa,kBAAmB,SAAQ,gBAAgB;IAEpD,MAAM,CAAC,YAAY,EAAE,QAAQ,CAAkC;IAC/D,MAAM,CAAC,YAAY,WAAqD;IACxE,MAAM,CAAC,cAAc,WAAuD;IAC5E,MAAM,CAAC,SAAS,WAAkD;IAClE,MAAM,CAAC,UAAU,SAAmB;WACpB,eAAe,CAAC,MAAM,EAAE,UAAU,CAAC,SAAS,GAAG,SAAS;IAWxE,MAAM,CAAC,YAAY,CAAC,MAAM,EAAE,UAAU,CAAC,SAAS,GAAG,kBAAkB;IAKrE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,kBAAkB,CAAC;IAG/C,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,cAAc,CAAC;IAG7C,SAAS,CAAC,QAAQ,CAAC,yBAAyB,EAAE,yBAAyB,CAAC;cAGrD,IAAI,IAAI,IAAI;IAW/B,SAAS,CAAC,iBAAiB,UAAS;IACpC,SAAS,CAAC,qBAAqB,IAAI,IAAI;IAiBvC,SAAS,CAAC,oBAAoB,IAAI,IAAI;cAsBnB,iBAAiB,CAAC,IAAI,EAAE,kBAAkB,GAAG,CAAC,MAAM,CAAC,GAAG,SAAS;cAOjE,mBAAmB,CAAC,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,GAAG,KAAK,CAAC,aAAa,GAAG,SAAS;CAO5G"}
|
|
@@ -0,0 +1,139 @@
|
|
|
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 DebugThreadsWidget_1;
|
|
18
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
+
exports.DebugThreadsWidget = 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 source_tree_1 = require("@theia/core/lib/browser/source-tree");
|
|
24
|
+
const debug_threads_source_1 = require("./debug-threads-source");
|
|
25
|
+
const debug_session_1 = require("../debug-session");
|
|
26
|
+
const debug_thread_1 = require("../model/debug-thread");
|
|
27
|
+
const debug_view_model_1 = require("../view/debug-view-model");
|
|
28
|
+
const debug_call_stack_item_type_key_1 = require("../debug-call-stack-item-type-key");
|
|
29
|
+
const nls_1 = require("@theia/core/lib/common/nls");
|
|
30
|
+
let DebugThreadsWidget = DebugThreadsWidget_1 = class DebugThreadsWidget extends source_tree_1.SourceTreeWidget {
|
|
31
|
+
constructor() {
|
|
32
|
+
super(...arguments);
|
|
33
|
+
this.updatingSelection = false;
|
|
34
|
+
}
|
|
35
|
+
static createContainer(parent) {
|
|
36
|
+
const child = source_tree_1.SourceTreeWidget.createContainer(parent, {
|
|
37
|
+
contextMenuPath: DebugThreadsWidget_1.CONTEXT_MENU,
|
|
38
|
+
virtualized: false,
|
|
39
|
+
scrollIfActive: true
|
|
40
|
+
});
|
|
41
|
+
child.bind(debug_threads_source_1.DebugThreadsSource).toSelf();
|
|
42
|
+
child.unbind(source_tree_1.SourceTreeWidget);
|
|
43
|
+
child.bind(DebugThreadsWidget_1).toSelf();
|
|
44
|
+
return child;
|
|
45
|
+
}
|
|
46
|
+
static createWidget(parent) {
|
|
47
|
+
return DebugThreadsWidget_1.createContainer(parent).get(DebugThreadsWidget_1);
|
|
48
|
+
}
|
|
49
|
+
init() {
|
|
50
|
+
super.init();
|
|
51
|
+
this.id = DebugThreadsWidget_1.FACTORY_ID + ':' + this.viewModel.id;
|
|
52
|
+
this.title.label = nls_1.nls.localize('theia/debug/threads', 'Threads');
|
|
53
|
+
this.toDispose.push(this.threads);
|
|
54
|
+
this.source = this.threads;
|
|
55
|
+
this.toDispose.push(this.viewModel.onDidChange(() => this.updateWidgetSelection()));
|
|
56
|
+
this.toDispose.push(this.model.onSelectionChanged(() => this.updateModelSelection()));
|
|
57
|
+
}
|
|
58
|
+
updateWidgetSelection() {
|
|
59
|
+
if (this.updatingSelection) {
|
|
60
|
+
return;
|
|
61
|
+
}
|
|
62
|
+
this.updatingSelection = true;
|
|
63
|
+
try {
|
|
64
|
+
const { currentThread } = this.viewModel;
|
|
65
|
+
if (currentThread) {
|
|
66
|
+
const node = this.model.getNode(currentThread.id);
|
|
67
|
+
if (browser_1.SelectableTreeNode.is(node)) {
|
|
68
|
+
this.model.selectNode(node);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
finally {
|
|
73
|
+
this.updatingSelection = false;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
updateModelSelection() {
|
|
77
|
+
if (this.updatingSelection) {
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
this.updatingSelection = true;
|
|
81
|
+
try {
|
|
82
|
+
const node = this.model.selectedNodes[0];
|
|
83
|
+
if (source_tree_1.TreeElementNode.is(node)) {
|
|
84
|
+
if (node.element instanceof debug_session_1.DebugSession) {
|
|
85
|
+
this.viewModel.currentSession = node.element;
|
|
86
|
+
this.debugCallStackItemTypeKey.set('session');
|
|
87
|
+
}
|
|
88
|
+
else if (node.element instanceof debug_thread_1.DebugThread) {
|
|
89
|
+
this.viewModel.currentSession = node.element.session;
|
|
90
|
+
node.element.session.currentThread = node.element;
|
|
91
|
+
this.debugCallStackItemTypeKey.set('thread');
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
finally {
|
|
96
|
+
this.updatingSelection = false;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
toContextMenuArgs(node) {
|
|
100
|
+
if (source_tree_1.TreeElementNode.is(node) && node.element instanceof debug_thread_1.DebugThread) {
|
|
101
|
+
return [node.element.raw.id];
|
|
102
|
+
}
|
|
103
|
+
return undefined;
|
|
104
|
+
}
|
|
105
|
+
getDefaultNodeStyle(node, props) {
|
|
106
|
+
if (this.threads.multiSession) {
|
|
107
|
+
return super.getDefaultNodeStyle(node, props);
|
|
108
|
+
}
|
|
109
|
+
return undefined;
|
|
110
|
+
}
|
|
111
|
+
};
|
|
112
|
+
exports.DebugThreadsWidget = DebugThreadsWidget;
|
|
113
|
+
DebugThreadsWidget.CONTEXT_MENU = ['debug-threads-context-menu'];
|
|
114
|
+
DebugThreadsWidget.CONTROL_MENU = [...DebugThreadsWidget_1.CONTEXT_MENU, 'a_control'];
|
|
115
|
+
DebugThreadsWidget.TERMINATE_MENU = [...DebugThreadsWidget_1.CONTEXT_MENU, 'b_terminate'];
|
|
116
|
+
DebugThreadsWidget.OPEN_MENU = [...DebugThreadsWidget_1.CONTEXT_MENU, 'c_open'];
|
|
117
|
+
DebugThreadsWidget.FACTORY_ID = 'debug:threads';
|
|
118
|
+
tslib_1.__decorate([
|
|
119
|
+
(0, inversify_1.inject)(debug_threads_source_1.DebugThreadsSource),
|
|
120
|
+
tslib_1.__metadata("design:type", debug_threads_source_1.DebugThreadsSource)
|
|
121
|
+
], DebugThreadsWidget.prototype, "threads", void 0);
|
|
122
|
+
tslib_1.__decorate([
|
|
123
|
+
(0, inversify_1.inject)(debug_view_model_1.DebugViewModel),
|
|
124
|
+
tslib_1.__metadata("design:type", debug_view_model_1.DebugViewModel)
|
|
125
|
+
], DebugThreadsWidget.prototype, "viewModel", void 0);
|
|
126
|
+
tslib_1.__decorate([
|
|
127
|
+
(0, inversify_1.inject)(debug_call_stack_item_type_key_1.DebugCallStackItemTypeKey),
|
|
128
|
+
tslib_1.__metadata("design:type", Object)
|
|
129
|
+
], DebugThreadsWidget.prototype, "debugCallStackItemTypeKey", void 0);
|
|
130
|
+
tslib_1.__decorate([
|
|
131
|
+
(0, inversify_1.postConstruct)(),
|
|
132
|
+
tslib_1.__metadata("design:type", Function),
|
|
133
|
+
tslib_1.__metadata("design:paramtypes", []),
|
|
134
|
+
tslib_1.__metadata("design:returntype", void 0)
|
|
135
|
+
], DebugThreadsWidget.prototype, "init", null);
|
|
136
|
+
exports.DebugThreadsWidget = DebugThreadsWidget = DebugThreadsWidget_1 = tslib_1.__decorate([
|
|
137
|
+
(0, inversify_1.injectable)()
|
|
138
|
+
], DebugThreadsWidget);
|
|
139
|
+
//# sourceMappingURL=debug-threads-widget.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-threads-widget.js","sourceRoot":"","sources":["../../../src/browser/view/debug-threads-widget.ts"],"names":[],"mappings":";AAAA,gF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Y,GAAG,CAAC,GAAG,oBAAkB,CAAC,YAAY,EAAE,WAAW,CAAC,AAApD,CAAqD;AACjE,iCAAc,GAAG,CAAC,GAAG,oBAAkB,CAAC,YAAY,EAAE,aAAa,CAAC,AAAtD,CAAuD;AACrE,4BAAS,GAAG,CAAC,GAAG,oBAAkB,CAAC,YAAY,EAAE,QAAQ,CAAC,AAAjD,CAAkD;AAC3D,6BAAU,GAAG,eAAe,AAAlB,CAAmB;AAiBjB;IADlB,IAAA,kBAAM,EAAC,yCAAkB,CAAC;sCACC,yCAAkB;mDAAC;AAG5B;IADlB,IAAA,kBAAM,EAAC,iCAAc,CAAC;sCACO,iCAAc;qDAAC;AAG1B;IADlB,IAAA,kBAAM,EAAC,0DAAyB,CAAC;;qEACsC;AAGrD;IADlB,IAAA,yBAAa,GAAE;;;;8CAUf;6BAzCQ,kBAAkB;IAD9B,IAAA,sBAAU,GAAE;GACA,kBAAkB,CAiG9B"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import * as React from '@theia/core/shared/react';
|
|
3
|
+
import { CommandMenu, CommandRegistry, DisposableCollection, MenuModelRegistry, MenuPath } from '@theia/core';
|
|
4
|
+
import { ContextKeyService } from '@theia/core/lib/browser/context-key-service';
|
|
5
|
+
import { ReactWidget } from '@theia/core/lib/browser/widgets';
|
|
6
|
+
import { DebugViewModel } from './debug-view-model';
|
|
7
|
+
import { DebugAction } from './debug-action';
|
|
8
|
+
export declare class DebugToolBar extends ReactWidget {
|
|
9
|
+
static readonly MENU: MenuPath;
|
|
10
|
+
protected readonly commandRegistry: CommandRegistry;
|
|
11
|
+
protected readonly menuModelRegistry: MenuModelRegistry;
|
|
12
|
+
protected readonly contextKeyService: ContextKeyService;
|
|
13
|
+
protected readonly model: DebugViewModel;
|
|
14
|
+
protected readonly onRender: DisposableCollection;
|
|
15
|
+
protected init(): void;
|
|
16
|
+
focus(): void;
|
|
17
|
+
protected doFocus(): boolean;
|
|
18
|
+
protected stepRef: DebugAction | undefined;
|
|
19
|
+
protected setStepRef: (stepRef: DebugAction | null) => void;
|
|
20
|
+
protected render(): React.ReactNode;
|
|
21
|
+
protected renderContributedCommands(): React.ReactNode;
|
|
22
|
+
protected debugAction(commandMenuNode: CommandMenu): React.ReactNode;
|
|
23
|
+
protected renderStart(): React.ReactNode;
|
|
24
|
+
protected renderContinue(): React.ReactNode;
|
|
25
|
+
protected start: () => Promise<void>;
|
|
26
|
+
protected restart: () => Promise<void>;
|
|
27
|
+
protected stop: () => Promise<void>;
|
|
28
|
+
protected continue: () => Promise<import("@vscode/debugprotocol").DebugProtocol.ContinueResponse> | undefined;
|
|
29
|
+
protected pause: () => Promise<import("@vscode/debugprotocol").DebugProtocol.PauseResponse> | undefined;
|
|
30
|
+
protected stepOver: () => Promise<import("@vscode/debugprotocol").DebugProtocol.NextResponse> | undefined;
|
|
31
|
+
protected stepIn: () => Promise<import("@vscode/debugprotocol").DebugProtocol.StepInResponse> | undefined;
|
|
32
|
+
protected stepOut: () => Promise<import("@vscode/debugprotocol").DebugProtocol.StepOutResponse> | undefined;
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=debug-toolbar-widget.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-toolbar-widget.d.ts","sourceRoot":"","sources":["../../../src/browser/view/debug-toolbar-widget.tsx"],"names":[],"mappings":";AAgBA,OAAO,KAAK,KAAK,MAAM,0BAA0B,CAAC;AAElD,OAAO,EAAE,WAAW,EAAE,eAAe,EAAgC,oBAAoB,EAAE,iBAAiB,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAC5I,OAAO,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAC;AAChF,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;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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
|
+
var DebugToolBar_1;
|
|
18
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
+
exports.DebugToolBar = void 0;
|
|
20
|
+
const tslib_1 = require("tslib");
|
|
21
|
+
const React = require("@theia/core/shared/react");
|
|
22
|
+
const inversify_1 = require("@theia/core/shared/inversify");
|
|
23
|
+
const core_1 = require("@theia/core");
|
|
24
|
+
const context_key_service_1 = require("@theia/core/lib/browser/context-key-service");
|
|
25
|
+
const widgets_1 = require("@theia/core/lib/browser/widgets");
|
|
26
|
+
const debug_view_model_1 = require("./debug-view-model");
|
|
27
|
+
const debug_session_1 = require("../debug-session");
|
|
28
|
+
const debug_action_1 = require("./debug-action");
|
|
29
|
+
const nls_1 = require("@theia/core/lib/common/nls");
|
|
30
|
+
let DebugToolBar = DebugToolBar_1 = class DebugToolBar extends widgets_1.ReactWidget {
|
|
31
|
+
constructor() {
|
|
32
|
+
super(...arguments);
|
|
33
|
+
this.onRender = new core_1.DisposableCollection();
|
|
34
|
+
this.setStepRef = (stepRef) => {
|
|
35
|
+
this.stepRef = stepRef || undefined;
|
|
36
|
+
this.onRender.dispose();
|
|
37
|
+
};
|
|
38
|
+
this.start = () => this.model.start({ startedByUser: true });
|
|
39
|
+
this.restart = () => this.model.restart();
|
|
40
|
+
this.stop = () => this.model.terminate();
|
|
41
|
+
this.continue = () => this.model.currentThread && this.model.currentThread.continue();
|
|
42
|
+
this.pause = () => this.model.currentThread && this.model.currentThread.pause();
|
|
43
|
+
this.stepOver = () => this.model.currentThread && this.model.currentThread.stepOver();
|
|
44
|
+
this.stepIn = () => this.model.currentThread && this.model.currentThread.stepIn();
|
|
45
|
+
this.stepOut = () => this.model.currentThread && this.model.currentThread.stepOut();
|
|
46
|
+
}
|
|
47
|
+
init() {
|
|
48
|
+
this.id = 'debug:toolbar:' + this.model.id;
|
|
49
|
+
this.addClass('debug-toolbar');
|
|
50
|
+
this.toDispose.push(this.model);
|
|
51
|
+
this.toDispose.push(this.model.onDidChange(() => this.update()));
|
|
52
|
+
this.scrollOptions = undefined;
|
|
53
|
+
this.update();
|
|
54
|
+
}
|
|
55
|
+
focus() {
|
|
56
|
+
if (!this.doFocus()) {
|
|
57
|
+
this.onRender.push(core_1.Disposable.create(() => this.doFocus()));
|
|
58
|
+
this.update();
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
doFocus() {
|
|
62
|
+
if (!this.stepRef) {
|
|
63
|
+
return false;
|
|
64
|
+
}
|
|
65
|
+
this.stepRef.focus();
|
|
66
|
+
return true;
|
|
67
|
+
}
|
|
68
|
+
render() {
|
|
69
|
+
const { state } = this.model;
|
|
70
|
+
return React.createElement(React.Fragment, null,
|
|
71
|
+
this.renderContributedCommands(),
|
|
72
|
+
this.renderContinue(),
|
|
73
|
+
React.createElement(debug_action_1.DebugAction, { enabled: state === debug_session_1.DebugState.Stopped, run: this.stepOver, label: nls_1.nls.localizeByDefault('Step Over'), iconClass: 'debug-step-over', ref: this.setStepRef }),
|
|
74
|
+
React.createElement(debug_action_1.DebugAction, { enabled: state === debug_session_1.DebugState.Stopped, run: this.stepIn, label: nls_1.nls.localizeByDefault('Step Into'), iconClass: 'debug-step-into' }),
|
|
75
|
+
React.createElement(debug_action_1.DebugAction, { enabled: state === debug_session_1.DebugState.Stopped, run: this.stepOut, label: nls_1.nls.localizeByDefault('Step Out'), iconClass: 'debug-step-out' }),
|
|
76
|
+
React.createElement(debug_action_1.DebugAction, { enabled: state !== debug_session_1.DebugState.Inactive, run: this.restart, label: nls_1.nls.localizeByDefault('Restart'), iconClass: 'debug-restart' }),
|
|
77
|
+
this.renderStart());
|
|
78
|
+
}
|
|
79
|
+
renderContributedCommands() {
|
|
80
|
+
const debugActions = [];
|
|
81
|
+
// first, search for CompoundMenuNodes:
|
|
82
|
+
this.menuModelRegistry.getMenu(DebugToolBar_1.MENU).children.forEach(compoundMenuNode => {
|
|
83
|
+
if (core_1.CompoundMenuNode.is(compoundMenuNode) && compoundMenuNode.isVisible(DebugToolBar_1.MENU, this.contextKeyService, this.node)) {
|
|
84
|
+
// second, search for nested CommandMenuNodes:
|
|
85
|
+
compoundMenuNode.children.forEach(commandMenuNode => {
|
|
86
|
+
if (core_1.CommandMenu.is(commandMenuNode) && commandMenuNode.isVisible(DebugToolBar_1.MENU, this.contextKeyService, this.node)) {
|
|
87
|
+
debugActions.push(this.debugAction(commandMenuNode));
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
return debugActions;
|
|
93
|
+
}
|
|
94
|
+
debugAction(commandMenuNode) {
|
|
95
|
+
return React.createElement(debug_action_1.DebugAction, { key: commandMenuNode.id, enabled: true, label: commandMenuNode.label, iconClass: commandMenuNode.icon || '', run: commandMenuNode.run });
|
|
96
|
+
}
|
|
97
|
+
renderStart() {
|
|
98
|
+
const { state } = this.model;
|
|
99
|
+
if (state === debug_session_1.DebugState.Inactive && this.model.sessionCount === 1) {
|
|
100
|
+
return React.createElement(debug_action_1.DebugAction, { run: this.start, label: nls_1.nls.localizeByDefault('Start'), iconClass: 'debug-start' });
|
|
101
|
+
}
|
|
102
|
+
return React.createElement(debug_action_1.DebugAction, { enabled: state !== debug_session_1.DebugState.Inactive, run: this.stop, label: nls_1.nls.localizeByDefault('Stop'), iconClass: 'debug-stop' });
|
|
103
|
+
}
|
|
104
|
+
renderContinue() {
|
|
105
|
+
const { state } = this.model;
|
|
106
|
+
if (state === debug_session_1.DebugState.Stopped) {
|
|
107
|
+
return React.createElement(debug_action_1.DebugAction, { run: this.continue, label: nls_1.nls.localizeByDefault('Continue'), iconClass: 'debug-continue' });
|
|
108
|
+
}
|
|
109
|
+
return React.createElement(debug_action_1.DebugAction, { enabled: state === debug_session_1.DebugState.Running, run: this.pause, label: nls_1.nls.localizeByDefault('Pause'), iconClass: 'debug-pause' });
|
|
110
|
+
}
|
|
111
|
+
};
|
|
112
|
+
exports.DebugToolBar = DebugToolBar;
|
|
113
|
+
DebugToolBar.MENU = ['debug-toolbar-menu'];
|
|
114
|
+
tslib_1.__decorate([
|
|
115
|
+
(0, inversify_1.inject)(core_1.CommandRegistry),
|
|
116
|
+
tslib_1.__metadata("design:type", core_1.CommandRegistry)
|
|
117
|
+
], DebugToolBar.prototype, "commandRegistry", void 0);
|
|
118
|
+
tslib_1.__decorate([
|
|
119
|
+
(0, inversify_1.inject)(core_1.MenuModelRegistry),
|
|
120
|
+
tslib_1.__metadata("design:type", core_1.MenuModelRegistry)
|
|
121
|
+
], DebugToolBar.prototype, "menuModelRegistry", void 0);
|
|
122
|
+
tslib_1.__decorate([
|
|
123
|
+
(0, inversify_1.inject)(context_key_service_1.ContextKeyService),
|
|
124
|
+
tslib_1.__metadata("design:type", Object)
|
|
125
|
+
], DebugToolBar.prototype, "contextKeyService", void 0);
|
|
126
|
+
tslib_1.__decorate([
|
|
127
|
+
(0, inversify_1.inject)(debug_view_model_1.DebugViewModel),
|
|
128
|
+
tslib_1.__metadata("design:type", debug_view_model_1.DebugViewModel)
|
|
129
|
+
], DebugToolBar.prototype, "model", void 0);
|
|
130
|
+
tslib_1.__decorate([
|
|
131
|
+
(0, inversify_1.postConstruct)(),
|
|
132
|
+
tslib_1.__metadata("design:type", Function),
|
|
133
|
+
tslib_1.__metadata("design:paramtypes", []),
|
|
134
|
+
tslib_1.__metadata("design:returntype", void 0)
|
|
135
|
+
], DebugToolBar.prototype, "init", null);
|
|
136
|
+
exports.DebugToolBar = DebugToolBar = DebugToolBar_1 = tslib_1.__decorate([
|
|
137
|
+
(0, inversify_1.injectable)()
|
|
138
|
+
], DebugToolBar);
|
|
139
|
+
//# sourceMappingURL=debug-toolbar-widget.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-toolbar-widget.js","sourceRoot":"","sources":["../../../src/browser/view/debug-toolbar-widget.tsx"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,+CAA+C;AAC/C,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,4DAAiF;AACjF,sCAA4I;AAC5I,qFAAgF;AAChF,6DAA8D;AAC9D,yDAAoD;AACpD,oDAA8C;AAC9C,iDAA6C;AAC7C,oDAAiD;AAG1C,IAAM,YAAY,oBAAlB,MAAM,YAAa,SAAQ,qBAAW;IAAtC;;QASgB,aAAQ,GAAG,IAAI,2BAAoB,EAAE,CAAC;QA0B/C,eAAU,GAAG,CAAC,OAA2B,EAAE,EAAE;YACnD,IAAI,CAAC,OAAO,GAAG,OAAO,IAAI,SAAS,CAAC;YACpC,IAAI,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC;QAC5B,CAAC,CAAC;QA2DQ,UAAK,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC,CAAC;QACxD,YAAO,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;QACrC,SAAI,GAAG,GAAG,EAAE,CAAC,I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iB,CAAC;sCAAuC,wBAAiB;uDAAC;AACrC;IAA7C,IAAA,kBAAM,EAAC,uCAAiB,CAAC;;uDAAyD;AACxC;IAA1C,IAAA,kBAAM,EAAC,iCAAc,CAAC;sCAA2B,iCAAc;2CAAC;AAKvD;IADT,IAAA,yBAAa,GAAE;;;;wCAQf;uBAnBQ,YAAY;IADxB,IAAA,sBAAU,GAAE;GACA,YAAY,CA0GxB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TreeSource } from '@theia/core/lib/browser/source-tree';
|
|
2
|
+
import { DebugScope } from '../console/debug-console-items';
|
|
3
|
+
import { DebugViewModel } from './debug-view-model';
|
|
4
|
+
export declare class DebugVariablesSource extends TreeSource {
|
|
5
|
+
protected readonly model: DebugViewModel;
|
|
6
|
+
protected init(): void;
|
|
7
|
+
protected readonly refresh: () => Promise<void>;
|
|
8
|
+
getElements(): Promise<IterableIterator<DebugScope>>;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=debug-variables-source.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-variables-source.d.ts","sourceRoot":"","sources":["../../../src/browser/view/debug-variables-source.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAGpD,qBACa,oBAAqB,SAAQ,UAAU;IAGhD,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAE,cAAc,CAAC;IAGzC,SAAS,CAAC,IAAI,IAAI,IAAI;IAMtB,SAAS,CAAC,QAAQ,CAAC,OAAO,sBAA6C;IAEjE,WAAW,IAAI,OAAO,CAAC,gBAAgB,CAAC,UAAU,CAAC,CAAC;CAM7D"}
|