@theia/debug 1.67.0-next.56 → 1.67.0-next.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/browser/breakpoint/breakpoint-manager.d.ts +91 -0
- package/lib/browser/breakpoint/breakpoint-manager.d.ts.map +1 -0
- package/lib/browser/breakpoint/breakpoint-manager.js +367 -0
- package/lib/browser/breakpoint/breakpoint-manager.js.map +1 -0
- package/lib/browser/breakpoint/breakpoint-marker.d.ts +65 -0
- package/lib/browser/breakpoint/breakpoint-marker.d.ts.map +1 -0
- package/lib/browser/breakpoint/breakpoint-marker.js +102 -0
- package/lib/browser/breakpoint/breakpoint-marker.js.map +1 -0
- package/lib/browser/breakpoint/debug-data-breakpoint-actions.d.ts +17 -0
- package/lib/browser/breakpoint/debug-data-breakpoint-actions.d.ts.map +1 -0
- package/lib/browser/breakpoint/debug-data-breakpoint-actions.js +166 -0
- package/lib/browser/breakpoint/debug-data-breakpoint-actions.js.map +1 -0
- package/lib/browser/console/debug-console-contribution.d.ts +45 -0
- package/lib/browser/console/debug-console-contribution.d.ts.map +1 -0
- package/lib/browser/console/debug-console-contribution.js +233 -0
- package/lib/browser/console/debug-console-contribution.js.map +1 -0
- package/lib/browser/console/debug-console-items.d.ts +98 -0
- package/lib/browser/console/debug-console-items.d.ts.map +1 -0
- package/lib/browser/console/debug-console-items.js +346 -0
- package/lib/browser/console/debug-console-items.js.map +1 -0
- package/lib/browser/console/debug-console-session.d.ts +32 -0
- package/lib/browser/console/debug-console-session.d.ts.map +1 -0
- package/lib/browser/console/debug-console-session.js +192 -0
- package/lib/browser/console/debug-console-session.js.map +1 -0
- package/lib/browser/debug-call-stack-item-type-key.d.ts +4 -0
- package/lib/browser/debug-call-stack-item-type-key.d.ts.map +1 -0
- package/lib/browser/debug-call-stack-item-type-key.js +20 -0
- package/lib/browser/debug-call-stack-item-type-key.js.map +1 -0
- package/lib/browser/debug-configuration-manager.d.ts +103 -0
- package/lib/browser/debug-configuration-manager.d.ts.map +1 -0
- package/lib/browser/debug-configuration-manager.js +545 -0
- package/lib/browser/debug-configuration-manager.js.map +1 -0
- package/lib/browser/debug-configuration-model.d.ts +30 -0
- package/lib/browser/debug-configuration-model.d.ts.map +1 -0
- package/lib/browser/debug-configuration-model.js +80 -0
- package/lib/browser/debug-configuration-model.js.map +1 -0
- package/lib/browser/debug-contribution.d.ts +23 -0
- package/lib/browser/debug-contribution.d.ts.map +1 -0
- package/lib/browser/debug-contribution.js +20 -0
- package/lib/browser/debug-contribution.js.map +1 -0
- package/lib/browser/debug-frontend-application-contribution.d.ts +252 -0
- package/lib/browser/debug-frontend-application-contribution.d.ts.map +1 -0
- package/lib/browser/debug-frontend-application-contribution.js +1696 -0
- package/lib/browser/debug-frontend-application-contribution.js.map +1 -0
- package/lib/browser/debug-frontend-module.d.ts +5 -0
- package/lib/browser/debug-frontend-module.d.ts.map +1 -0
- package/lib/browser/debug-frontend-module.js +112 -0
- package/lib/browser/debug-frontend-module.js.map +1 -0
- package/lib/browser/debug-package.spec.d.ts +1 -0
- package/lib/browser/debug-package.spec.d.ts.map +1 -0
- package/lib/browser/debug-package.spec.js +19 -0
- package/lib/browser/debug-package.spec.js.map +1 -0
- package/lib/browser/debug-prefix-configuration.d.ts +52 -0
- package/lib/browser/debug-prefix-configuration.d.ts.map +1 -0
- package/lib/browser/debug-prefix-configuration.js +202 -0
- package/lib/browser/debug-prefix-configuration.js.map +1 -0
- package/lib/browser/debug-resource.d.ts +15 -0
- package/lib/browser/debug-resource.d.ts.map +1 -0
- package/lib/browser/debug-resource.js +58 -0
- package/lib/browser/debug-resource.js.map +1 -0
- package/lib/browser/debug-schema-updater.d.ts +14 -0
- package/lib/browser/debug-schema-updater.d.ts.map +1 -0
- package/lib/browser/debug-schema-updater.js +161 -0
- package/lib/browser/debug-schema-updater.js.map +1 -0
- package/lib/browser/debug-session-configuration-label-provider.d.ts +11 -0
- package/lib/browser/debug-session-configuration-label-provider.d.ts.map +1 -0
- package/lib/browser/debug-session-configuration-label-provider.js +48 -0
- package/lib/browser/debug-session-configuration-label-provider.js.map +1 -0
- package/lib/browser/debug-session-configuration-label-provider.spec.d.ts +2 -0
- package/lib/browser/debug-session-configuration-label-provider.spec.d.ts.map +1 -0
- package/lib/browser/debug-session-configuration-label-provider.spec.js +84 -0
- package/lib/browser/debug-session-configuration-label-provider.spec.js.map +1 -0
- package/lib/browser/debug-session-connection.d.ts +111 -0
- package/lib/browser/debug-session-connection.d.ts.map +1 -0
- package/lib/browser/debug-session-connection.js +259 -0
- package/lib/browser/debug-session-connection.js.map +1 -0
- package/lib/browser/debug-session-contribution.d.ts +77 -0
- package/lib/browser/debug-session-contribution.d.ts.map +1 -0
- package/lib/browser/debug-session-contribution.js +143 -0
- package/lib/browser/debug-session-contribution.js.map +1 -0
- package/lib/browser/debug-session-manager.d.ts +140 -0
- package/lib/browser/debug-session-manager.d.ts.map +1 -0
- package/lib/browser/debug-session-manager.js +637 -0
- package/lib/browser/debug-session-manager.js.map +1 -0
- package/lib/browser/debug-session-options.d.ts +56 -0
- package/lib/browser/debug-session-options.d.ts.map +1 -0
- package/lib/browser/debug-session-options.js +92 -0
- package/lib/browser/debug-session-options.js.map +1 -0
- package/lib/browser/debug-session.d.ts +195 -0
- package/lib/browser/debug-session.d.ts.map +1 -0
- package/lib/browser/debug-session.js +946 -0
- package/lib/browser/debug-session.js.map +1 -0
- package/lib/browser/debug-tab-bar-decorator.d.ts +17 -0
- package/lib/browser/debug-tab-bar-decorator.d.ts.map +1 -0
- package/lib/browser/debug-tab-bar-decorator.js +63 -0
- package/lib/browser/debug-tab-bar-decorator.js.map +1 -0
- package/lib/browser/debug-watch-manager.d.ts +22 -0
- package/lib/browser/debug-watch-manager.d.ts.map +1 -0
- package/lib/browser/debug-watch-manager.js +86 -0
- package/lib/browser/debug-watch-manager.js.map +1 -0
- package/lib/browser/disassembly-view/disassembly-view-accessibility-provider.d.ts +7 -0
- package/lib/browser/disassembly-view/disassembly-view-accessibility-provider.d.ts.map +1 -0
- package/lib/browser/disassembly-view/disassembly-view-accessibility-provider.js +39 -0
- package/lib/browser/disassembly-view/disassembly-view-accessibility-provider.js.map +1 -0
- package/lib/browser/disassembly-view/disassembly-view-breakpoint-renderer.d.ts +20 -0
- package/lib/browser/disassembly-view/disassembly-view-breakpoint-renderer.d.ts.map +1 -0
- package/lib/browser/disassembly-view/disassembly-view-breakpoint-renderer.js +111 -0
- package/lib/browser/disassembly-view/disassembly-view-breakpoint-renderer.js.map +1 -0
- package/lib/browser/disassembly-view/disassembly-view-contribution.d.ts +25 -0
- package/lib/browser/disassembly-view/disassembly-view-contribution.d.ts.map +1 -0
- package/lib/browser/disassembly-view/disassembly-view-contribution.js +124 -0
- package/lib/browser/disassembly-view/disassembly-view-contribution.js.map +1 -0
- package/lib/browser/disassembly-view/disassembly-view-instruction-renderer.d.ts +39 -0
- package/lib/browser/disassembly-view/disassembly-view-instruction-renderer.d.ts.map +1 -0
- package/lib/browser/disassembly-view/disassembly-view-instruction-renderer.js +213 -0
- package/lib/browser/disassembly-view/disassembly-view-instruction-renderer.js.map +1 -0
- package/lib/browser/disassembly-view/disassembly-view-table-delegate.d.ts +16 -0
- package/lib/browser/disassembly-view/disassembly-view-table-delegate.d.ts.map +1 -0
- package/lib/browser/disassembly-view/disassembly-view-table-delegate.js +39 -0
- package/lib/browser/disassembly-view/disassembly-view-table-delegate.js.map +1 -0
- package/lib/browser/disassembly-view/disassembly-view-utilities.d.ts +38 -0
- package/lib/browser/disassembly-view/disassembly-view-utilities.d.ts.map +1 -0
- package/lib/browser/disassembly-view/disassembly-view-utilities.js +18 -0
- package/lib/browser/disassembly-view/disassembly-view-utilities.js.map +1 -0
- package/lib/browser/disassembly-view/disassembly-view-widget.d.ts +61 -0
- package/lib/browser/disassembly-view/disassembly-view-widget.d.ts.map +1 -0
- package/lib/browser/disassembly-view/disassembly-view-widget.js +446 -0
- package/lib/browser/disassembly-view/disassembly-view-widget.js.map +1 -0
- package/lib/browser/editor/debug-breakpoint-widget.d.ts +58 -0
- package/lib/browser/editor/debug-breakpoint-widget.d.ts.map +1 -0
- package/lib/browser/editor/debug-breakpoint-widget.js +270 -0
- package/lib/browser/editor/debug-breakpoint-widget.js.map +1 -0
- package/lib/browser/editor/debug-editor-model.d.ts +87 -0
- package/lib/browser/editor/debug-editor-model.d.ts.map +1 -0
- package/lib/browser/editor/debug-editor-model.js +499 -0
- package/lib/browser/editor/debug-editor-model.js.map +1 -0
- package/lib/browser/editor/debug-editor-service.d.ts +38 -0
- package/lib/browser/editor/debug-editor-service.d.ts.map +1 -0
- package/lib/browser/editor/debug-editor-service.js +183 -0
- package/lib/browser/editor/debug-editor-service.js.map +1 -0
- package/lib/browser/editor/debug-editor.d.ts +4 -0
- package/lib/browser/editor/debug-editor.d.ts.map +1 -0
- package/lib/browser/editor/debug-editor.js +20 -0
- package/lib/browser/editor/debug-editor.js.map +1 -0
- package/lib/browser/editor/debug-exception-widget.d.ts +30 -0
- package/lib/browser/editor/debug-exception-widget.d.ts.map +1 -0
- package/lib/browser/editor/debug-exception-widget.js +107 -0
- package/lib/browser/editor/debug-exception-widget.js.map +1 -0
- package/lib/browser/editor/debug-expression-provider.d.ts +17 -0
- package/lib/browser/editor/debug-expression-provider.d.ts.map +1 -0
- package/lib/browser/editor/debug-expression-provider.js +107 -0
- package/lib/browser/editor/debug-expression-provider.js.map +1 -0
- package/lib/browser/editor/debug-hover-source.d.ts +19 -0
- package/lib/browser/editor/debug-hover-source.d.ts.map +1 -0
- package/lib/browser/editor/debug-hover-source.js +110 -0
- package/lib/browser/editor/debug-hover-source.js.map +1 -0
- package/lib/browser/editor/debug-hover-widget.d.ts +61 -0
- package/lib/browser/editor/debug-hover-widget.d.ts.map +1 -0
- package/lib/browser/editor/debug-hover-widget.js +271 -0
- package/lib/browser/editor/debug-hover-widget.js.map +1 -0
- package/lib/browser/editor/debug-inline-value-decorator.d.ts +20 -0
- package/lib/browser/editor/debug-inline-value-decorator.d.ts.map +1 -0
- package/lib/browser/editor/debug-inline-value-decorator.js +326 -0
- package/lib/browser/editor/debug-inline-value-decorator.js.map +1 -0
- package/lib/browser/model/debug-breakpoint.d.ts +48 -0
- package/lib/browser/model/debug-breakpoint.d.ts.map +1 -0
- package/lib/browser/model/debug-breakpoint.js +111 -0
- package/lib/browser/model/debug-breakpoint.js.map +1 -0
- package/lib/browser/model/debug-data-breakpoint.d.ts +16 -0
- package/lib/browser/model/debug-data-breakpoint.d.ts.map +1 -0
- package/lib/browser/model/debug-data-breakpoint.js +75 -0
- package/lib/browser/model/debug-data-breakpoint.js.map +1 -0
- package/lib/browser/model/debug-function-breakpoint.d.ts +19 -0
- package/lib/browser/model/debug-function-breakpoint.d.ts.map +1 -0
- package/lib/browser/model/debug-function-breakpoint.js +93 -0
- package/lib/browser/model/debug-function-breakpoint.js.map +1 -0
- package/lib/browser/model/debug-instruction-breakpoint.d.ts +15 -0
- package/lib/browser/model/debug-instruction-breakpoint.d.ts.map +1 -0
- package/lib/browser/model/debug-instruction-breakpoint.js +66 -0
- package/lib/browser/model/debug-instruction-breakpoint.js.map +1 -0
- package/lib/browser/model/debug-source-breakpoint.d.ts +39 -0
- package/lib/browser/model/debug-source-breakpoint.d.ts.map +1 -0
- package/lib/browser/model/debug-source-breakpoint.js +219 -0
- package/lib/browser/model/debug-source-breakpoint.js.map +1 -0
- package/lib/browser/model/debug-source.d.ts +25 -0
- package/lib/browser/model/debug-source.d.ts.map +1 -0
- package/lib/browser/model/debug-source.js +81 -0
- package/lib/browser/model/debug-source.js.map +1 -0
- package/lib/browser/model/debug-stack-frame.d.ts +45 -0
- package/lib/browser/model/debug-stack-frame.d.ts.map +1 -0
- package/lib/browser/model/debug-stack-frame.js +157 -0
- package/lib/browser/model/debug-stack-frame.js.map +1 -0
- package/lib/browser/model/debug-thread.d.ts +68 -0
- package/lib/browser/model/debug-thread.d.ts.map +1 -0
- package/lib/browser/model/debug-thread.js +262 -0
- package/lib/browser/model/debug-thread.js.map +1 -0
- package/lib/browser/view/debug-action.d.ts +18 -0
- package/lib/browser/view/debug-action.d.ts.map +1 -0
- package/lib/browser/view/debug-action.js +44 -0
- package/lib/browser/view/debug-action.js.map +1 -0
- package/lib/browser/view/debug-breakpoints-source.d.ts +10 -0
- package/lib/browser/view/debug-breakpoints-source.d.ts.map +1 -0
- package/lib/browser/view/debug-breakpoints-source.js +58 -0
- package/lib/browser/view/debug-breakpoints-source.js.map +1 -0
- package/lib/browser/view/debug-breakpoints-widget.d.ts +23 -0
- package/lib/browser/view/debug-breakpoints-widget.d.ts.map +1 -0
- package/lib/browser/view/debug-breakpoints-widget.js +81 -0
- package/lib/browser/view/debug-breakpoints-widget.js.map +1 -0
- package/lib/browser/view/debug-configuration-select.d.ts +67 -0
- package/lib/browser/view/debug-configuration-select.d.ts.map +1 -0
- package/lib/browser/view/debug-configuration-select.js +212 -0
- package/lib/browser/view/debug-configuration-select.js.map +1 -0
- package/lib/browser/view/debug-configuration-widget.d.ts +33 -0
- package/lib/browser/view/debug-configuration-widget.d.ts.map +1 -0
- package/lib/browser/view/debug-configuration-widget.js +137 -0
- package/lib/browser/view/debug-configuration-widget.js.map +1 -0
- package/lib/browser/view/debug-exception-breakpoint.d.ts +15 -0
- package/lib/browser/view/debug-exception-breakpoint.d.ts.map +1 -0
- package/lib/browser/view/debug-exception-breakpoint.js +62 -0
- package/lib/browser/view/debug-exception-breakpoint.js.map +1 -0
- package/lib/browser/view/debug-session-widget.d.ts +29 -0
- package/lib/browser/view/debug-session-widget.d.ts.map +1 -0
- package/lib/browser/view/debug-session-widget.js +127 -0
- package/lib/browser/view/debug-session-widget.js.map +1 -0
- package/lib/browser/view/debug-stack-frames-source.d.ts +18 -0
- package/lib/browser/view/debug-stack-frames-source.d.ts.map +1 -0
- package/lib/browser/view/debug-stack-frames-source.js +83 -0
- package/lib/browser/view/debug-stack-frames-source.js.map +1 -0
- package/lib/browser/view/debug-stack-frames-widget.d.ts +25 -0
- package/lib/browser/view/debug-stack-frames-widget.d.ts.map +1 -0
- package/lib/browser/view/debug-stack-frames-widget.js +152 -0
- package/lib/browser/view/debug-stack-frames-widget.js.map +1 -0
- package/lib/browser/view/debug-threads-source.d.ts +9 -0
- package/lib/browser/view/debug-threads-source.d.ts.map +1 -0
- package/lib/browser/view/debug-threads-source.js +56 -0
- package/lib/browser/view/debug-threads-source.js.map +1 -0
- package/lib/browser/view/debug-threads-widget.d.ts +27 -0
- package/lib/browser/view/debug-threads-widget.d.ts.map +1 -0
- package/lib/browser/view/debug-threads-widget.js +139 -0
- package/lib/browser/view/debug-threads-widget.js.map +1 -0
- package/lib/browser/view/debug-toolbar-widget.d.ts +34 -0
- package/lib/browser/view/debug-toolbar-widget.d.ts.map +1 -0
- package/lib/browser/view/debug-toolbar-widget.js +139 -0
- package/lib/browser/view/debug-toolbar-widget.js.map +1 -0
- package/lib/browser/view/debug-variables-source.d.ts +10 -0
- package/lib/browser/view/debug-variables-source.d.ts.map +1 -0
- package/lib/browser/view/debug-variables-source.js +53 -0
- package/lib/browser/view/debug-variables-source.js.map +1 -0
- package/lib/browser/view/debug-variables-widget.d.ts +28 -0
- package/lib/browser/view/debug-variables-widget.d.ts.map +1 -0
- package/lib/browser/view/debug-variables-widget.js +152 -0
- package/lib/browser/view/debug-variables-widget.js.map +1 -0
- package/lib/browser/view/debug-view-model.d.ts +55 -0
- package/lib/browser/view/debug-view-model.d.ts.map +1 -0
- package/lib/browser/view/debug-view-model.js +215 -0
- package/lib/browser/view/debug-view-model.js.map +1 -0
- package/lib/browser/view/debug-watch-expression.d.ts +33 -0
- package/lib/browser/view/debug-watch-expression.d.ts.map +1 -0
- package/lib/browser/view/debug-watch-expression.js +93 -0
- package/lib/browser/view/debug-watch-expression.js.map +1 -0
- package/lib/browser/view/debug-watch-source.d.ts +10 -0
- package/lib/browser/view/debug-watch-source.d.ts.map +1 -0
- package/lib/browser/view/debug-watch-source.js +51 -0
- package/lib/browser/view/debug-watch-source.js.map +1 -0
- package/lib/browser/view/debug-watch-widget.d.ts +17 -0
- package/lib/browser/view/debug-watch-widget.d.ts.map +1 -0
- package/lib/browser/view/debug-watch-widget.js +71 -0
- package/lib/browser/view/debug-watch-widget.js.map +1 -0
- package/lib/browser/view/debug-widget.d.ts +24 -0
- package/lib/browser/view/debug-widget.d.ts.map +1 -0
- package/lib/browser/view/debug-widget.js +101 -0
- package/lib/browser/view/debug-widget.js.map +1 -0
- package/lib/common/debug-adapter-contribution-registry.d.ts +60 -0
- package/lib/common/debug-adapter-contribution-registry.d.ts.map +1 -0
- package/lib/common/debug-adapter-contribution-registry.js +205 -0
- package/lib/common/debug-adapter-contribution-registry.js.map +1 -0
- package/lib/common/debug-adapter-session.d.ts +19 -0
- package/lib/common/debug-adapter-session.d.ts.map +1 -0
- package/lib/common/debug-adapter-session.js +79 -0
- package/lib/common/debug-adapter-session.js.map +1 -0
- package/lib/common/debug-common.d.ts +2 -0
- package/lib/common/debug-common.d.ts.map +1 -0
- package/lib/common/debug-common.js +21 -0
- package/lib/common/debug-common.js.map +1 -0
- package/lib/common/debug-compound.d.ts +15 -0
- package/lib/common/debug-compound.d.ts.map +1 -0
- package/lib/common/debug-compound.js +28 -0
- package/lib/common/debug-compound.js.map +1 -0
- package/lib/common/debug-configuration.d.ts +77 -0
- package/lib/common/debug-configuration.d.ts.map +1 -0
- package/lib/common/debug-configuration.js +32 -0
- package/lib/common/debug-configuration.js.map +1 -0
- package/lib/common/debug-model.d.ts +153 -0
- package/lib/common/debug-model.d.ts.map +1 -0
- package/lib/common/debug-model.js +36 -0
- package/lib/common/debug-model.js.map +1 -0
- package/lib/common/debug-preferences.d.ts +18 -0
- package/lib/common/debug-preferences.d.ts.map +1 -0
- package/lib/common/debug-preferences.js +89 -0
- package/lib/common/debug-preferences.js.map +1 -0
- package/lib/common/debug-service.d.ts +124 -0
- package/lib/common/debug-service.d.ts.map +1 -0
- package/lib/common/debug-service.js +67 -0
- package/lib/common/debug-service.js.map +1 -0
- package/lib/common/debug-uri-utils.d.ts +24 -0
- package/lib/common/debug-uri-utils.d.ts.map +1 -0
- package/lib/common/debug-uri-utils.js +27 -0
- package/lib/common/debug-uri-utils.js.map +1 -0
- package/lib/common/inline-debug-adapter.d.ts +19 -0
- package/lib/common/inline-debug-adapter.d.ts.map +1 -0
- package/lib/common/inline-debug-adapter.js +45 -0
- package/lib/common/inline-debug-adapter.js.map +1 -0
- package/lib/common/launch-preferences.d.ts +6 -0
- package/lib/common/launch-preferences.d.ts.map +1 -0
- package/lib/common/launch-preferences.js +37 -0
- package/lib/common/launch-preferences.js.map +1 -0
- package/lib/node/debug-adapter-factory.d.ts +20 -0
- package/lib/node/debug-adapter-factory.d.ts.map +1 -0
- package/lib/node/debug-adapter-factory.js +89 -0
- package/lib/node/debug-adapter-factory.js.map +1 -0
- package/lib/node/debug-adapter-session-manager.d.ts +38 -0
- package/lib/node/debug-adapter-session-manager.d.ts.map +1 -0
- package/lib/node/debug-adapter-session-manager.js +104 -0
- package/lib/node/debug-adapter-session-manager.js.map +1 -0
- package/lib/node/debug-backend-module.d.ts +4 -0
- package/lib/node/debug-backend-module.d.ts.map +1 -0
- package/lib/node/debug-backend-module.js +45 -0
- package/lib/node/debug-backend-module.js.map +1 -0
- package/lib/node/debug-service-impl.d.ts +31 -0
- package/lib/node/debug-service-impl.d.ts.map +1 -0
- package/lib/node/debug-service-impl.js +117 -0
- package/lib/node/debug-service-impl.js.map +1 -0
- package/lib/node/stream-debug-adapter.d.ts +41 -0
- package/lib/node/stream-debug-adapter.d.ts.map +1 -0
- package/lib/node/stream-debug-adapter.js +113 -0
- package/lib/node/stream-debug-adapter.js.map +1 -0
- package/package.json +15 -15
|
@@ -0,0 +1,102 @@
|
|
|
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.DataBreakpoint = exports.InstructionBreakpoint = exports.FunctionBreakpoint = exports.ExceptionBreakpoint = exports.BreakpointMarker = exports.SourceBreakpoint = exports.BREAKPOINT_KIND = void 0;
|
|
19
|
+
const coreutils_1 = require("@theia/core/shared/@lumino/coreutils");
|
|
20
|
+
const common_1 = require("@theia/core/lib/common");
|
|
21
|
+
exports.BREAKPOINT_KIND = 'breakpoint';
|
|
22
|
+
var SourceBreakpoint;
|
|
23
|
+
(function (SourceBreakpoint) {
|
|
24
|
+
function create(uri, data, origin) {
|
|
25
|
+
return {
|
|
26
|
+
id: origin ? origin.id : coreutils_1.UUID.uuid4(),
|
|
27
|
+
uri: uri.toString(),
|
|
28
|
+
enabled: origin ? origin.enabled : true,
|
|
29
|
+
raw: {
|
|
30
|
+
...(origin && origin.raw),
|
|
31
|
+
...data
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
SourceBreakpoint.create = create;
|
|
36
|
+
})(SourceBreakpoint || (exports.SourceBreakpoint = SourceBreakpoint = {}));
|
|
37
|
+
var BreakpointMarker;
|
|
38
|
+
(function (BreakpointMarker) {
|
|
39
|
+
function is(node) {
|
|
40
|
+
return 'kind' in node && node.kind === exports.BREAKPOINT_KIND;
|
|
41
|
+
}
|
|
42
|
+
BreakpointMarker.is = is;
|
|
43
|
+
})(BreakpointMarker || (exports.BreakpointMarker = BreakpointMarker = {}));
|
|
44
|
+
var ExceptionBreakpoint;
|
|
45
|
+
(function (ExceptionBreakpoint) {
|
|
46
|
+
function create(data, origin) {
|
|
47
|
+
return {
|
|
48
|
+
enabled: origin ? origin.enabled : false,
|
|
49
|
+
condition: origin ? origin.condition : undefined,
|
|
50
|
+
raw: {
|
|
51
|
+
...(origin && origin.raw),
|
|
52
|
+
...data
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
ExceptionBreakpoint.create = create;
|
|
57
|
+
})(ExceptionBreakpoint || (exports.ExceptionBreakpoint = ExceptionBreakpoint = {}));
|
|
58
|
+
var FunctionBreakpoint;
|
|
59
|
+
(function (FunctionBreakpoint) {
|
|
60
|
+
function create(data, origin) {
|
|
61
|
+
return {
|
|
62
|
+
id: origin ? origin.id : coreutils_1.UUID.uuid4(),
|
|
63
|
+
enabled: origin ? origin.enabled : true,
|
|
64
|
+
raw: {
|
|
65
|
+
...(origin && origin.raw),
|
|
66
|
+
...data
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
FunctionBreakpoint.create = create;
|
|
71
|
+
})(FunctionBreakpoint || (exports.FunctionBreakpoint = FunctionBreakpoint = {}));
|
|
72
|
+
var InstructionBreakpoint;
|
|
73
|
+
(function (InstructionBreakpoint) {
|
|
74
|
+
function create(raw, existing) {
|
|
75
|
+
var _a, _b;
|
|
76
|
+
return {
|
|
77
|
+
...raw,
|
|
78
|
+
id: (_a = existing === null || existing === void 0 ? void 0 : existing.id) !== null && _a !== void 0 ? _a : coreutils_1.UUID.uuid4(),
|
|
79
|
+
enabled: (_b = existing === null || existing === void 0 ? void 0 : existing.enabled) !== null && _b !== void 0 ? _b : true,
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
InstructionBreakpoint.create = create;
|
|
83
|
+
function is(arg) {
|
|
84
|
+
return (0, common_1.isObject)(arg) && (0, common_1.isString)(arg.instructionReference);
|
|
85
|
+
}
|
|
86
|
+
InstructionBreakpoint.is = is;
|
|
87
|
+
})(InstructionBreakpoint || (exports.InstructionBreakpoint = InstructionBreakpoint = {}));
|
|
88
|
+
var DataBreakpoint;
|
|
89
|
+
(function (DataBreakpoint) {
|
|
90
|
+
function create(raw, info, source, ref) {
|
|
91
|
+
var _a, _b;
|
|
92
|
+
return {
|
|
93
|
+
raw,
|
|
94
|
+
info,
|
|
95
|
+
id: (_a = ref === null || ref === void 0 ? void 0 : ref.id) !== null && _a !== void 0 ? _a : coreutils_1.UUID.uuid4(),
|
|
96
|
+
enabled: (_b = ref === null || ref === void 0 ? void 0 : ref.enabled) !== null && _b !== void 0 ? _b : true,
|
|
97
|
+
source
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
DataBreakpoint.create = create;
|
|
101
|
+
})(DataBreakpoint || (exports.DataBreakpoint = DataBreakpoint = {}));
|
|
102
|
+
//# sourceMappingURL=breakpoint-marker.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breakpoint-marker.js","sourceRoot":"","sources":["../../../src/browser/breakpoint/breakpoint-marker.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,oEAA4D;AAG5D,mDAAiE;AAEpD,QAAA,eAAe,GAAG,YAAY,CAAC;AAW5C,IAAiB,gBAAgB,CAYhC;AAZD,WAAiB,gBAAgB;IAC7B,SAAgB,MAAM,CAAC,GAAQ,EAAE,IAAoC,EAAE,MAAyB;QAC5F,OAAO;YACH,EAAE,EAAE,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,gBAAI,CAAC,KAAK,EAAE;YACrC,GAA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AC;IACN,CAAC;IARe,qBAAM,SAQrB,CAAA;AACL,CAAC,EAVgB,cAAc,8BAAd,cAAc,QAU9B"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { CommandHandler, MessageService, QuickInputService } from '@theia/core';
|
|
2
|
+
import { DebugViewModel } from '../view/debug-view-model';
|
|
3
|
+
import { TreeElementNode } from '@theia/core/lib/browser/source-tree';
|
|
4
|
+
import { BreakpointManager } from './breakpoint-manager';
|
|
5
|
+
export declare class AddOrEditDataBreakpointAddress implements CommandHandler {
|
|
6
|
+
protected readonly viewModel: DebugViewModel;
|
|
7
|
+
protected readonly quickInputService: QuickInputService;
|
|
8
|
+
protected readonly messageService: MessageService;
|
|
9
|
+
protected readonly breakpointManager: BreakpointManager;
|
|
10
|
+
isEnabled(node?: TreeElementNode): boolean;
|
|
11
|
+
isVisible(node?: TreeElementNode): boolean;
|
|
12
|
+
protected isAddressBreakpointOrDebugWidget(candidate?: unknown): boolean;
|
|
13
|
+
execute(node?: TreeElementNode): Promise<void>;
|
|
14
|
+
private getRange;
|
|
15
|
+
private parseAddress;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=debug-data-breakpoint-actions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-data-breakpoint-actions.d.ts","sourceRoot":"","sources":["../../../src/browser/breakpoint/debug-data-breakpoint-actions.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAO,cAAc,EAAwB,cAAc,EAAE,iBAAiB,EAAc,MAAM,aAAa,CAAC;AAEvH,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAItE,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAMzD,qBACa,8BAA+B,YAAW,cAAc;IAEjE,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,cAAc,CAAC;IAE7C,SAAS,CAAC,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAExD,SAAS,CAAC,QAAQ,CAAC,cAAc,EAAE,cAAc,CAAC;IAElD,SAAS,CAAC,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAExD,SAAS,CAAC,IAAI,CAAC,EAAE,eAAe,GAAG,OAAO;IAM1C,SAAS,CAAC,IAAI,CAAC,EAAE,eAAe,GAAG,OAAO;IAI1C,SAAS,CAAC,gCAAgC,CAAC,SAAS,CAAC,EAAE,OAAO,GAAG,OAAO;IASlE,OAAO,CAAC,IAAI,CAAC,EAAE,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC;IA4CpD,OAAO,CAAC,QAAQ;IAoChB,OAAO,CAAC,YAAY;CA8BvB"}
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *****************************************************************************
|
|
3
|
+
// Copyright (C) 2025 EclipseSource GmbH 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.AddOrEditDataBreakpointAddress = void 0;
|
|
19
|
+
const tslib_1 = require("tslib");
|
|
20
|
+
const core_1 = require("@theia/core");
|
|
21
|
+
const inversify_1 = require("@theia/core/shared/inversify");
|
|
22
|
+
const debug_view_model_1 = require("../view/debug-view-model");
|
|
23
|
+
const source_tree_1 = require("@theia/core/lib/browser/source-tree");
|
|
24
|
+
const debug_data_breakpoint_1 = require("../model/debug-data-breakpoint");
|
|
25
|
+
const breakpoint_marker_1 = require("./breakpoint-marker");
|
|
26
|
+
const breakpoint_manager_1 = require("./breakpoint-manager");
|
|
27
|
+
const browser_1 = require("@theia/core/lib/browser");
|
|
28
|
+
const debug_breakpoints_widget_1 = require("../view/debug-breakpoints-widget");
|
|
29
|
+
// Adapted from https://github.com/microsoft/vscode/blob/9c883243a89e7ec3b730d3746fbb1e836d5e4f52/src/vs/workbench/contrib/debug/browser/breakpointsView.ts#L1506-L1625
|
|
30
|
+
let AddOrEditDataBreakpointAddress = class AddOrEditDataBreakpointAddress {
|
|
31
|
+
isEnabled(node) {
|
|
32
|
+
var _a, _b;
|
|
33
|
+
return !!((_a = this.viewModel.currentSession) === null || _a === void 0 ? void 0 : _a.capabilities.supportsDataBreakpoints)
|
|
34
|
+
&& ((_b = this.viewModel.currentSession) === null || _b === void 0 ? void 0 : _b.capabilities.supportsDataBreakpointBytes) !== false
|
|
35
|
+
&& this.isAddressBreakpointOrDebugWidget(node);
|
|
36
|
+
}
|
|
37
|
+
isVisible(node) {
|
|
38
|
+
return this.isEnabled(node);
|
|
39
|
+
}
|
|
40
|
+
isAddressBreakpointOrDebugWidget(candidate) {
|
|
41
|
+
return !candidate ? true // Probably command palette
|
|
42
|
+
: browser_1.TreeNode.is(candidate) && source_tree_1.TreeElementNode.is(candidate)
|
|
43
|
+
? candidate.element instanceof debug_data_breakpoint_1.DebugDataBreakpoint && candidate.element.origin.source.type === 1 /* DataBreakpointSourceType.Address */
|
|
44
|
+
: candidate instanceof browser_1.Widget
|
|
45
|
+
? candidate instanceof debug_breakpoints_widget_1.DebugBreakpointsWidget
|
|
46
|
+
: false;
|
|
47
|
+
}
|
|
48
|
+
async execute(node) {
|
|
49
|
+
var _a;
|
|
50
|
+
const existingBreakpoint = source_tree_1.TreeElementNode.is(node) && node.element instanceof debug_data_breakpoint_1.DebugDataBreakpoint ? node.element : undefined;
|
|
51
|
+
const session = this.viewModel.currentSession;
|
|
52
|
+
if (!session) {
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
let defaultValue = undefined;
|
|
56
|
+
if ((existingBreakpoint === null || existingBreakpoint === void 0 ? void 0 : existingBreakpoint.origin.source.type) === 1 /* DataBreakpointSourceType.Address */) {
|
|
57
|
+
defaultValue = `${existingBreakpoint.origin.source.address} + ${existingBreakpoint.origin.source.bytes}`;
|
|
58
|
+
}
|
|
59
|
+
const quickInput = this.quickInputService;
|
|
60
|
+
const range = await this.getRange(defaultValue);
|
|
61
|
+
if (!range) {
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
64
|
+
const info = await session.sendRequest('dataBreakpointInfo', { asAddress: true, name: range.address, bytes: range.bytes })
|
|
65
|
+
.then(({ body }) => body)
|
|
66
|
+
.catch(e => { this.messageService.error(core_1.nls.localizeByDefault('Failed to set data breakpoint at {0}: {1}', range.address, e.message)); });
|
|
67
|
+
if (!(info === null || info === void 0 ? void 0 : info.dataId)) {
|
|
68
|
+
return;
|
|
69
|
+
}
|
|
70
|
+
let accessType = 'write';
|
|
71
|
+
if (info.accessTypes && ((_a = info.accessTypes) === null || _a === void 0 ? void 0 : _a.length) > 1) {
|
|
72
|
+
const accessTypes = info.accessTypes.map(type => ({ label: type }));
|
|
73
|
+
const selectedAccessType = await quickInput.pick(accessTypes, { placeHolder: core_1.nls.localizeByDefault('Select the access type to monitor') });
|
|
74
|
+
if (!selectedAccessType) {
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
accessType = selectedAccessType.label;
|
|
78
|
+
}
|
|
79
|
+
const src = { type: 1 /* DataBreakpointSourceType.Address */, ...range };
|
|
80
|
+
if (existingBreakpoint) {
|
|
81
|
+
this.breakpointManager.removeDataBreakpoint(existingBreakpoint.id);
|
|
82
|
+
}
|
|
83
|
+
this.breakpointManager.addDataBreakpoint(breakpoint_marker_1.DataBreakpoint.create({ dataId: info.dataId, accessType }, { ...info, canPersist: true }, src));
|
|
84
|
+
}
|
|
85
|
+
getRange(defaultValue) {
|
|
86
|
+
return new Promise(resolve => {
|
|
87
|
+
const disposables = new core_1.DisposableCollection();
|
|
88
|
+
const addDisposable = (disposable) => {
|
|
89
|
+
disposables.push(disposable);
|
|
90
|
+
return disposable;
|
|
91
|
+
};
|
|
92
|
+
const input = addDisposable(this.quickInputService.createInputBox());
|
|
93
|
+
input.prompt = core_1.nls.localizeByDefault('Enter a memory range in which to break');
|
|
94
|
+
input.placeholder = core_1.nls.localizeByDefault('Absolute range (0x1234 - 0x1300) or range of bytes after an address (0x1234 + 0xff)');
|
|
95
|
+
if (defaultValue) {
|
|
96
|
+
input.value = defaultValue;
|
|
97
|
+
input.valueSelection = [0, defaultValue.length];
|
|
98
|
+
}
|
|
99
|
+
addDisposable(input.onDidChangeValue(e => {
|
|
100
|
+
const err = this.parseAddress(e, false);
|
|
101
|
+
input.validationMessage = err === null || err === void 0 ? void 0 : err.error;
|
|
102
|
+
}));
|
|
103
|
+
addDisposable(input.onDidAccept(() => {
|
|
104
|
+
var _a;
|
|
105
|
+
const r = this.parseAddress((_a = input.value) !== null && _a !== void 0 ? _a : '', true);
|
|
106
|
+
if ('error' in r) {
|
|
107
|
+
input.validationMessage = r.error;
|
|
108
|
+
}
|
|
109
|
+
else {
|
|
110
|
+
resolve(r);
|
|
111
|
+
}
|
|
112
|
+
input.dispose();
|
|
113
|
+
}));
|
|
114
|
+
addDisposable(input.onDidHide(() => {
|
|
115
|
+
resolve(undefined);
|
|
116
|
+
disposables.dispose();
|
|
117
|
+
}));
|
|
118
|
+
input.ignoreFocusOut = true;
|
|
119
|
+
input.show();
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
parseAddress(range, isFinal) {
|
|
123
|
+
const parts = /^(\S+)\s*(?:([+-])\s*(\S+))?/.exec(range);
|
|
124
|
+
if (!parts) {
|
|
125
|
+
return { error: core_1.nls.localizeByDefault('Address should be a range of numbers the form "[Start] - [End]" or "[Start] + [Bytes]"') };
|
|
126
|
+
}
|
|
127
|
+
const isNum = (e) => isFinal ? /^0x[0-9a-f]*|[0-9]*$/i.test(e) : /^0x[0-9a-f]+|[0-9]+$/i.test(e);
|
|
128
|
+
const [, startStr, sign = '+', endStr = '1'] = parts;
|
|
129
|
+
for (const n of [startStr, endStr]) {
|
|
130
|
+
if (!isNum(n)) {
|
|
131
|
+
return { error: core_1.nls.localizeByDefault('Number must be a decimal integer or hex value starting with \"0x\", got {0}', n) };
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
if (!isFinal) {
|
|
135
|
+
return;
|
|
136
|
+
}
|
|
137
|
+
const start = BigInt(startStr);
|
|
138
|
+
const end = BigInt(endStr);
|
|
139
|
+
const address = `0x${start.toString(16)}`;
|
|
140
|
+
if (sign === '-') {
|
|
141
|
+
return { address, bytes: Number(start - end) };
|
|
142
|
+
}
|
|
143
|
+
return { address, bytes: Number(end) };
|
|
144
|
+
}
|
|
145
|
+
};
|
|
146
|
+
exports.AddOrEditDataBreakpointAddress = AddOrEditDataBreakpointAddress;
|
|
147
|
+
tslib_1.__decorate([
|
|
148
|
+
(0, inversify_1.inject)(debug_view_model_1.DebugViewModel),
|
|
149
|
+
tslib_1.__metadata("design:type", debug_view_model_1.DebugViewModel)
|
|
150
|
+
], AddOrEditDataBreakpointAddress.prototype, "viewModel", void 0);
|
|
151
|
+
tslib_1.__decorate([
|
|
152
|
+
(0, inversify_1.inject)(core_1.QuickInputService),
|
|
153
|
+
tslib_1.__metadata("design:type", Object)
|
|
154
|
+
], AddOrEditDataBreakpointAddress.prototype, "quickInputService", void 0);
|
|
155
|
+
tslib_1.__decorate([
|
|
156
|
+
(0, inversify_1.inject)(core_1.MessageService),
|
|
157
|
+
tslib_1.__metadata("design:type", core_1.MessageService)
|
|
158
|
+
], AddOrEditDataBreakpointAddress.prototype, "messageService", void 0);
|
|
159
|
+
tslib_1.__decorate([
|
|
160
|
+
(0, inversify_1.inject)(breakpoint_manager_1.BreakpointManager),
|
|
161
|
+
tslib_1.__metadata("design:type", breakpoint_manager_1.BreakpointManager)
|
|
162
|
+
], AddOrEditDataBreakpointAddress.prototype, "breakpointManager", void 0);
|
|
163
|
+
exports.AddOrEditDataBreakpointAddress = AddOrEditDataBreakpointAddress = tslib_1.__decorate([
|
|
164
|
+
(0, inversify_1.injectable)()
|
|
165
|
+
], AddOrEditDataBreakpointAddress);
|
|
166
|
+
//# sourceMappingURL=debug-data-breakpoint-actions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-data-breakpoint-actions.js","sourceRoot":"","sources":["../../../src/browser/breakpoint/debug-data-breakpoint-actions.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,oDAAoD;AACpD,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,sCAAuH;AACvH,4DAAkE;AAClE,+DAA0D;AAC1D,qEAAsE;AACtE,0EAAqE;AACrE,2DAAqG;AAErG,6DAAyD;AACzD,qDAA2D;AAC3D,+EAA0E;AAE1E,uKAAuK;AAGhK,IAAM,8BAA8B,GAApC,MAAM,8BAA8B;IAUvC,SAAS,CAAC,IAAsB;;QAC5B,OAAO,CAAC,CAAC,CAAA,MAAA,IAAI,CAAC,SAAS,CAAC,cAAc,0CAAE,YAAY,CAAC,uBAAuB,CAAA;eACrE,CAAA,MAAA,IAAI,CAAC,SAAS,CAAC,cAAc,0CAAE,YAAY,CAAC,2BAA2B,MAAK,KAAK;eACjF,IAAI,CAAC,gCAAgC,CAAC,IAAI,CAAC,CAAC;IACvD,CAAC;IAED,SAAS,CAAC,IAAsB;QAC5B,OAAO,IAAI,CAAC,SAAS,CAAC,IAA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D,KAAK,MAAM,CAAC,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC,EAAE,CAAC;YACjC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;gBACZ,OAAO,EAAE,KAAK,EAAE,UAAG,CAAC,iBAAiB,CAAC,6EAA6E,EAAE,CAAC,CAAC,EAAE,CAAC;YAC9H,CAAC;QACL,CAAC;QAED,IAAI,CAAC,OAAO,EAAE,CAAC;YACX,OAAO;QACX,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC;QAC/B,MAAM,GAAG,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC;QAC3B,MAAM,OAAO,GAAG,KAAK,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC,EAAE,CAAC;QAC1C,IAAI,IAAI,KAAK,GAAG,EAAE,CAAC;YACf,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,CAAC,KAAK,GAAG,GAAG,CAAC,EAAE,CAAC;QACnD,CAAC;QAED,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC;IAC3C,CAAC;CACJ,CAAA;AA3IY,wEAA8B;AAEpB;IADlB,IAAA,kBAAM,EAAC,iCAAc,CAAC;sCACO,iCAAc;iEAAC;AAE1B;IADlB,IAAA,kBAAM,EAAC,wBAAiB,CAAC;;yEAC8B;AAErC;IADlB,IAAA,kBAAM,EAAC,qBAAc,CAAC;sCACY,qBAAc;sEAAC;AAE/B;IADlB,IAAA,kBAAM,EAAC,sCAAiB,CAAC;sCACY,sCAAiB;yEAAC;yCAR/C,8BAA8B;IAD1C,IAAA,sBAAU,GAAE;GACA,8BAA8B,CA2I1C"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import '../../../src/browser/style/debug.css';
|
|
3
|
+
import { ConsoleSessionManager } from '@theia/console/lib/browser/console-session-manager';
|
|
4
|
+
import { ConsoleOptions, ConsoleWidget } from '@theia/console/lib/browser/console-widget';
|
|
5
|
+
import { AbstractViewContribution, Widget } from '@theia/core/lib/browser';
|
|
6
|
+
import { ContextKey } from '@theia/core/lib/browser/context-key-service';
|
|
7
|
+
import { TabBarToolbarContribution, TabBarToolbarRegistry } from '@theia/core/lib/browser/shell/tab-bar-toolbar';
|
|
8
|
+
import { Command, CommandRegistry } from '@theia/core/lib/common/command';
|
|
9
|
+
import { interfaces } from '@theia/core/shared/inversify';
|
|
10
|
+
import * as React from '@theia/core/shared/react';
|
|
11
|
+
import { SelectOption } from '@theia/core/lib/browser/widgets/select-component';
|
|
12
|
+
import { DebugSessionManager, DidChangeActiveDebugSession } from '../debug-session-manager';
|
|
13
|
+
import { DebugConsoleSessionFactory } from './debug-console-session';
|
|
14
|
+
import { InMemoryResources } from '@theia/core';
|
|
15
|
+
export type InDebugReplContextKey = ContextKey<boolean>;
|
|
16
|
+
export declare const InDebugReplContextKey: unique symbol;
|
|
17
|
+
export declare namespace DebugConsoleCommands {
|
|
18
|
+
const DEBUG_CATEGORY = "Debug";
|
|
19
|
+
const CLEAR: Command;
|
|
20
|
+
}
|
|
21
|
+
export declare class DebugConsoleContribution extends AbstractViewContribution<ConsoleWidget> implements TabBarToolbarContribution {
|
|
22
|
+
protected consoleSessionManager: ConsoleSessionManager;
|
|
23
|
+
protected debugConsoleSessionFactory: DebugConsoleSessionFactory;
|
|
24
|
+
protected debugSessionManager: DebugSessionManager;
|
|
25
|
+
protected readonly resources: InMemoryResources;
|
|
26
|
+
protected readonly DEBUG_CONSOLE_SEVERITY_ID = "debugConsoleSeverity";
|
|
27
|
+
constructor();
|
|
28
|
+
protected init(): void;
|
|
29
|
+
protected handleActiveDebugSessionChanged(event: DidChangeActiveDebugSession): void;
|
|
30
|
+
registerCommands(commands: CommandRegistry): void;
|
|
31
|
+
registerToolbarItems(toolbarRegistry: TabBarToolbarRegistry): Promise<void>;
|
|
32
|
+
static options: ConsoleOptions;
|
|
33
|
+
static create(parent: interfaces.Container): Promise<ConsoleWidget>;
|
|
34
|
+
static bindContribution(bind: interfaces.Bind): void;
|
|
35
|
+
protected renderSeveritySelector(widget: Widget | undefined): React.ReactNode;
|
|
36
|
+
protected renderDebugConsoleSelector(widget: Widget | undefined): React.ReactNode;
|
|
37
|
+
protected changeDebugConsole: (option: SelectOption) => void;
|
|
38
|
+
protected changeSeverity: (option: SelectOption) => void;
|
|
39
|
+
protected withWidget<T>(widget: Widget | undefined, fn: (widget: ConsoleWidget) => T): T | false;
|
|
40
|
+
/**
|
|
41
|
+
* Clear the console widget.
|
|
42
|
+
*/
|
|
43
|
+
protected clearConsole(): Promise<void>;
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=debug-console-contribution.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-console-contribution.d.ts","sourceRoot":"","sources":["../../../src/browser/console/debug-console-contribution.tsx"],"names":[],"mappings":";AAeA,OAAO,sCAAsC,CAAC;AAE9C,OAAO,EAAE,qBAAqB,EAAE,MAAM,oDAAoD,CAAC;AAC3F,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,2CAA2C,CAAC;AAC1F,OAAO,EAAE,wBAAwB,EAAiC,MAAM,EAAiB,MAAM,yBAAyB,CAAC;AACzH,OAAO,EAAE,UAAU,EAAqB,MAAM,6CAA6C,CAAC;AAE5F,OAAO,EAAE,yBAAyB,EAAE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AACjH,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAE1E,OAAO,EAAsB,UAAU,EAAiB,MAAM,8BAA8B,CAAC;AAC7F,OAAO,KAAK,KAAK,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAmB,YAAY,EAAE,MAAM,kDAAkD,CAAC;AAEjG,OAAO,EAAE,mBAAmB,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAC5F,OAAO,EAAuB,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C,kBAAkB,WAAY,YAAY,UAIlD;IAEF,SAAS,CAAC,cAAc,WAAY,YAAY,UAE9C;IAEF,SAAS,CAAC,UAAU,CAAC,CAAC,EAAE,MAAM,oBAA0C,EAAE,EAAE,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,CAAC,GAAG,CAAC,GAAG,KAAK;IAOtH;;OAEG;cACa,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC;CAKhD"}
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var DebugConsoleContribution_1;
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.DebugConsoleContribution = exports.DebugConsoleCommands = exports.InDebugReplContextKey = void 0;
|
|
5
|
+
const tslib_1 = require("tslib");
|
|
6
|
+
// *****************************************************************************
|
|
7
|
+
// Copyright (C) 2018 TypeFox and others.
|
|
8
|
+
//
|
|
9
|
+
// This program and the accompanying materials are made available under the
|
|
10
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
11
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
12
|
+
//
|
|
13
|
+
// This Source Code may also be made available under the following Secondary
|
|
14
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
15
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
16
|
+
// with the GNU Classpath Exception which is available at
|
|
17
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
18
|
+
//
|
|
19
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
20
|
+
// *****************************************************************************
|
|
21
|
+
require("../../../src/browser/style/debug.css");
|
|
22
|
+
const console_session_manager_1 = require("@theia/console/lib/browser/console-session-manager");
|
|
23
|
+
const console_widget_1 = require("@theia/console/lib/browser/console-widget");
|
|
24
|
+
const browser_1 = require("@theia/core/lib/browser");
|
|
25
|
+
const context_key_service_1 = require("@theia/core/lib/browser/context-key-service");
|
|
26
|
+
const nls_1 = require("@theia/core/lib/common/nls");
|
|
27
|
+
const tab_bar_toolbar_1 = require("@theia/core/lib/browser/shell/tab-bar-toolbar");
|
|
28
|
+
const command_1 = require("@theia/core/lib/common/command");
|
|
29
|
+
const severity_1 = require("@theia/core/lib/common/severity");
|
|
30
|
+
const inversify_1 = require("@theia/core/shared/inversify");
|
|
31
|
+
const React = require("@theia/core/shared/react");
|
|
32
|
+
const select_component_1 = require("@theia/core/lib/browser/widgets/select-component");
|
|
33
|
+
const debug_session_manager_1 = require("../debug-session-manager");
|
|
34
|
+
const debug_console_session_1 = require("./debug-console-session");
|
|
35
|
+
const core_1 = require("@theia/core");
|
|
36
|
+
exports.InDebugReplContextKey = Symbol('inDebugReplContextKey');
|
|
37
|
+
var DebugConsoleCommands;
|
|
38
|
+
(function (DebugConsoleCommands) {
|
|
39
|
+
DebugConsoleCommands.DEBUG_CATEGORY = 'Debug';
|
|
40
|
+
DebugConsoleCommands.CLEAR = command_1.Command.toDefaultLocalizedCommand({
|
|
41
|
+
id: 'debug.console.clear',
|
|
42
|
+
category: DebugConsoleCommands.DEBUG_CATEGORY,
|
|
43
|
+
label: 'Clear Console',
|
|
44
|
+
iconClass: (0, browser_1.codicon)('clear-all')
|
|
45
|
+
});
|
|
46
|
+
})(DebugConsoleCommands || (exports.DebugConsoleCommands = DebugConsoleCommands = {}));
|
|
47
|
+
let DebugConsoleContribution = DebugConsoleContribution_1 = class DebugConsoleContribution extends browser_1.AbstractViewContribution {
|
|
48
|
+
constructor() {
|
|
49
|
+
super({
|
|
50
|
+
widgetId: DebugConsoleContribution_1.options.id,
|
|
51
|
+
widgetName: DebugConsoleContribution_1.options.title.label,
|
|
52
|
+
defaultWidgetOptions: {
|
|
53
|
+
area: 'bottom'
|
|
54
|
+
},
|
|
55
|
+
toggleCommandId: 'debug:console:toggle',
|
|
56
|
+
toggleKeybinding: 'ctrlcmd+shift+y'
|
|
57
|
+
});
|
|
58
|
+
this.DEBUG_CONSOLE_SEVERITY_ID = 'debugConsoleSeverity';
|
|
59
|
+
this.changeDebugConsole = (option) => {
|
|
60
|
+
const id = option.value;
|
|
61
|
+
const session = this.consoleSessionManager.get(id);
|
|
62
|
+
this.consoleSessionManager.selectedSession = session;
|
|
63
|
+
};
|
|
64
|
+
this.changeSeverity = (option) => {
|
|
65
|
+
this.consoleSessionManager.severity = severity_1.Severity.fromValue(option.value);
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
init() {
|
|
69
|
+
this.resources.add(debug_console_session_1.DebugConsoleSession.uri, '');
|
|
70
|
+
this.debugSessionManager.onDidCreateDebugSession(session => {
|
|
71
|
+
const consoleParent = session.findConsoleParent();
|
|
72
|
+
if (consoleParent) {
|
|
73
|
+
const parentConsoleSession = this.consoleSessionManager.get(consoleParent.id);
|
|
74
|
+
if (parentConsoleSession instanceof debug_console_session_1.DebugConsoleSession) {
|
|
75
|
+
session.on('output', event => parentConsoleSession.logOutput(parentConsoleSession.debugSession, event));
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
else {
|
|
79
|
+
const consoleSession = this.debugConsoleSessionFactory(session);
|
|
80
|
+
this.consoleSessionManager.add(consoleSession);
|
|
81
|
+
session.on('output', event => consoleSession.logOutput(session, event));
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
this.debugSessionManager.onDidChangeActiveDebugSession(event => this.handleActiveDebugSessionChanged(event));
|
|
85
|
+
this.debugSessionManager.onDidDestroyDebugSession(session => {
|
|
86
|
+
this.consoleSessionManager.delete(session.id);
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
handleActiveDebugSessionChanged(event) {
|
|
90
|
+
if (!event.current) {
|
|
91
|
+
this.consoleSessionManager.selectedSession = undefined;
|
|
92
|
+
}
|
|
93
|
+
else {
|
|
94
|
+
const topSession = event.current.findConsoleParent() || event.current;
|
|
95
|
+
const consoleSession = topSession ? this.consoleSessionManager.get(topSession.id) : undefined;
|
|
96
|
+
this.consoleSessionManager.selectedSession = consoleSession;
|
|
97
|
+
const consoleSelector = document.getElementById('debugConsoleSelector');
|
|
98
|
+
if (consoleSession && consoleSelector instanceof HTMLSelectElement) {
|
|
99
|
+
consoleSelector.value = consoleSession.id;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
registerCommands(commands) {
|
|
104
|
+
super.registerCommands(commands);
|
|
105
|
+
commands.registerCommand(DebugConsoleCommands.CLEAR, {
|
|
106
|
+
isEnabled: widget => this.withWidget(widget, () => true),
|
|
107
|
+
isVisible: widget => this.withWidget(widget, () => true),
|
|
108
|
+
execute: widget => this.withWidget(widget, () => {
|
|
109
|
+
this.clearConsole();
|
|
110
|
+
}),
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
async registerToolbarItems(toolbarRegistry) {
|
|
114
|
+
toolbarRegistry.registerItem({
|
|
115
|
+
id: 'debug-console-severity',
|
|
116
|
+
render: widget => this.renderSeveritySelector(widget),
|
|
117
|
+
isVisible: widget => this.withWidget(widget, () => true),
|
|
118
|
+
onDidChange: this.consoleSessionManager.onDidChangeSeverity
|
|
119
|
+
});
|
|
120
|
+
toolbarRegistry.registerItem({
|
|
121
|
+
id: 'debug-console-session-selector',
|
|
122
|
+
render: widget => this.renderDebugConsoleSelector(widget),
|
|
123
|
+
isVisible: widget => this.withWidget(widget, () => this.consoleSessionManager.all.length > 1)
|
|
124
|
+
});
|
|
125
|
+
toolbarRegistry.registerItem({
|
|
126
|
+
id: DebugConsoleCommands.CLEAR.id,
|
|
127
|
+
command: DebugConsoleCommands.CLEAR.id,
|
|
128
|
+
tooltip: DebugConsoleCommands.CLEAR.label,
|
|
129
|
+
priority: 0,
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
static async create(parent) {
|
|
133
|
+
const inputFocusContextKey = parent.get(exports.InDebugReplContextKey);
|
|
134
|
+
const child = console_widget_1.ConsoleWidget.createContainer(parent, {
|
|
135
|
+
...DebugConsoleContribution_1.options,
|
|
136
|
+
inputFocusContextKey
|
|
137
|
+
});
|
|
138
|
+
const widget = child.get(console_widget_1.ConsoleWidget);
|
|
139
|
+
await widget.ready;
|
|
140
|
+
return widget;
|
|
141
|
+
}
|
|
142
|
+
static bindContribution(bind) {
|
|
143
|
+
bind(exports.InDebugReplContextKey).toDynamicValue(({ container }) => container.get(context_key_service_1.ContextKeyService).createKey('inDebugRepl', false)).inSingletonScope();
|
|
144
|
+
bind(debug_console_session_1.DebugConsoleSession).toSelf().inRequestScope();
|
|
145
|
+
bind(debug_console_session_1.DebugConsoleSessionFactory).toFactory(context => (session) => {
|
|
146
|
+
const consoleSession = context.container.get(debug_console_session_1.DebugConsoleSession);
|
|
147
|
+
consoleSession.debugSession = session;
|
|
148
|
+
return consoleSession;
|
|
149
|
+
});
|
|
150
|
+
bind(console_session_manager_1.ConsoleSessionManager).toSelf().inSingletonScope();
|
|
151
|
+
(0, browser_1.bindViewContribution)(bind, DebugConsoleContribution_1);
|
|
152
|
+
bind(tab_bar_toolbar_1.TabBarToolbarContribution).toService(DebugConsoleContribution_1);
|
|
153
|
+
bind(browser_1.WidgetFactory).toDynamicValue(({ container }) => ({
|
|
154
|
+
id: DebugConsoleContribution_1.options.id,
|
|
155
|
+
createWidget: () => DebugConsoleContribution_1.create(container)
|
|
156
|
+
}));
|
|
157
|
+
}
|
|
158
|
+
renderSeveritySelector(widget) {
|
|
159
|
+
const severityElements = severity_1.Severity.toArray().map(e => ({
|
|
160
|
+
value: e,
|
|
161
|
+
label: severity_1.Severity.toLocaleString(e)
|
|
162
|
+
}));
|
|
163
|
+
return React.createElement(select_component_1.SelectComponent, { id: this.DEBUG_CONSOLE_SEVERITY_ID, key: "debugConsoleSeverity", options: severityElements, defaultValue: this.consoleSessionManager.severity || severity_1.Severity.Ignore, onChange: this.changeSeverity });
|
|
164
|
+
}
|
|
165
|
+
renderDebugConsoleSelector(widget) {
|
|
166
|
+
const availableConsoles = [];
|
|
167
|
+
this.consoleSessionManager.all.forEach(e => {
|
|
168
|
+
if (e instanceof debug_console_session_1.DebugConsoleSession) {
|
|
169
|
+
availableConsoles.push({
|
|
170
|
+
value: e.id,
|
|
171
|
+
label: e.debugSession.label
|
|
172
|
+
});
|
|
173
|
+
}
|
|
174
|
+
});
|
|
175
|
+
return React.createElement(select_component_1.SelectComponent, { key: "debugConsoleSelector", options: availableConsoles, defaultValue: 0, onChange: this.changeDebugConsole });
|
|
176
|
+
}
|
|
177
|
+
withWidget(widget = this.tryGetWidget(), fn) {
|
|
178
|
+
if (widget instanceof console_widget_1.ConsoleWidget && widget.id === DebugConsoleContribution_1.options.id) {
|
|
179
|
+
return fn(widget);
|
|
180
|
+
}
|
|
181
|
+
return false;
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* Clear the console widget.
|
|
185
|
+
*/
|
|
186
|
+
async clearConsole() {
|
|
187
|
+
const widget = await this.widget;
|
|
188
|
+
widget.clear();
|
|
189
|
+
}
|
|
190
|
+
};
|
|
191
|
+
exports.DebugConsoleContribution = DebugConsoleContribution;
|
|
192
|
+
DebugConsoleContribution.options = {
|
|
193
|
+
id: 'debug-console',
|
|
194
|
+
title: {
|
|
195
|
+
label: nls_1.nls.localizeByDefault('Debug Console'),
|
|
196
|
+
iconClass: (0, browser_1.codicon)('debug-console')
|
|
197
|
+
},
|
|
198
|
+
input: {
|
|
199
|
+
uri: debug_console_session_1.DebugConsoleSession.uri,
|
|
200
|
+
options: {
|
|
201
|
+
autoSizing: true,
|
|
202
|
+
minHeight: 1,
|
|
203
|
+
maxHeight: 10
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
};
|
|
207
|
+
tslib_1.__decorate([
|
|
208
|
+
(0, inversify_1.inject)(console_session_manager_1.ConsoleSessionManager),
|
|
209
|
+
tslib_1.__metadata("design:type", console_session_manager_1.ConsoleSessionManager)
|
|
210
|
+
], DebugConsoleContribution.prototype, "consoleSessionManager", void 0);
|
|
211
|
+
tslib_1.__decorate([
|
|
212
|
+
(0, inversify_1.inject)(debug_console_session_1.DebugConsoleSessionFactory),
|
|
213
|
+
tslib_1.__metadata("design:type", Function)
|
|
214
|
+
], DebugConsoleContribution.prototype, "debugConsoleSessionFactory", void 0);
|
|
215
|
+
tslib_1.__decorate([
|
|
216
|
+
(0, inversify_1.inject)(debug_session_manager_1.DebugSessionManager),
|
|
217
|
+
tslib_1.__metadata("design:type", debug_session_manager_1.DebugSessionManager)
|
|
218
|
+
], DebugConsoleContribution.prototype, "debugSessionManager", void 0);
|
|
219
|
+
tslib_1.__decorate([
|
|
220
|
+
(0, inversify_1.inject)(core_1.InMemoryResources),
|
|
221
|
+
tslib_1.__metadata("design:type", core_1.InMemoryResources)
|
|
222
|
+
], DebugConsoleContribution.prototype, "resources", void 0);
|
|
223
|
+
tslib_1.__decorate([
|
|
224
|
+
(0, inversify_1.postConstruct)(),
|
|
225
|
+
tslib_1.__metadata("design:type", Function),
|
|
226
|
+
tslib_1.__metadata("design:paramtypes", []),
|
|
227
|
+
tslib_1.__metadata("design:returntype", void 0)
|
|
228
|
+
], DebugConsoleContribution.prototype, "init", null);
|
|
229
|
+
exports.DebugConsoleContribution = DebugConsoleContribution = DebugConsoleContribution_1 = tslib_1.__decorate([
|
|
230
|
+
(0, inversify_1.injectable)(),
|
|
231
|
+
tslib_1.__metadata("design:paramtypes", [])
|
|
232
|
+
], DebugConsoleContribution);
|
|
233
|
+
//# sourceMappingURL=debug-console-contribution.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-console-contribution.js","sourceRoot":"","sources":["../../../src/browser/console/debug-console-contribution.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;AAChF,gDAA8C;AAE9C,gGAA2F;AAC3F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