@theia/debug 1.67.0-next.13 → 1.67.0-next.56
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/README.md +1 -1
- package/package.json +15 -15
- package/src/browser/breakpoint/breakpoint-manager.ts +69 -16
- package/src/browser/breakpoint/breakpoint-marker.ts +38 -0
- package/src/browser/breakpoint/debug-data-breakpoint-actions.ts +170 -0
- package/src/browser/console/debug-console-items.tsx +5 -1
- package/src/browser/debug-frontend-application-contribution.ts +19 -0
- package/src/browser/debug-frontend-module.ts +2 -0
- package/src/browser/debug-session-manager.ts +18 -0
- package/src/browser/debug-session.tsx +31 -0
- package/src/browser/model/debug-data-breakpoint.tsx +79 -0
- package/src/browser/style/index.css +4 -0
- package/src/browser/view/debug-breakpoints-source.tsx +4 -10
- package/src/browser/view/debug-stack-frames-widget.ts +6 -2
- package/src/browser/view/debug-variables-widget.ts +99 -2
- package/src/browser/view/debug-view-model.ts +5 -0
- package/lib/browser/breakpoint/breakpoint-manager.d.ts +0 -71
- package/lib/browser/breakpoint/breakpoint-manager.d.ts.map +0 -1
- package/lib/browser/breakpoint/breakpoint-manager.js +0 -321
- package/lib/browser/breakpoint/breakpoint-manager.js.map +0 -1
- package/lib/browser/breakpoint/breakpoint-marker.d.ts +0 -42
- package/lib/browser/breakpoint/breakpoint-marker.d.ts.map +0 -1
- package/lib/browser/breakpoint/breakpoint-marker.js +0 -88
- package/lib/browser/breakpoint/breakpoint-marker.js.map +0 -1
- package/lib/browser/console/debug-console-contribution.d.ts +0 -45
- package/lib/browser/console/debug-console-contribution.d.ts.map +0 -1
- package/lib/browser/console/debug-console-contribution.js +0 -233
- package/lib/browser/console/debug-console-contribution.js.map +0 -1
- package/lib/browser/console/debug-console-items.d.ts +0 -97
- package/lib/browser/console/debug-console-items.d.ts.map +0 -1
- package/lib/browser/console/debug-console-items.js +0 -343
- package/lib/browser/console/debug-console-items.js.map +0 -1
- package/lib/browser/console/debug-console-session.d.ts +0 -32
- package/lib/browser/console/debug-console-session.d.ts.map +0 -1
- package/lib/browser/console/debug-console-session.js +0 -192
- package/lib/browser/console/debug-console-session.js.map +0 -1
- package/lib/browser/debug-call-stack-item-type-key.d.ts +0 -4
- package/lib/browser/debug-call-stack-item-type-key.d.ts.map +0 -1
- package/lib/browser/debug-call-stack-item-type-key.js +0 -20
- package/lib/browser/debug-call-stack-item-type-key.js.map +0 -1
- package/lib/browser/debug-configuration-manager.d.ts +0 -103
- package/lib/browser/debug-configuration-manager.d.ts.map +0 -1
- package/lib/browser/debug-configuration-manager.js +0 -545
- package/lib/browser/debug-configuration-manager.js.map +0 -1
- package/lib/browser/debug-configuration-model.d.ts +0 -30
- package/lib/browser/debug-configuration-model.d.ts.map +0 -1
- package/lib/browser/debug-configuration-model.js +0 -80
- package/lib/browser/debug-configuration-model.js.map +0 -1
- package/lib/browser/debug-contribution.d.ts +0 -23
- package/lib/browser/debug-contribution.d.ts.map +0 -1
- package/lib/browser/debug-contribution.js +0 -20
- package/lib/browser/debug-contribution.js.map +0 -1
- package/lib/browser/debug-frontend-application-contribution.d.ts +0 -249
- package/lib/browser/debug-frontend-application-contribution.d.ts.map +0 -1
- package/lib/browser/debug-frontend-application-contribution.js +0 -1678
- package/lib/browser/debug-frontend-application-contribution.js.map +0 -1
- package/lib/browser/debug-frontend-module.d.ts +0 -5
- package/lib/browser/debug-frontend-module.d.ts.map +0 -1
- package/lib/browser/debug-frontend-module.js +0 -110
- package/lib/browser/debug-frontend-module.js.map +0 -1
- package/lib/browser/debug-package.spec.d.ts +0 -1
- package/lib/browser/debug-package.spec.d.ts.map +0 -1
- package/lib/browser/debug-package.spec.js +0 -19
- package/lib/browser/debug-package.spec.js.map +0 -1
- package/lib/browser/debug-prefix-configuration.d.ts +0 -52
- package/lib/browser/debug-prefix-configuration.d.ts.map +0 -1
- package/lib/browser/debug-prefix-configuration.js +0 -202
- package/lib/browser/debug-prefix-configuration.js.map +0 -1
- package/lib/browser/debug-resource.d.ts +0 -15
- package/lib/browser/debug-resource.d.ts.map +0 -1
- package/lib/browser/debug-resource.js +0 -58
- package/lib/browser/debug-resource.js.map +0 -1
- package/lib/browser/debug-schema-updater.d.ts +0 -14
- package/lib/browser/debug-schema-updater.d.ts.map +0 -1
- package/lib/browser/debug-schema-updater.js +0 -161
- package/lib/browser/debug-schema-updater.js.map +0 -1
- package/lib/browser/debug-session-configuration-label-provider.d.ts +0 -11
- package/lib/browser/debug-session-configuration-label-provider.d.ts.map +0 -1
- package/lib/browser/debug-session-configuration-label-provider.js +0 -48
- package/lib/browser/debug-session-configuration-label-provider.js.map +0 -1
- package/lib/browser/debug-session-configuration-label-provider.spec.d.ts +0 -2
- package/lib/browser/debug-session-configuration-label-provider.spec.d.ts.map +0 -1
- package/lib/browser/debug-session-configuration-label-provider.spec.js +0 -84
- package/lib/browser/debug-session-configuration-label-provider.spec.js.map +0 -1
- package/lib/browser/debug-session-connection.d.ts +0 -111
- package/lib/browser/debug-session-connection.d.ts.map +0 -1
- package/lib/browser/debug-session-connection.js +0 -259
- package/lib/browser/debug-session-connection.js.map +0 -1
- package/lib/browser/debug-session-contribution.d.ts +0 -77
- package/lib/browser/debug-session-contribution.d.ts.map +0 -1
- package/lib/browser/debug-session-contribution.js +0 -143
- package/lib/browser/debug-session-contribution.js.map +0 -1
- package/lib/browser/debug-session-manager.d.ts +0 -138
- package/lib/browser/debug-session-manager.d.ts.map +0 -1
- package/lib/browser/debug-session-manager.js +0 -620
- package/lib/browser/debug-session-manager.js.map +0 -1
- package/lib/browser/debug-session-options.d.ts +0 -56
- package/lib/browser/debug-session-options.d.ts.map +0 -1
- package/lib/browser/debug-session-options.js +0 -92
- package/lib/browser/debug-session-options.js.map +0 -1
- package/lib/browser/debug-session.d.ts +0 -192
- package/lib/browser/debug-session.d.ts.map +0 -1
- package/lib/browser/debug-session.js +0 -913
- package/lib/browser/debug-session.js.map +0 -1
- package/lib/browser/debug-tab-bar-decorator.d.ts +0 -17
- package/lib/browser/debug-tab-bar-decorator.d.ts.map +0 -1
- package/lib/browser/debug-tab-bar-decorator.js +0 -63
- package/lib/browser/debug-tab-bar-decorator.js.map +0 -1
- package/lib/browser/debug-watch-manager.d.ts +0 -22
- package/lib/browser/debug-watch-manager.d.ts.map +0 -1
- package/lib/browser/debug-watch-manager.js +0 -86
- package/lib/browser/debug-watch-manager.js.map +0 -1
- package/lib/browser/disassembly-view/disassembly-view-accessibility-provider.d.ts +0 -7
- package/lib/browser/disassembly-view/disassembly-view-accessibility-provider.d.ts.map +0 -1
- package/lib/browser/disassembly-view/disassembly-view-accessibility-provider.js +0 -39
- package/lib/browser/disassembly-view/disassembly-view-accessibility-provider.js.map +0 -1
- package/lib/browser/disassembly-view/disassembly-view-breakpoint-renderer.d.ts +0 -20
- package/lib/browser/disassembly-view/disassembly-view-breakpoint-renderer.d.ts.map +0 -1
- package/lib/browser/disassembly-view/disassembly-view-breakpoint-renderer.js +0 -111
- package/lib/browser/disassembly-view/disassembly-view-breakpoint-renderer.js.map +0 -1
- package/lib/browser/disassembly-view/disassembly-view-contribution.d.ts +0 -25
- package/lib/browser/disassembly-view/disassembly-view-contribution.d.ts.map +0 -1
- package/lib/browser/disassembly-view/disassembly-view-contribution.js +0 -124
- package/lib/browser/disassembly-view/disassembly-view-contribution.js.map +0 -1
- package/lib/browser/disassembly-view/disassembly-view-instruction-renderer.d.ts +0 -39
- package/lib/browser/disassembly-view/disassembly-view-instruction-renderer.d.ts.map +0 -1
- package/lib/browser/disassembly-view/disassembly-view-instruction-renderer.js +0 -213
- package/lib/browser/disassembly-view/disassembly-view-instruction-renderer.js.map +0 -1
- package/lib/browser/disassembly-view/disassembly-view-table-delegate.d.ts +0 -16
- package/lib/browser/disassembly-view/disassembly-view-table-delegate.d.ts.map +0 -1
- package/lib/browser/disassembly-view/disassembly-view-table-delegate.js +0 -39
- package/lib/browser/disassembly-view/disassembly-view-table-delegate.js.map +0 -1
- package/lib/browser/disassembly-view/disassembly-view-utilities.d.ts +0 -38
- package/lib/browser/disassembly-view/disassembly-view-utilities.d.ts.map +0 -1
- package/lib/browser/disassembly-view/disassembly-view-utilities.js +0 -18
- package/lib/browser/disassembly-view/disassembly-view-utilities.js.map +0 -1
- package/lib/browser/disassembly-view/disassembly-view-widget.d.ts +0 -61
- package/lib/browser/disassembly-view/disassembly-view-widget.d.ts.map +0 -1
- package/lib/browser/disassembly-view/disassembly-view-widget.js +0 -446
- package/lib/browser/disassembly-view/disassembly-view-widget.js.map +0 -1
- package/lib/browser/editor/debug-breakpoint-widget.d.ts +0 -58
- package/lib/browser/editor/debug-breakpoint-widget.d.ts.map +0 -1
- package/lib/browser/editor/debug-breakpoint-widget.js +0 -270
- package/lib/browser/editor/debug-breakpoint-widget.js.map +0 -1
- package/lib/browser/editor/debug-editor-model.d.ts +0 -87
- package/lib/browser/editor/debug-editor-model.d.ts.map +0 -1
- package/lib/browser/editor/debug-editor-model.js +0 -499
- package/lib/browser/editor/debug-editor-model.js.map +0 -1
- package/lib/browser/editor/debug-editor-service.d.ts +0 -38
- package/lib/browser/editor/debug-editor-service.d.ts.map +0 -1
- package/lib/browser/editor/debug-editor-service.js +0 -183
- package/lib/browser/editor/debug-editor-service.js.map +0 -1
- package/lib/browser/editor/debug-editor.d.ts +0 -4
- package/lib/browser/editor/debug-editor.d.ts.map +0 -1
- package/lib/browser/editor/debug-editor.js +0 -20
- package/lib/browser/editor/debug-editor.js.map +0 -1
- package/lib/browser/editor/debug-exception-widget.d.ts +0 -30
- package/lib/browser/editor/debug-exception-widget.d.ts.map +0 -1
- package/lib/browser/editor/debug-exception-widget.js +0 -107
- package/lib/browser/editor/debug-exception-widget.js.map +0 -1
- package/lib/browser/editor/debug-expression-provider.d.ts +0 -17
- package/lib/browser/editor/debug-expression-provider.d.ts.map +0 -1
- package/lib/browser/editor/debug-expression-provider.js +0 -107
- package/lib/browser/editor/debug-expression-provider.js.map +0 -1
- package/lib/browser/editor/debug-hover-source.d.ts +0 -19
- package/lib/browser/editor/debug-hover-source.d.ts.map +0 -1
- package/lib/browser/editor/debug-hover-source.js +0 -110
- package/lib/browser/editor/debug-hover-source.js.map +0 -1
- package/lib/browser/editor/debug-hover-widget.d.ts +0 -61
- package/lib/browser/editor/debug-hover-widget.d.ts.map +0 -1
- package/lib/browser/editor/debug-hover-widget.js +0 -271
- package/lib/browser/editor/debug-hover-widget.js.map +0 -1
- package/lib/browser/editor/debug-inline-value-decorator.d.ts +0 -20
- package/lib/browser/editor/debug-inline-value-decorator.d.ts.map +0 -1
- package/lib/browser/editor/debug-inline-value-decorator.js +0 -326
- package/lib/browser/editor/debug-inline-value-decorator.js.map +0 -1
- package/lib/browser/model/debug-breakpoint.d.ts +0 -48
- package/lib/browser/model/debug-breakpoint.d.ts.map +0 -1
- package/lib/browser/model/debug-breakpoint.js +0 -111
- package/lib/browser/model/debug-breakpoint.js.map +0 -1
- package/lib/browser/model/debug-function-breakpoint.d.ts +0 -19
- package/lib/browser/model/debug-function-breakpoint.d.ts.map +0 -1
- package/lib/browser/model/debug-function-breakpoint.js +0 -93
- package/lib/browser/model/debug-function-breakpoint.js.map +0 -1
- package/lib/browser/model/debug-instruction-breakpoint.d.ts +0 -15
- package/lib/browser/model/debug-instruction-breakpoint.d.ts.map +0 -1
- package/lib/browser/model/debug-instruction-breakpoint.js +0 -66
- package/lib/browser/model/debug-instruction-breakpoint.js.map +0 -1
- package/lib/browser/model/debug-source-breakpoint.d.ts +0 -39
- package/lib/browser/model/debug-source-breakpoint.d.ts.map +0 -1
- package/lib/browser/model/debug-source-breakpoint.js +0 -219
- package/lib/browser/model/debug-source-breakpoint.js.map +0 -1
- package/lib/browser/model/debug-source.d.ts +0 -25
- package/lib/browser/model/debug-source.d.ts.map +0 -1
- package/lib/browser/model/debug-source.js +0 -81
- package/lib/browser/model/debug-source.js.map +0 -1
- package/lib/browser/model/debug-stack-frame.d.ts +0 -45
- package/lib/browser/model/debug-stack-frame.d.ts.map +0 -1
- package/lib/browser/model/debug-stack-frame.js +0 -157
- package/lib/browser/model/debug-stack-frame.js.map +0 -1
- package/lib/browser/model/debug-thread.d.ts +0 -68
- package/lib/browser/model/debug-thread.d.ts.map +0 -1
- package/lib/browser/model/debug-thread.js +0 -262
- package/lib/browser/model/debug-thread.js.map +0 -1
- package/lib/browser/view/debug-action.d.ts +0 -18
- package/lib/browser/view/debug-action.d.ts.map +0 -1
- package/lib/browser/view/debug-action.js +0 -44
- package/lib/browser/view/debug-action.js.map +0 -1
- package/lib/browser/view/debug-breakpoints-source.d.ts +0 -10
- package/lib/browser/view/debug-breakpoints-source.d.ts.map +0 -1
- package/lib/browser/view/debug-breakpoints-source.js +0 -63
- package/lib/browser/view/debug-breakpoints-source.js.map +0 -1
- package/lib/browser/view/debug-breakpoints-widget.d.ts +0 -23
- package/lib/browser/view/debug-breakpoints-widget.d.ts.map +0 -1
- package/lib/browser/view/debug-breakpoints-widget.js +0 -81
- package/lib/browser/view/debug-breakpoints-widget.js.map +0 -1
- package/lib/browser/view/debug-configuration-select.d.ts +0 -67
- package/lib/browser/view/debug-configuration-select.d.ts.map +0 -1
- package/lib/browser/view/debug-configuration-select.js +0 -212
- package/lib/browser/view/debug-configuration-select.js.map +0 -1
- package/lib/browser/view/debug-configuration-widget.d.ts +0 -33
- package/lib/browser/view/debug-configuration-widget.d.ts.map +0 -1
- package/lib/browser/view/debug-configuration-widget.js +0 -137
- package/lib/browser/view/debug-configuration-widget.js.map +0 -1
- package/lib/browser/view/debug-exception-breakpoint.d.ts +0 -15
- package/lib/browser/view/debug-exception-breakpoint.d.ts.map +0 -1
- package/lib/browser/view/debug-exception-breakpoint.js +0 -62
- package/lib/browser/view/debug-exception-breakpoint.js.map +0 -1
- package/lib/browser/view/debug-session-widget.d.ts +0 -29
- package/lib/browser/view/debug-session-widget.d.ts.map +0 -1
- package/lib/browser/view/debug-session-widget.js +0 -127
- package/lib/browser/view/debug-session-widget.js.map +0 -1
- package/lib/browser/view/debug-stack-frames-source.d.ts +0 -18
- package/lib/browser/view/debug-stack-frames-source.d.ts.map +0 -1
- package/lib/browser/view/debug-stack-frames-source.js +0 -83
- package/lib/browser/view/debug-stack-frames-source.js.map +0 -1
- package/lib/browser/view/debug-stack-frames-widget.d.ts +0 -25
- package/lib/browser/view/debug-stack-frames-widget.d.ts.map +0 -1
- package/lib/browser/view/debug-stack-frames-widget.js +0 -147
- package/lib/browser/view/debug-stack-frames-widget.js.map +0 -1
- package/lib/browser/view/debug-threads-source.d.ts +0 -9
- package/lib/browser/view/debug-threads-source.d.ts.map +0 -1
- package/lib/browser/view/debug-threads-source.js +0 -56
- package/lib/browser/view/debug-threads-source.js.map +0 -1
- package/lib/browser/view/debug-threads-widget.d.ts +0 -27
- package/lib/browser/view/debug-threads-widget.d.ts.map +0 -1
- package/lib/browser/view/debug-threads-widget.js +0 -139
- package/lib/browser/view/debug-threads-widget.js.map +0 -1
- package/lib/browser/view/debug-toolbar-widget.d.ts +0 -34
- package/lib/browser/view/debug-toolbar-widget.d.ts.map +0 -1
- package/lib/browser/view/debug-toolbar-widget.js +0 -139
- package/lib/browser/view/debug-toolbar-widget.js.map +0 -1
- package/lib/browser/view/debug-variables-source.d.ts +0 -10
- package/lib/browser/view/debug-variables-source.d.ts.map +0 -1
- package/lib/browser/view/debug-variables-source.js +0 -53
- package/lib/browser/view/debug-variables-source.js.map +0 -1
- package/lib/browser/view/debug-variables-widget.d.ts +0 -17
- package/lib/browser/view/debug-variables-widget.d.ts.map +0 -1
- package/lib/browser/view/debug-variables-widget.js +0 -71
- package/lib/browser/view/debug-variables-widget.js.map +0 -1
- package/lib/browser/view/debug-view-model.d.ts +0 -53
- package/lib/browser/view/debug-view-model.d.ts.map +0 -1
- package/lib/browser/view/debug-view-model.js +0 -212
- package/lib/browser/view/debug-view-model.js.map +0 -1
- package/lib/browser/view/debug-watch-expression.d.ts +0 -33
- package/lib/browser/view/debug-watch-expression.d.ts.map +0 -1
- package/lib/browser/view/debug-watch-expression.js +0 -93
- package/lib/browser/view/debug-watch-expression.js.map +0 -1
- package/lib/browser/view/debug-watch-source.d.ts +0 -10
- package/lib/browser/view/debug-watch-source.d.ts.map +0 -1
- package/lib/browser/view/debug-watch-source.js +0 -51
- package/lib/browser/view/debug-watch-source.js.map +0 -1
- package/lib/browser/view/debug-watch-widget.d.ts +0 -17
- package/lib/browser/view/debug-watch-widget.d.ts.map +0 -1
- package/lib/browser/view/debug-watch-widget.js +0 -71
- package/lib/browser/view/debug-watch-widget.js.map +0 -1
- package/lib/browser/view/debug-widget.d.ts +0 -24
- package/lib/browser/view/debug-widget.d.ts.map +0 -1
- package/lib/browser/view/debug-widget.js +0 -101
- package/lib/browser/view/debug-widget.js.map +0 -1
- package/lib/common/debug-adapter-contribution-registry.d.ts +0 -60
- package/lib/common/debug-adapter-contribution-registry.d.ts.map +0 -1
- package/lib/common/debug-adapter-contribution-registry.js +0 -205
- package/lib/common/debug-adapter-contribution-registry.js.map +0 -1
- package/lib/common/debug-adapter-session.d.ts +0 -19
- package/lib/common/debug-adapter-session.d.ts.map +0 -1
- package/lib/common/debug-adapter-session.js +0 -79
- package/lib/common/debug-adapter-session.js.map +0 -1
- package/lib/common/debug-common.d.ts +0 -2
- package/lib/common/debug-common.d.ts.map +0 -1
- package/lib/common/debug-common.js +0 -21
- package/lib/common/debug-common.js.map +0 -1
- package/lib/common/debug-compound.d.ts +0 -15
- package/lib/common/debug-compound.d.ts.map +0 -1
- package/lib/common/debug-compound.js +0 -28
- package/lib/common/debug-compound.js.map +0 -1
- package/lib/common/debug-configuration.d.ts +0 -77
- package/lib/common/debug-configuration.d.ts.map +0 -1
- package/lib/common/debug-configuration.js +0 -32
- package/lib/common/debug-configuration.js.map +0 -1
- package/lib/common/debug-model.d.ts +0 -153
- package/lib/common/debug-model.d.ts.map +0 -1
- package/lib/common/debug-model.js +0 -36
- package/lib/common/debug-model.js.map +0 -1
- package/lib/common/debug-preferences.d.ts +0 -18
- package/lib/common/debug-preferences.d.ts.map +0 -1
- package/lib/common/debug-preferences.js +0 -89
- package/lib/common/debug-preferences.js.map +0 -1
- package/lib/common/debug-service.d.ts +0 -124
- package/lib/common/debug-service.d.ts.map +0 -1
- package/lib/common/debug-service.js +0 -67
- package/lib/common/debug-service.js.map +0 -1
- package/lib/common/debug-uri-utils.d.ts +0 -24
- package/lib/common/debug-uri-utils.d.ts.map +0 -1
- package/lib/common/debug-uri-utils.js +0 -27
- package/lib/common/debug-uri-utils.js.map +0 -1
- package/lib/common/inline-debug-adapter.d.ts +0 -19
- package/lib/common/inline-debug-adapter.d.ts.map +0 -1
- package/lib/common/inline-debug-adapter.js +0 -45
- package/lib/common/inline-debug-adapter.js.map +0 -1
- package/lib/common/launch-preferences.d.ts +0 -6
- package/lib/common/launch-preferences.d.ts.map +0 -1
- package/lib/common/launch-preferences.js +0 -37
- package/lib/common/launch-preferences.js.map +0 -1
- package/lib/node/debug-adapter-factory.d.ts +0 -20
- package/lib/node/debug-adapter-factory.d.ts.map +0 -1
- package/lib/node/debug-adapter-factory.js +0 -89
- package/lib/node/debug-adapter-factory.js.map +0 -1
- package/lib/node/debug-adapter-session-manager.d.ts +0 -38
- package/lib/node/debug-adapter-session-manager.d.ts.map +0 -1
- package/lib/node/debug-adapter-session-manager.js +0 -104
- package/lib/node/debug-adapter-session-manager.js.map +0 -1
- package/lib/node/debug-backend-module.d.ts +0 -4
- package/lib/node/debug-backend-module.d.ts.map +0 -1
- package/lib/node/debug-backend-module.js +0 -45
- package/lib/node/debug-backend-module.js.map +0 -1
- package/lib/node/debug-service-impl.d.ts +0 -31
- package/lib/node/debug-service-impl.d.ts.map +0 -1
- package/lib/node/debug-service-impl.js +0 -117
- package/lib/node/debug-service-impl.js.map +0 -1
- package/lib/node/stream-debug-adapter.d.ts +0 -41
- package/lib/node/stream-debug-adapter.d.ts.map +0 -1
- package/lib/node/stream-debug-adapter.js +0 -113
- package/lib/node/stream-debug-adapter.js.map +0 -1
|
@@ -1,147 +0,0 @@
|
|
|
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) && node.element instanceof debug_stack_frames_source_1.LoadMoreStackFrames) {
|
|
115
|
-
node.element.open();
|
|
116
|
-
}
|
|
117
|
-
super.tapNode(node);
|
|
118
|
-
}
|
|
119
|
-
getDefaultNodeStyle(node, props) {
|
|
120
|
-
return undefined;
|
|
121
|
-
}
|
|
122
|
-
};
|
|
123
|
-
exports.DebugStackFramesWidget = DebugStackFramesWidget;
|
|
124
|
-
DebugStackFramesWidget.CONTEXT_MENU = ['debug-frames-context-menu'];
|
|
125
|
-
DebugStackFramesWidget.FACTORY_ID = 'debug:frames';
|
|
126
|
-
tslib_1.__decorate([
|
|
127
|
-
(0, inversify_1.inject)(debug_stack_frames_source_1.DebugStackFramesSource),
|
|
128
|
-
tslib_1.__metadata("design:type", debug_stack_frames_source_1.DebugStackFramesSource)
|
|
129
|
-
], DebugStackFramesWidget.prototype, "frames", void 0);
|
|
130
|
-
tslib_1.__decorate([
|
|
131
|
-
(0, inversify_1.inject)(debug_view_model_1.DebugViewModel),
|
|
132
|
-
tslib_1.__metadata("design:type", debug_view_model_1.DebugViewModel)
|
|
133
|
-
], DebugStackFramesWidget.prototype, "viewModel", void 0);
|
|
134
|
-
tslib_1.__decorate([
|
|
135
|
-
(0, inversify_1.inject)(debug_call_stack_item_type_key_1.DebugCallStackItemTypeKey),
|
|
136
|
-
tslib_1.__metadata("design:type", Object)
|
|
137
|
-
], DebugStackFramesWidget.prototype, "debugCallStackItemTypeKey", void 0);
|
|
138
|
-
tslib_1.__decorate([
|
|
139
|
-
(0, inversify_1.postConstruct)(),
|
|
140
|
-
tslib_1.__metadata("design:type", Function),
|
|
141
|
-
tslib_1.__metadata("design:paramtypes", []),
|
|
142
|
-
tslib_1.__metadata("design:returntype", void 0)
|
|
143
|
-
], DebugStackFramesWidget.prototype, "init", null);
|
|
144
|
-
exports.DebugStackFramesWidget = DebugStackFramesWidget = DebugStackFramesWidget_1 = tslib_1.__decorate([
|
|
145
|
-
(0, inversify_1.injectable)()
|
|
146
|
-
], DebugStackFramesWidget);
|
|
147
|
-
//# sourceMappingURL=debug-stack-frames-widget.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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,g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xB,CAAC;IAEkB,mBAAmB,CAAC,IAAc,EAAE,KAAgB;QACnE,OAAO,SAAS,CAAC;IACrB,CAAC;;AAzGQ,wDAAsB;AAExB,mCAAY,GAAa,CAAC,2BAA2B,CAAC,AAA1C,CAA2C;AACvD,iCAAU,GAAG,cAAc,AAAjB,CAAkB;AAiBhB;IADlB,IAAA,kBAAM,EAAC,kDAAsB,CAAC;sCACJ,kDAAsB;sDAAC;AAG/B;IADlB,IAAA,kBAAM,EAAC,iCAAc,CAAC;sCACO,iCAAc;yDAAC;AAG1B;IADlB,IAAA,kBAAM,EAAC,0DAAyB,CAAC;;yEACsC;AAGrD;IADlB,IAAA,yBAAa,GAAE;;;;kDAWf;iCAvCQ,sBAAsB;IADlC,IAAA,sBAAU,GAAE;GACA,sBAAsB,CA2GlC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { TreeSource, TreeElement } from '@theia/core/lib/browser/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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,56 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,27 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,139 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"debug-threads-widget.js","sourceRoot":"","sources":["../../../src/browser/view/debug-threads-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;AAExG,qDAAkF;AAClF,qEAAwF;AACxF,iEAA4D;AAC5D,oDAAgD;AAChD,wDAAoD;AACpD,+DAA0D;AAC1D,sFAA8E;AAC9E,oDAAiD;AAG1C,IAAM,kBAAkB,0BAAxB,MAAM,kBAAmB,SAAQ,8BAAgB;IAAjD;;QA2CO,sBAAiB,GAAG,KAAK,CAAC;IAsDxC,CAAC;IA1FG,MAAM,CAAU,eAAe,CAAC,MAA4B;QACxD,MAAM,KAAK,GAAG,8BAAgB,CAAC,eAAe,CAAC,MAAM,EAAE;YACnD,eAAe,EAAE,oBAAkB,CAAC,YAAY;YAChD,WAAW,EAAE,KAAK;YAClB,cAAc,EAAE,IAAI;SACvB,CAAC,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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
|
|
@@ -1 +0,0 @@
|
|
|
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;AAG7C,qBACa,YAAa,SAAQ,WAAW;IAEzC,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAA0B;IAE/B,SAAS,CAAC,QAAQ,CAAC,eAAe,EAAE,eAAe,CAAC;IAClD,SAAS,CAAC,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IACxD,SAAS,CAAC,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAC3D,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAE,cAAc,CAAC;IAEjE,SAAS,CAAC,QAAQ,CAAC,QAAQ,uBAA8B;IAGzD,SAAS,CAAC,IAAI,IAAI,IAAI;IAStB,KAAK,IAAI,IAAI;IAMb,SAAS,CAAC,OAAO,IAAI,OAAO;IAO5B,SAAS,CAAC,OAAO,EAAE,WAAW,GAAG,SAAS,CAAC;IAC3C,SAAS,CAAC,UAAU,YAAa,WAAW,GAAG,IAAI,UAGjD;IAEF,SAAS,CAAC,MAAM,IAAI,KAAK,CAAC,SAAS;IAiBnC,SAAS,CAAC,yBAAyB,IAAI,KAAK,CAAC,SAAS;IAgBtD,SAAS,CAAC,WAAW,CAAC,eAAe,EAAE,WAAW,GAAG,KAAK,CAAC,SAAS;IASpE,SAAS,CAAC,WAAW,IAAI,KAAK,CAAC,SAAS;IAOxC,SAAS,CAAC,cAAc,IAAI,KAAK,CAAC,SAAS;IAQ3C,SAAS,CAAC,KAAK,sBAAmD;IAClE,SAAS,CAAC,OAAO,sBAA8B;IAC/C,SAAS,CAAC,IAAI,sBAAgC;IAC9C,SAAS,CAAC,QAAQ,4FAAyE;IAC3F,SAAS,CAAC,KAAK,yFAAsE;IACrF,SAAS,CAAC,QAAQ,wFAAyE;IAC3F,SAAS,CAAC,MAAM,0FAAuE;IACvF,SAAS,CAAC,OAAO,2FAAwE;CAE5F"}
|
|
@@ -1,139 +0,0 @@
|
|
|
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 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
|
|
@@ -1 +0,0 @@
|
|
|
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,6DAA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CAAC;YAC/B,OAAO,oBAAC,0BAAW,IAAC,GAAG,EAAE,IAAI,CAAC,QAAQ,EAAE,KAAK,EAAE,SAAG,CAAC,iBAAiB,CAAC,UAAU,CAAC,EAAE,SAAS,EAAC,gBAAgB,GAAG,CAAC;QACpH,CAAC;QACD,OAAO,oBAAC,0BAAW,IAAC,OAAO,EAAE,KAAK,KAAK,0BAAU,CAAC,OAAO,EAAE,GAAG,EAAE,IAAI,CAAC,KAAK,EAAE,KAAK,EAAE,SAAG,CAAC,iBAAiB,CAAC,OAAO,CAAC,EAAE,SAAS,EAAC,aAAa,GAAG,CAAC;IAClJ,CAAC;;AA/FQ,oCAAY;AAEL,iBAAI,GAAa,CAAC,oBAAoB,CAAC,AAAnC,CAAoC;AAEZ;IAA3C,IAAA,kBAAM,EAAC,sBAAe,CAAC;sCAAqC,sBAAe;qDAAC;AAC/B;IAA7C,IAAA,kBAAM,EAAC,wBAAiB,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"}
|
|
@@ -1,10 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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;IAKtB,SAAS,CAAC,QAAQ,CAAC,OAAO,sBAA6C;IAEjE,WAAW,IAAI,OAAO,CAAC,gBAAgB,CAAC,UAAU,CAAC,CAAC;CAM7D"}
|