@theia/debug 1.67.0-next.3 → 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 +52 -0
- package/src/browser/debug-frontend-module.ts +4 -0
- package/src/browser/debug-session-manager.ts +18 -0
- package/src/browser/debug-session.tsx +31 -0
- package/src/browser/editor/debug-expression-provider.ts +49 -4
- package/src/browser/editor/debug-hover-widget.ts +7 -52
- 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 -246
- package/lib/browser/debug-frontend-application-contribution.d.ts.map +0 -1
- package/lib/browser/debug-frontend-application-contribution.js +0 -1645
- 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 -108
- 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 -12
- package/lib/browser/editor/debug-expression-provider.d.ts.map +0 -1
- package/lib/browser/editor/debug-expression-provider.js +0 -77
- 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 -304
- 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,124 +0,0 @@
|
|
|
1
|
-
import { Channel, Disposable, Event } from '@theia/core';
|
|
2
|
-
import { ApplicationError } from '@theia/core/lib/common/application-error';
|
|
3
|
-
import { IJSONSchema, IJSONSchemaSnippet } from '@theia/core/lib/common/json-schema';
|
|
4
|
-
import { CommandIdVariables } from '@theia/variable-resolver/lib/common/variable-types';
|
|
5
|
-
import { DebugConfiguration } from './debug-configuration';
|
|
6
|
-
export interface DebuggerDescription {
|
|
7
|
-
type: string;
|
|
8
|
-
label: string;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* The WS endpoint path to the Debug service.
|
|
12
|
-
*/
|
|
13
|
-
export declare const DebugPath = "/services/debug";
|
|
14
|
-
/**
|
|
15
|
-
* DebugService symbol for DI.
|
|
16
|
-
*/
|
|
17
|
-
export declare const DebugService: unique symbol;
|
|
18
|
-
/**
|
|
19
|
-
* This service provides functionality to configure and to start a new debug adapter session.
|
|
20
|
-
* The workflow is the following. If user wants to debug an application and
|
|
21
|
-
* there is no debug configuration associated with the application then
|
|
22
|
-
* the list of available providers is requested to create suitable debug configuration.
|
|
23
|
-
* When configuration is chosen it is possible to alter the configuration
|
|
24
|
-
* by filling in missing values or by adding/changing/removing attributes. For this purpose the
|
|
25
|
-
* #resolveDebugConfiguration method is invoked. After that the debug adapter session will be started.
|
|
26
|
-
*/
|
|
27
|
-
export interface DebugService extends Disposable {
|
|
28
|
-
onDidChangeDebuggers?: Event<void>;
|
|
29
|
-
/**
|
|
30
|
-
* Finds and returns an array of registered debug types.
|
|
31
|
-
* @returns An array of registered debug types
|
|
32
|
-
*/
|
|
33
|
-
debugTypes(): Promise<string[]>;
|
|
34
|
-
getDebuggersForLanguage(language: string): Promise<DebuggerDescription[]>;
|
|
35
|
-
/**
|
|
36
|
-
* Provide debugger contributed variables
|
|
37
|
-
* see "variables" at https://code.visualstudio.com/api/references/contribution-points#contributes.debuggers
|
|
38
|
-
*/
|
|
39
|
-
provideDebuggerVariables(debugType: string): Promise<CommandIdVariables>;
|
|
40
|
-
/**
|
|
41
|
-
* Provides the schema attributes.
|
|
42
|
-
* @param debugType The registered debug type
|
|
43
|
-
* @returns An JSON Schema describing the configuration attributes for the given debug type
|
|
44
|
-
*/
|
|
45
|
-
getSchemaAttributes(debugType: string): Promise<IJSONSchema[]>;
|
|
46
|
-
getConfigurationSnippets(): Promise<IJSONSchemaSnippet[]>;
|
|
47
|
-
/**
|
|
48
|
-
* Provides initial [debug configuration](#DebugConfiguration).
|
|
49
|
-
* @param debugType The registered debug type
|
|
50
|
-
* @returns An array of [debug configurations](#DebugConfiguration)
|
|
51
|
-
*/
|
|
52
|
-
provideDebugConfigurations(debugType: string, workspaceFolderUri: string | undefined): Promise<DebugConfiguration[]>;
|
|
53
|
-
/**
|
|
54
|
-
* @returns A Record of debug configuration provider types and a corresponding dynamic debug configurations array
|
|
55
|
-
*/
|
|
56
|
-
provideDynamicDebugConfigurations?(folder?: string): Promise<Record<string, DebugConfiguration[]>>;
|
|
57
|
-
/**
|
|
58
|
-
* Provides a dynamic debug configuration matching the name and the provider debug type
|
|
59
|
-
*/
|
|
60
|
-
fetchDynamicDebugConfiguration(name: string, type: string, folder?: string): Promise<DebugConfiguration | undefined>;
|
|
61
|
-
/**
|
|
62
|
-
* Resolves a [debug configuration](#DebugConfiguration) by filling in missing values
|
|
63
|
-
* or by adding/changing/removing attributes before variable substitution.
|
|
64
|
-
* @param debugConfiguration The [debug configuration](#DebugConfiguration) to resolve.
|
|
65
|
-
* @returns The resolved debug configuration, undefined or null.
|
|
66
|
-
*/
|
|
67
|
-
resolveDebugConfiguration(config: DebugConfiguration, workspaceFolderUri: string | undefined): Promise<DebugConfiguration | undefined | null>;
|
|
68
|
-
/**
|
|
69
|
-
* Resolves a [debug configuration](#DebugConfiguration) by filling in missing values
|
|
70
|
-
* or by adding/changing/removing attributes with substituted variables.
|
|
71
|
-
* @param debugConfiguration The [debug configuration](#DebugConfiguration) to resolve.
|
|
72
|
-
* @returns The resolved debug configuration, undefined or null.
|
|
73
|
-
*/
|
|
74
|
-
resolveDebugConfigurationWithSubstitutedVariables(config: DebugConfiguration, workspaceFolderUri: string | undefined): Promise<DebugConfiguration | undefined | null>;
|
|
75
|
-
/**
|
|
76
|
-
* Creates a new [debug adapter session](#DebugAdapterSession).
|
|
77
|
-
* @param config The resolved [debug configuration](#DebugConfiguration).
|
|
78
|
-
* @param workspaceFolderUri The workspace folder for this sessions or undefined when folderless
|
|
79
|
-
* @returns The identifier of the created [debug adapter session](#DebugAdapterSession).
|
|
80
|
-
*/
|
|
81
|
-
createDebugSession(config: DebugConfiguration, workspaceFolderUri: string | undefined): Promise<string>;
|
|
82
|
-
/**
|
|
83
|
-
* Stop a running session for the given session id.
|
|
84
|
-
*/
|
|
85
|
-
terminateDebugSession(sessionId: string): Promise<void>;
|
|
86
|
-
/**
|
|
87
|
-
* Event handle to indicate when one or more dynamic debug configuration providers
|
|
88
|
-
* have been registered or unregistered.
|
|
89
|
-
*/
|
|
90
|
-
onDidChangeDebugConfigurationProviders: Event<void>;
|
|
91
|
-
}
|
|
92
|
-
/**
|
|
93
|
-
* The endpoint path to the debug adapter session.
|
|
94
|
-
*/
|
|
95
|
-
export declare const DebugAdapterPath = "/services/debug-adapter";
|
|
96
|
-
export declare namespace DebugError {
|
|
97
|
-
const NotFound: ApplicationError.Constructor<-41000, {
|
|
98
|
-
type: string;
|
|
99
|
-
}>;
|
|
100
|
-
}
|
|
101
|
-
/**
|
|
102
|
-
* A closeable channel to send debug protocol messages over with error/close handling
|
|
103
|
-
*/
|
|
104
|
-
export interface DebugChannel {
|
|
105
|
-
send(content: string): void;
|
|
106
|
-
onMessage(cb: (message: string) => void): void;
|
|
107
|
-
onError(cb: (reason: unknown) => void): void;
|
|
108
|
-
onClose(cb: (code: number, reason: string) => void): void;
|
|
109
|
-
close(): void;
|
|
110
|
-
}
|
|
111
|
-
/**
|
|
112
|
-
* A {@link DebugChannel} wrapper implementation that sends and receives messages to/from an underlying {@link Channel}.
|
|
113
|
-
*/
|
|
114
|
-
export declare class ForwardingDebugChannel implements DebugChannel {
|
|
115
|
-
private readonly underlyingChannel;
|
|
116
|
-
private onMessageEmitter;
|
|
117
|
-
constructor(underlyingChannel: Channel);
|
|
118
|
-
send(content: string): void;
|
|
119
|
-
onMessage(cb: (message: string) => void): void;
|
|
120
|
-
onError(cb: (reason: unknown) => void): void;
|
|
121
|
-
onClose(cb: (code: number, reason: string) => void): void;
|
|
122
|
-
close(): void;
|
|
123
|
-
}
|
|
124
|
-
//# sourceMappingURL=debug-service.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"debug-service.d.ts","sourceRoot":"","sources":["../../src/common/debug-service.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,67 +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
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.ForwardingDebugChannel = exports.DebugError = exports.DebugAdapterPath = exports.DebugService = exports.DebugPath = void 0;
|
|
19
|
-
const core_1 = require("@theia/core");
|
|
20
|
-
const application_error_1 = require("@theia/core/lib/common/application-error");
|
|
21
|
-
/**
|
|
22
|
-
* The WS endpoint path to the Debug service.
|
|
23
|
-
*/
|
|
24
|
-
exports.DebugPath = '/services/debug';
|
|
25
|
-
/**
|
|
26
|
-
* DebugService symbol for DI.
|
|
27
|
-
*/
|
|
28
|
-
exports.DebugService = Symbol('DebugService');
|
|
29
|
-
/**
|
|
30
|
-
* The endpoint path to the debug adapter session.
|
|
31
|
-
*/
|
|
32
|
-
exports.DebugAdapterPath = '/services/debug-adapter';
|
|
33
|
-
var DebugError;
|
|
34
|
-
(function (DebugError) {
|
|
35
|
-
DebugError.NotFound = application_error_1.ApplicationError.declare(-41000, (type) => ({
|
|
36
|
-
message: `'${type}' debugger type is not supported.`,
|
|
37
|
-
data: { type }
|
|
38
|
-
}));
|
|
39
|
-
})(DebugError || (exports.DebugError = DebugError = {}));
|
|
40
|
-
/**
|
|
41
|
-
* A {@link DebugChannel} wrapper implementation that sends and receives messages to/from an underlying {@link Channel}.
|
|
42
|
-
*/
|
|
43
|
-
class ForwardingDebugChannel {
|
|
44
|
-
constructor(underlyingChannel) {
|
|
45
|
-
this.underlyingChannel = underlyingChannel;
|
|
46
|
-
this.onMessageEmitter = new core_1.Emitter();
|
|
47
|
-
this.underlyingChannel.onMessage(msg => this.onMessageEmitter.fire(msg().readString()));
|
|
48
|
-
}
|
|
49
|
-
send(content) {
|
|
50
|
-
this.underlyingChannel.getWriteBuffer().writeString(content).commit();
|
|
51
|
-
}
|
|
52
|
-
onMessage(cb) {
|
|
53
|
-
this.onMessageEmitter.event(cb);
|
|
54
|
-
}
|
|
55
|
-
onError(cb) {
|
|
56
|
-
this.underlyingChannel.onError(cb);
|
|
57
|
-
}
|
|
58
|
-
onClose(cb) {
|
|
59
|
-
this.underlyingChannel.onClose(event => { var _a; return cb((_a = event.code) !== null && _a !== void 0 ? _a : -1, event.reason); });
|
|
60
|
-
}
|
|
61
|
-
close() {
|
|
62
|
-
this.underlyingChannel.close();
|
|
63
|
-
this.onMessageEmitter.dispose();
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
exports.ForwardingDebugChannel = ForwardingDebugChannel;
|
|
67
|
-
//# sourceMappingURL=debug-service.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"debug-service.js","sourceRoot":"","sources":["../../src/common/debug-service.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,sCAAkE;AAClE,gFAA4E;AAU5E;;GAEG;AACU,QAAA,SAAS,GAAG,iBAAiB,CAAC;AAE3C;;GAEG;AACU,QAAA,YAAY,GAAG,MAAM,CAAC,cAAc,CAAC,CAAC;AAgGnD;;GAEG;AACU,QAAA,gBAAgB,GAAG,yBAAyB,CAAC;AAE1D,IAAiB,UAAU,CAK1B;AALD,WAAiB,UAAU;IACV,mBAAQ,GAAG,oCAAgB,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,CAAC,IAAY,EAAE,EAAE,CAAC,CAAC;QACxE,OAAO,EAAE,IAAI,IAAI,mCAAmC;QACpD,IAAI,EAAE,EAAE,IAAI,EAAE;KACjB,CAAC,CAAC,CAAC;AACR,CAAC,EALgB,UAAU,0BAAV,UAAU,QAK1B;AAaD;;GAEG;AACH,MAAa,sBAAsB;IAG/B,YAA6B,iBAA0B;QAA1B,sBAAiB,GAAjB,iBAAiB,CAAS;QAF/C,qBAAgB,GAAG,IAAI,cAAO,EAAU,CAAC;QAG7C,IAAI,CAAC,iBAAiB,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC;IAC5F,CAAC;IAED,IAAI,CAAC,OAAe;QAChB,IAAI,CAAC,iBAAiB,CAAC,cAAc,EAAE,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,CAAC;IAC1E,CAAC;IAED,SAAS,CAAC,EAA6B;QACnC,IAAI,CAAC,gBAAgB,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IACpC,CAAC;IACD,OAAO,CAAC,EAA6B;QACjC,IAAI,CAAC,iBAAiB,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;IACvC,CAAC;IACD,OAAO,CAAC,EAA0C;QAC9C,IAAI,CAAC,iBAAiB,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,WAAC,OAAA,EAAE,CAAC,MAAA,KAAK,CAAC,IAAI,mCAAI,CAAC,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA,EAAA,CAAC,CAAC;IAChF,CAAC;IAED,KAAK;QACD,IAAI,CAAC,iBAAiB,CAAC,KAAK,EAAE,CAAC;QAC/B,IAAI,CAAC,gBAAgB,CAAC,OAAO,EAAE,CAAC;IACpC,CAAC;CAEJ;AA1BD,wDA0BC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/********************************************************************************
|
|
2
|
-
* Copyright (C) 2022 STMicroelectronics and others.
|
|
3
|
-
*
|
|
4
|
-
* This program and the accompanying materials are made available under the
|
|
5
|
-
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
-
* http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
-
*
|
|
8
|
-
* This Source Code may also be made available under the following Secondary
|
|
9
|
-
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
-
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
-
* with the GNU Classpath Exception which is available at
|
|
12
|
-
* https://www.gnu.org/software/classpath/license.html.
|
|
13
|
-
*
|
|
14
|
-
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
15
|
-
********************************************************************************/
|
|
16
|
-
/**
|
|
17
|
-
* The URI scheme for debug URIs.
|
|
18
|
-
*/
|
|
19
|
-
export declare const DEBUG_SCHEME = "debug";
|
|
20
|
-
/**
|
|
21
|
-
* The pattern for URI schemes.
|
|
22
|
-
*/
|
|
23
|
-
export declare const SCHEME_PATTERN: RegExp;
|
|
24
|
-
//# sourceMappingURL=debug-uri-utils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"debug-uri-utils.d.ts","sourceRoot":"","sources":["../../src/common/debug-uri-utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAElF;;GAEG;AACH,eAAO,MAAM,YAAY,UAAU,CAAC;AACpC;;GAEG;AACH,eAAO,MAAM,cAAc,QAAiC,CAAC"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/********************************************************************************
|
|
3
|
-
* Copyright (C) 2022 STMicroelectronics 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.SCHEME_PATTERN = exports.DEBUG_SCHEME = void 0;
|
|
19
|
-
/**
|
|
20
|
-
* The URI scheme for debug URIs.
|
|
21
|
-
*/
|
|
22
|
-
exports.DEBUG_SCHEME = 'debug';
|
|
23
|
-
/**
|
|
24
|
-
* The pattern for URI schemes.
|
|
25
|
-
*/
|
|
26
|
-
exports.SCHEME_PATTERN = /^[a-zA-Z][a-zA-Z0-9\+\-\.]+:/;
|
|
27
|
-
//# sourceMappingURL=debug-uri-utils.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"debug-uri-utils.js","sourceRoot":"","sources":["../../src/common/debug-uri-utils.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;AAElF;;GAEG;AACU,QAAA,YAAY,GAAG,OAAO,CAAC;AACpC;;GAEG;AACU,QAAA,cAAc,GAAG,8BAA8B,CAAC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Event } from '@theia/core/lib/common/event';
|
|
2
|
-
import { DebugAdapter } from './debug-model';
|
|
3
|
-
import * as theia from '@theia/plugin';
|
|
4
|
-
/**
|
|
5
|
-
* A debug adapter for using the inline implementation from a plugin.
|
|
6
|
-
*/
|
|
7
|
-
export declare class InlineDebugAdapter implements DebugAdapter {
|
|
8
|
-
private debugAdapter;
|
|
9
|
-
private messageReceivedEmitter;
|
|
10
|
-
onMessageReceived: Event<string>;
|
|
11
|
-
onError: Event<Error>;
|
|
12
|
-
private closeEmitter;
|
|
13
|
-
onClose: Event<void>;
|
|
14
|
-
constructor(debugAdapter: theia.DebugAdapter);
|
|
15
|
-
start(): Promise<void>;
|
|
16
|
-
send(message: string): void;
|
|
17
|
-
stop(): Promise<void>;
|
|
18
|
-
}
|
|
19
|
-
//# sourceMappingURL=inline-debug-adapter.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"inline-debug-adapter.d.ts","sourceRoot":"","sources":["../../src/common/inline-debug-adapter.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAW,KAAK,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,KAAK,KAAK,MAAM,eAAe,CAAC;AAEvC;;GAEG;AACH,qBAAa,kBAAmB,YAAW,YAAY;IAOvC,OAAO,CAAC,YAAY;IANhC,OAAO,CAAC,sBAAsB,CAAyB;IACvD,iBAAiB,EAAE,KAAK,CAAC,MAAM,CAAC,CAAqC;IACrE,OAAO,EAAE,KAAK,CAAC,KAAK,CAAC,CAAc;IACnC,OAAO,CAAC,YAAY,CAAuB;IAC3C,OAAO,EAAE,KAAK,CAAC,IAAI,CAAC,CAA2B;gBAE3B,YAAY,EAAE,KAAK,CAAC,YAAY;IAM9C,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAG5B,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAIrB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;CAG9B"}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *****************************************************************************
|
|
3
|
-
// Copyright (C) 2021 Red Hat, Inc. and others.
|
|
4
|
-
//
|
|
5
|
-
// This program and the accompanying materials are made available under the
|
|
6
|
-
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
-
// http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
-
//
|
|
9
|
-
// This Source Code may also be made available under the following Secondary
|
|
10
|
-
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
-
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
-
// with the GNU Classpath Exception which is available at
|
|
13
|
-
// https://www.gnu.org/software/classpath/license.html.
|
|
14
|
-
//
|
|
15
|
-
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
16
|
-
// *****************************************************************************
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.InlineDebugAdapter = void 0;
|
|
19
|
-
const event_1 = require("@theia/core/lib/common/event");
|
|
20
|
-
/**
|
|
21
|
-
* A debug adapter for using the inline implementation from a plugin.
|
|
22
|
-
*/
|
|
23
|
-
class InlineDebugAdapter {
|
|
24
|
-
constructor(debugAdapter) {
|
|
25
|
-
this.debugAdapter = debugAdapter;
|
|
26
|
-
this.messageReceivedEmitter = new event_1.Emitter();
|
|
27
|
-
this.onMessageReceived = this.messageReceivedEmitter.event;
|
|
28
|
-
this.onError = event_1.Event.None;
|
|
29
|
-
this.closeEmitter = new event_1.Emitter();
|
|
30
|
-
this.onClose = this.closeEmitter.event;
|
|
31
|
-
this.debugAdapter.onDidSendMessage(msg => {
|
|
32
|
-
this.messageReceivedEmitter.fire(JSON.stringify(msg));
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
async start() {
|
|
36
|
-
}
|
|
37
|
-
send(message) {
|
|
38
|
-
this.debugAdapter.handleMessage(JSON.parse(message));
|
|
39
|
-
}
|
|
40
|
-
async stop() {
|
|
41
|
-
this.debugAdapter.dispose();
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
exports.InlineDebugAdapter = InlineDebugAdapter;
|
|
45
|
-
//# sourceMappingURL=inline-debug-adapter.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"inline-debug-adapter.js","sourceRoot":"","sources":["../../src/common/inline-debug-adapter.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,wDAA8D;AAI9D;;GAEG;AACH,MAAa,kBAAkB;IAO3B,YAAoB,YAAgC;QAAhC,iBAAY,GAAZ,YAAY,CAAoB;QAN5C,2BAAsB,GAAG,IAAI,eAAO,EAAU,CAAC;QACvD,sBAAiB,GAAkB,IAAI,CAAC,sBAAsB,CAAC,KAAK,CAAC;QACrE,YAAO,GAAiB,aAAK,CAAC,IAAI,CAAC;QAC3B,iBAAY,GAAG,IAAI,eAAO,EAAQ,CAAC;QAC3C,YAAO,GAAgB,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC;QAG3C,IAAI,CAAC,YAAY,CAAC,gBAAgB,CAAC,GAAG,CAAC,EAAE;YACrC,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;QAC1D,CAAC,CAAC,CAAC;IACP,CAAC;IAED,KAAK,CAAC,KAAK;IACX,CAAC;IAED,IAAI,CAAC,OAAe;QAChB,IAAI,CAAC,YAAY,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;IACzD,CAAC;IAED,KAAK,CAAC,IAAI;QACN,IAAI,CAAC,YAAY,CAAC,OAAO,EAAE,CAAC;IAChC,CAAC;CACJ;AAvBD,gDAuBC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { interfaces } from '@theia/core/shared/inversify';
|
|
2
|
-
import { PreferenceSchema } from '@theia/core/lib/common';
|
|
3
|
-
export declare const launchSchemaId = "vscode://schemas/launch";
|
|
4
|
-
export declare const launchPreferencesSchema: PreferenceSchema;
|
|
5
|
-
export declare function bindLaunchPreferences(bind: interfaces.Bind): void;
|
|
6
|
-
//# sourceMappingURL=launch-preferences.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"launch-preferences.d.ts","sourceRoot":"","sources":["../../src/common/launch-preferences.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAE1D,OAAO,EAAmD,gBAAgB,EAAmB,MAAM,wBAAwB,CAAC;AAE5H,eAAO,MAAM,cAAc,4BAA4B,CAAC;AAExD,eAAO,MAAM,uBAAuB,EAAE,gBASrC,CAAC;AAEF,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,UAAU,CAAC,IAAI,GAAG,IAAI,CAGjE"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *****************************************************************************
|
|
3
|
-
// Copyright (C) 2019 TypeFox and others.
|
|
4
|
-
//
|
|
5
|
-
// This program and the accompanying materials are made available under the
|
|
6
|
-
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
-
// http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
-
//
|
|
9
|
-
// This Source Code may also be made available under the following Secondary
|
|
10
|
-
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
-
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
-
// with the GNU Classpath Exception which is available at
|
|
13
|
-
// https://www.gnu.org/software/classpath/license.html.
|
|
14
|
-
//
|
|
15
|
-
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
16
|
-
// *****************************************************************************
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.bindLaunchPreferences = exports.launchPreferencesSchema = exports.launchSchemaId = void 0;
|
|
19
|
-
const nls_1 = require("@theia/core/lib/common/nls");
|
|
20
|
-
const common_1 = require("@theia/core/lib/common");
|
|
21
|
-
exports.launchSchemaId = 'vscode://schemas/launch';
|
|
22
|
-
exports.launchPreferencesSchema = {
|
|
23
|
-
scope: common_1.PreferenceScope.Folder,
|
|
24
|
-
properties: {
|
|
25
|
-
'launch': {
|
|
26
|
-
$ref: exports.launchSchemaId,
|
|
27
|
-
description: nls_1.nls.localizeByDefault("Global debug launch configuration. Should be used as an alternative to 'launch.json' that is shared across workspaces."),
|
|
28
|
-
default: { configurations: [], compounds: [] }
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
function bindLaunchPreferences(bind) {
|
|
33
|
-
bind(common_1.PreferenceContribution).toConstantValue({ schema: exports.launchPreferencesSchema });
|
|
34
|
-
bind(common_1.PreferenceConfiguration).toConstantValue({ name: 'launch' });
|
|
35
|
-
}
|
|
36
|
-
exports.bindLaunchPreferences = bindLaunchPreferences;
|
|
37
|
-
//# sourceMappingURL=launch-preferences.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"launch-preferences.js","sourceRoot":"","sources":["../../src/common/launch-preferences.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;;;AAGhF,oDAAiD;AACjD,mDAA4H;AAE/G,QAAA,cAAc,GAAG,yBAAyB,CAAC;AAE3C,QAAA,uBAAuB,GAAqB;IACrD,KAAK,EAAE,wBAAe,CAAC,MAAM;IAC7B,UAAU,EAAE;QACR,QAAQ,EAAE;YACN,IAAI,EAAE,sBAAc;YACpB,WAAW,EAAE,SAAG,CAAC,iBAAiB,CAAC,wHAAwH,CAAC;YAC5J,OAAO,EAAE,EAAE,cAAc,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE;SACjD;KACJ;CACJ,CAAC;AAEF,SAAgB,qBAAqB,CAAC,IAAqB;IACvD,IAAI,CAAC,+BAAsB,CAAC,CAAC,eAAe,CAAC,EAAE,MAAM,EAAE,+BAAuB,EAAE,CAAC,CAAC;IAClF,IAAI,CAAC,gCAAuB,CAAC,CAAC,eAAe,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAC;AACtE,CAAC;AAHD,sDAGC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { RawProcessFactory, ProcessManager } from '@theia/process/lib/node';
|
|
2
|
-
import { DebugAdapterExecutable, DebugAdapterSession, DebugAdapterSessionFactory, DebugAdapterFactory, DebugAdapter } from '../common/debug-model';
|
|
3
|
-
/**
|
|
4
|
-
* [DebugAdapterFactory](#DebugAdapterFactory) implementation based on
|
|
5
|
-
* launching the debug adapter as separate process.
|
|
6
|
-
*/
|
|
7
|
-
export declare class LaunchBasedDebugAdapterFactory implements DebugAdapterFactory {
|
|
8
|
-
protected readonly processFactory: RawProcessFactory;
|
|
9
|
-
protected readonly processManager: ProcessManager;
|
|
10
|
-
start(executable: DebugAdapterExecutable): DebugAdapter;
|
|
11
|
-
private childProcess;
|
|
12
|
-
connect(debugServerPort: number): DebugAdapter;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* [DebugAdapterSessionFactory](#DebugAdapterSessionFactory) implementation.
|
|
16
|
-
*/
|
|
17
|
-
export declare class DebugAdapterSessionFactoryImpl implements DebugAdapterSessionFactory {
|
|
18
|
-
get(sessionId: string, debugAdapter: DebugAdapter): DebugAdapterSession;
|
|
19
|
-
}
|
|
20
|
-
//# sourceMappingURL=debug-adapter-factory.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"debug-adapter-factory.d.ts","sourceRoot":"","sources":["../../src/node/debug-adapter-factory.ts"],"names":[],"mappings":"AAyBA,OAAO,EACH,iBAAiB,EACjB,cAAc,EAIjB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACH,sBAAsB,EACtB,mBAAmB,EACnB,0BAA0B,EAC1B,mBAAmB,EAEnB,YAAY,EACf,MAAM,uBAAuB,CAAC;AAM/B;;;GAGG;AACH,qBACa,8BAA+B,YAAW,mBAAmB;IAEtE,SAAS,CAAC,QAAQ,CAAC,cAAc,EAAE,iBAAiB,CAAC;IAErD,SAAS,CAAC,QAAQ,CAAC,cAAc,EAAE,cAAc,CAAC;IAElD,KAAK,CAAC,UAAU,EAAE,sBAAsB,GAAG,YAAY;IAYvD,OAAO,CAAC,YAAY;IAiBpB,OAAO,CAAC,eAAe,EAAE,MAAM,GAAG,YAAY;CAOjD;AAED;;GAEG;AACH,qBACa,8BAA+B,YAAW,0BAA0B;IAE7E,GAAG,CAAC,SAAS,EAAE,MAAM,EAAE,YAAY,EAAE,YAAY,GAAG,mBAAmB;CAM1E"}
|
|
@@ -1,89 +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
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.DebugAdapterSessionFactoryImpl = exports.LaunchBasedDebugAdapterFactory = void 0;
|
|
19
|
-
const tslib_1 = require("tslib");
|
|
20
|
-
/*---------------------------------------------------------------------------------------------
|
|
21
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
22
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
23
|
-
*--------------------------------------------------------------------------------------------*/
|
|
24
|
-
// Some entities copied and modified from https://github.com/Microsoft/vscode-debugadapter-node/blob/master/adapter/src/protocol.ts
|
|
25
|
-
const net = require("net");
|
|
26
|
-
const inversify_1 = require("@theia/core/shared/inversify");
|
|
27
|
-
const node_1 = require("@theia/process/lib/node");
|
|
28
|
-
const debug_adapter_session_1 = require("../common/debug-adapter-session");
|
|
29
|
-
const application_package_1 = require("@theia/core/shared/@theia/application-package");
|
|
30
|
-
const stream_debug_adapter_1 = require("./stream-debug-adapter");
|
|
31
|
-
const common_1 = require("@theia/core/lib/common");
|
|
32
|
-
/**
|
|
33
|
-
* [DebugAdapterFactory](#DebugAdapterFactory) implementation based on
|
|
34
|
-
* launching the debug adapter as separate process.
|
|
35
|
-
*/
|
|
36
|
-
let LaunchBasedDebugAdapterFactory = class LaunchBasedDebugAdapterFactory {
|
|
37
|
-
start(executable) {
|
|
38
|
-
const process = this.childProcess(executable);
|
|
39
|
-
if (!process.process) {
|
|
40
|
-
throw new Error(`Could not start debug adapter process: ${JSON.stringify(executable)}`);
|
|
41
|
-
}
|
|
42
|
-
// FIXME: propagate onError + onExit
|
|
43
|
-
const provider = new stream_debug_adapter_1.ProcessDebugAdapter(process.process);
|
|
44
|
-
return provider;
|
|
45
|
-
}
|
|
46
|
-
childProcess(executable) {
|
|
47
|
-
const isForkOptions = (forkOptions) => (0, common_1.isObject)(forkOptions) && 'modulePath' in forkOptions;
|
|
48
|
-
const processOptions = { ...executable };
|
|
49
|
-
const options = { stdio: ['pipe', 'pipe', 2] };
|
|
50
|
-
if (isForkOptions(processOptions)) {
|
|
51
|
-
options.stdio.push('ipc');
|
|
52
|
-
options.env = application_package_1.environment.electron.runAsNodeEnv();
|
|
53
|
-
options.execArgv = executable.execArgv;
|
|
54
|
-
}
|
|
55
|
-
processOptions.options = options;
|
|
56
|
-
return this.processFactory(processOptions);
|
|
57
|
-
}
|
|
58
|
-
connect(debugServerPort) {
|
|
59
|
-
const socket = net.createConnection(debugServerPort);
|
|
60
|
-
// FIXME: propagate socket.on('error', ...) + socket.on('close', ...)
|
|
61
|
-
const provider = new stream_debug_adapter_1.SocketDebugAdapter(socket);
|
|
62
|
-
return provider;
|
|
63
|
-
}
|
|
64
|
-
};
|
|
65
|
-
exports.LaunchBasedDebugAdapterFactory = LaunchBasedDebugAdapterFactory;
|
|
66
|
-
tslib_1.__decorate([
|
|
67
|
-
(0, inversify_1.inject)(node_1.RawProcessFactory),
|
|
68
|
-
tslib_1.__metadata("design:type", Function)
|
|
69
|
-
], LaunchBasedDebugAdapterFactory.prototype, "processFactory", void 0);
|
|
70
|
-
tslib_1.__decorate([
|
|
71
|
-
(0, inversify_1.inject)(node_1.ProcessManager),
|
|
72
|
-
tslib_1.__metadata("design:type", node_1.ProcessManager)
|
|
73
|
-
], LaunchBasedDebugAdapterFactory.prototype, "processManager", void 0);
|
|
74
|
-
exports.LaunchBasedDebugAdapterFactory = LaunchBasedDebugAdapterFactory = tslib_1.__decorate([
|
|
75
|
-
(0, inversify_1.injectable)()
|
|
76
|
-
], LaunchBasedDebugAdapterFactory);
|
|
77
|
-
/**
|
|
78
|
-
* [DebugAdapterSessionFactory](#DebugAdapterSessionFactory) implementation.
|
|
79
|
-
*/
|
|
80
|
-
let DebugAdapterSessionFactoryImpl = class DebugAdapterSessionFactoryImpl {
|
|
81
|
-
get(sessionId, debugAdapter) {
|
|
82
|
-
return new debug_adapter_session_1.DebugAdapterSessionImpl(sessionId, debugAdapter);
|
|
83
|
-
}
|
|
84
|
-
};
|
|
85
|
-
exports.DebugAdapterSessionFactoryImpl = DebugAdapterSessionFactoryImpl;
|
|
86
|
-
exports.DebugAdapterSessionFactoryImpl = DebugAdapterSessionFactoryImpl = tslib_1.__decorate([
|
|
87
|
-
(0, inversify_1.injectable)()
|
|
88
|
-
], DebugAdapterSessionFactoryImpl);
|
|
89
|
-
//# sourceMappingURL=debug-adapter-factory.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"debug-adapter-factory.js","sourceRoot":"","sources":["../../src/node/debug-adapter-factory.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;;;gGAGgG;AAEhG,mIAAmI;AAEnI,2BAA2B;AAC3B,4DAAkE;AAClE,kDAMiC;AASjC,2EAA0E;AAC1E,uFAA4E;AAC5E,iEAAiF;AACjF,mDAAkD;AAElD;;;GAGG;AAEI,IAAM,8BAA8B,GAApC,MAAM,8BAA8B;IAMvC,KAAK,CAAC,UAAkC;QACpC,MAAM,OAAO,GAAG,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC;QAE9C,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC;YACnB,MAAM,IAAI,KAAK,CAAC,0CAA0C,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC;QAC5F,CAAC;QAED,oCAAoC;QACpC,MAAM,QAAQ,GAAG,IAAI,0CAAmB,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QAC1D,OAAO,QAAQ,CAAC;IACpB,CAAC;IAEO,YAAY,CAAC,UAAkC;QACnD,MAAM,aAAa,GAAG,CAAC,WAAoB,EAAiC,EAAE,CAC1E,IAAA,iBAAQ,EAAC,WAAW,CAAC,IAAI,YAAY,IAAI,WAAW,CAAC;QAEzD,MAAM,cAAc,GAAuC,EAAE,GAAG,UAAU,EAAE,CAAC;QAC7E,MAAM,OAAO,GAAsE,EAAE,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC,EAAE,CAAC;QAElH,IAAI,aAAa,CAAC,cAAc,CAAC,EAAE,CAAC;YAChC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YAC1B,OAAO,CAAC,GAAG,GAAG,iCAAW,CAAC,QAAQ,CAAC,YAAY,EAAE,CAAC;YAClD,OAAO,CAAC,QAAQ,GAAI,UAAyC,CAAC,QAAQ,CAAC;QAC3E,CAAC;QAED,cAAc,CAAC,OAAO,GAAG,OAAO,CAAC;QACjC,OAAO,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;IAC/C,CAAC;IAED,OAAO,CAAC,eAAuB;QAC3B,MAAM,MAAM,GAAG,GAAG,CAAC,gBAAgB,CAAC,eAAe,CAAC,CAAC;QACrD,qEAAqE;QAErE,MAAM,QAAQ,GAAG,IAAI,yCAAkB,CAAC,MAAM,CAAC,CAAC;QAChD,OAAO,QAAQ,CAAC;IACpB,CAAC;CACJ,CAAA;AA1CY,wEAA8B;AAEpB;IADlB,IAAA,kBAAM,EAAC,wBAAiB,CAAC;;sEAC2B;AAElC;IADlB,IAAA,kBAAM,EAAC,qBAAc,CAAC;sCACY,qBAAc;sEAAC;yCAJzC,8BAA8B;IAD1C,IAAA,sBAAU,GAAE;GACA,8BAA8B,CA0C1C;AAED;;GAEG;AAEI,IAAM,8BAA8B,GAApC,MAAM,8BAA8B;IAEvC,GAAG,CAAC,SAAiB,EAAE,YAA0B;QAC7C,OAAO,IAAI,+CAAuB,CAC9B,SAAS,EACT,YAAY,CACf,CAAC;IACN,CAAC;CACJ,CAAA;AARY,wEAA8B;yCAA9B,8BAA8B;IAD1C,IAAA,sBAAU,GAAE;GACA,8BAA8B,CAQ1C"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { MessagingService } from '@theia/core/lib/node/messaging/messaging-service';
|
|
2
|
-
import { DebugConfiguration } from '../common/debug-configuration';
|
|
3
|
-
import { DebugAdapterSession, DebugAdapterSessionFactory, DebugAdapterFactory } from '../common/debug-model';
|
|
4
|
-
import { DebugAdapterContributionRegistry } from '../common/debug-adapter-contribution-registry';
|
|
5
|
-
/**
|
|
6
|
-
* Debug adapter session manager.
|
|
7
|
-
*/
|
|
8
|
-
export declare class DebugAdapterSessionManager implements MessagingService.Contribution {
|
|
9
|
-
protected readonly sessions: Map<string, DebugAdapterSession>;
|
|
10
|
-
protected readonly debugAdapterSessionFactory: DebugAdapterSessionFactory;
|
|
11
|
-
protected readonly debugAdapterFactory: DebugAdapterFactory;
|
|
12
|
-
configure(service: MessagingService): void;
|
|
13
|
-
/**
|
|
14
|
-
* Creates a new [debug adapter session](#DebugAdapterSession).
|
|
15
|
-
* @param config The [DebugConfiguration](#DebugConfiguration)
|
|
16
|
-
* @returns The debug adapter session
|
|
17
|
-
*/
|
|
18
|
-
create(config: DebugConfiguration, registry: DebugAdapterContributionRegistry): Promise<DebugAdapterSession>;
|
|
19
|
-
/**
|
|
20
|
-
* Removes [debug adapter session](#DebugAdapterSession) from the list of the instantiated sessions.
|
|
21
|
-
* Is invoked when session is terminated and isn't needed anymore.
|
|
22
|
-
* @param sessionId The session identifier
|
|
23
|
-
*/
|
|
24
|
-
remove(sessionId: string): void;
|
|
25
|
-
/**
|
|
26
|
-
* Finds the debug adapter session by its id.
|
|
27
|
-
* Returning the value 'undefined' means the session isn't found.
|
|
28
|
-
* @param sessionId The session identifier
|
|
29
|
-
* @returns The debug adapter session
|
|
30
|
-
*/
|
|
31
|
-
find(sessionId: string): DebugAdapterSession | undefined;
|
|
32
|
-
/**
|
|
33
|
-
* Returns all instantiated debug adapter sessions.
|
|
34
|
-
* @returns An array of debug adapter sessions
|
|
35
|
-
*/
|
|
36
|
-
getAll(): IterableIterator<DebugAdapterSession>;
|
|
37
|
-
}
|
|
38
|
-
//# sourceMappingURL=debug-adapter-session-manager.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"debug-adapter-session-manager.d.ts","sourceRoot":"","sources":["../../src/node/debug-adapter-session-manager.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kDAAkD,CAAC;AAGpF,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,EAAE,mBAAmB,EAAE,0BAA0B,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC7G,OAAO,EAAE,gCAAgC,EAAE,MAAM,+CAA+C,CAAC;AAEjG;;GAEG;AACH,qBACa,0BAA2B,YAAW,gBAAgB,CAAC,YAAY;IAC5E,SAAS,CAAC,QAAQ,CAAC,QAAQ,mCAA0C;IAGrE,SAAS,CAAC,QAAQ,CAAC,0BAA0B,EAAE,0BAA0B,CAAC;IAG1E,SAAS,CAAC,QAAQ,CAAC,mBAAmB,EAAE,mBAAmB,CAAC;IAE5D,SAAS,CAAC,OAAO,EAAE,gBAAgB,GAAG,IAAI;IAW1C;;;;OAIG;IACG,MAAM,CAAC,MAAM,EAAE,kBAAkB,EAAE,QAAQ,EAAE,gCAAgC,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAyBlH;;;;OAIG;IACH,MAAM,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI;IAI/B;;;;;OAKG;IACH,IAAI,CAAC,SAAS,EAAE,MAAM,GAAG,mBAAmB,GAAG,SAAS;IAIxD;;;OAGG;IACH,MAAM,IAAI,gBAAgB,CAAC,mBAAmB,CAAC;CAGlD"}
|