@opensumi/ide-debug 2.12.1-next-079c1930
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/assets/breakpoint-conditional-disabled.svg +4 -0
- package/lib/browser/assets/breakpoint-conditional-unverified.svg +4 -0
- package/lib/browser/assets/breakpoint-conditional.svg +4 -0
- package/lib/browser/assets/breakpoint-disabled.svg +4 -0
- package/lib/browser/assets/breakpoint-hint.svg +4 -0
- package/lib/browser/assets/breakpoint-log-disabled.svg +4 -0
- package/lib/browser/assets/breakpoint-log-unverified.svg +4 -0
- package/lib/browser/assets/breakpoint-log.svg +4 -0
- package/lib/browser/assets/breakpoint-unsupported.svg +4 -0
- package/lib/browser/assets/breakpoint-unverified.svg +4 -0
- package/lib/browser/assets/breakpoint.svg +4 -0
- package/lib/browser/assets/breakpoints-activate-inverse.svg +4 -0
- package/lib/browser/assets/breakpoints-activate.svg +4 -0
- package/lib/browser/assets/configure-inverse.svg +4 -0
- package/lib/browser/assets/configure.svg +4 -0
- package/lib/browser/assets/continue-inverse.svg +4 -0
- package/lib/browser/assets/current-and-breakpoint.svg +4 -0
- package/lib/browser/assets/current-arrow.svg +4 -0
- package/lib/browser/assets/remove-all-inverse.svg +4 -0
- package/lib/browser/assets/remove-all.svg +4 -0
- package/lib/browser/assets/repl-inverse.svg +4 -0
- package/lib/browser/assets/repl.svg +4 -0
- package/lib/browser/assets/restart-inverse.svg +4 -0
- package/lib/browser/assets/stackframe-and-breakpoint.svg +4 -0
- package/lib/browser/assets/stackframe-arrow.svg +4 -0
- package/lib/browser/assets/start-inverse.svg +4 -0
- package/lib/browser/breakpoint/breakpoint-decoration.d.ts +12 -0
- package/lib/browser/breakpoint/breakpoint-decoration.d.ts.map +1 -0
- package/lib/browser/breakpoint/breakpoint-decoration.js +53 -0
- package/lib/browser/breakpoint/breakpoint-decoration.js.map +1 -0
- package/lib/browser/breakpoint/breakpoint-manager.d.ts +87 -0
- package/lib/browser/breakpoint/breakpoint-manager.d.ts.map +1 -0
- package/lib/browser/breakpoint/breakpoint-manager.js +287 -0
- package/lib/browser/breakpoint/breakpoint-manager.js.map +1 -0
- package/lib/browser/breakpoint/breakpoint-marker.d.ts +37 -0
- package/lib/browser/breakpoint/breakpoint-marker.d.ts.map +1 -0
- package/lib/browser/breakpoint/breakpoint-marker.js +46 -0
- package/lib/browser/breakpoint/breakpoint-marker.js.map +1 -0
- package/lib/browser/breakpoint/index.d.ts +4 -0
- package/lib/browser/breakpoint/index.d.ts.map +1 -0
- package/lib/browser/breakpoint/index.js +7 -0
- package/lib/browser/breakpoint/index.js.map +1 -0
- package/lib/browser/components/debug-action/index.d.ts +11 -0
- package/lib/browser/components/debug-action/index.d.ts.map +1 -0
- package/lib/browser/components/debug-action/index.js +15 -0
- package/lib/browser/components/debug-action/index.js.map +1 -0
- package/lib/browser/components/debug-action/index.module.less +73 -0
- package/lib/browser/components/floating-click-widget/index.d.ts +3 -0
- package/lib/browser/components/floating-click-widget/index.d.ts.map +1 -0
- package/lib/browser/components/floating-click-widget/index.js +17 -0
- package/lib/browser/components/floating-click-widget/index.js.map +1 -0
- package/lib/browser/components/floating-click-widget/index.module.less +5 -0
- package/lib/browser/components/index.d.ts +2 -0
- package/lib/browser/components/index.d.ts.map +1 -0
- package/lib/browser/components/index.js +5 -0
- package/lib/browser/components/index.js.map +1 -0
- package/lib/browser/contextkeys/debug-call-stack-item-type-key.d.ts +4 -0
- package/lib/browser/contextkeys/debug-call-stack-item-type-key.d.ts.map +1 -0
- package/lib/browser/contextkeys/debug-call-stack-item-type-key.js +5 -0
- package/lib/browser/contextkeys/debug-call-stack-item-type-key.js.map +1 -0
- package/lib/browser/contextkeys/debug-contextkey.service.d.ts +16 -0
- package/lib/browser/contextkeys/debug-contextkey.service.d.ts.map +1 -0
- package/lib/browser/contextkeys/debug-contextkey.service.js +33 -0
- package/lib/browser/contextkeys/debug-contextkey.service.js.map +1 -0
- package/lib/browser/contextkeys/index.d.ts +2 -0
- package/lib/browser/contextkeys/index.d.ts.map +1 -0
- package/lib/browser/contextkeys/index.js +5 -0
- package/lib/browser/contextkeys/index.js.map +1 -0
- package/lib/browser/debug-configuration-manager.d.ts +86 -0
- package/lib/browser/debug-configuration-manager.d.ts.map +1 -0
- package/lib/browser/debug-configuration-manager.js +456 -0
- package/lib/browser/debug-configuration-manager.js.map +1 -0
- package/lib/browser/debug-configuration-model.d.ts +24 -0
- package/lib/browser/debug-configuration-model.d.ts.map +1 -0
- package/lib/browser/debug-configuration-model.js +55 -0
- package/lib/browser/debug-configuration-model.js.map +1 -0
- package/lib/browser/debug-contribution.d.ts +207 -0
- package/lib/browser/debug-contribution.d.ts.map +1 -0
- package/lib/browser/debug-contribution.js +764 -0
- package/lib/browser/debug-contribution.js.map +1 -0
- package/lib/browser/debug-link-detector.d.ts +13 -0
- package/lib/browser/debug-link-detector.d.ts.map +1 -0
- package/lib/browser/debug-link-detector.js +196 -0
- package/lib/browser/debug-link-detector.js.map +1 -0
- package/lib/browser/debug-preferences.d.ts +15 -0
- package/lib/browser/debug-preferences.d.ts.map +1 -0
- package/lib/browser/debug-preferences.js +57 -0
- package/lib/browser/debug-preferences.js.map +1 -0
- package/lib/browser/debug-progress.service.d.ts +13 -0
- package/lib/browser/debug-progress.service.d.ts.map +1 -0
- package/lib/browser/debug-progress.service.js +97 -0
- package/lib/browser/debug-progress.service.js.map +1 -0
- package/lib/browser/debug-schema-updater.d.ts +10 -0
- package/lib/browser/debug-schema-updater.d.ts.map +1 -0
- package/lib/browser/debug-schema-updater.js +74 -0
- package/lib/browser/debug-schema-updater.js.map +1 -0
- package/lib/browser/debug-service.d.ts +11 -0
- package/lib/browser/debug-service.d.ts.map +1 -0
- package/lib/browser/debug-service.js +43 -0
- package/lib/browser/debug-service.js.map +1 -0
- package/lib/browser/debug-session-connection.d.ts +107 -0
- package/lib/browser/debug-session-connection.d.ts.map +1 -0
- package/lib/browser/debug-session-connection.js +267 -0
- package/lib/browser/debug-session-connection.js.map +1 -0
- package/lib/browser/debug-session-contribution.d.ts +61 -0
- package/lib/browser/debug-session-contribution.d.ts.map +1 -0
- package/lib/browser/debug-session-contribution.js +116 -0
- package/lib/browser/debug-session-contribution.js.map +1 -0
- package/lib/browser/debug-session-manager.d.ts +130 -0
- package/lib/browser/debug-session-manager.d.ts.map +1 -0
- package/lib/browser/debug-session-manager.js +488 -0
- package/lib/browser/debug-session-manager.js.map +1 -0
- package/lib/browser/debug-session.d.ts +181 -0
- package/lib/browser/debug-session.d.ts.map +1 -0
- package/lib/browser/debug-session.js +898 -0
- package/lib/browser/debug-session.js.map +1 -0
- package/lib/browser/debug-style.less +125 -0
- package/lib/browser/debugUtils.d.ts +18 -0
- package/lib/browser/debugUtils.d.ts.map +1 -0
- package/lib/browser/debugUtils.js +91 -0
- package/lib/browser/debugUtils.js.map +1 -0
- package/lib/browser/editor/debug-breakpoint-widget.d.ts +29 -0
- package/lib/browser/editor/debug-breakpoint-widget.d.ts.map +1 -0
- package/lib/browser/editor/debug-breakpoint-widget.js +82 -0
- package/lib/browser/editor/debug-breakpoint-widget.js.map +1 -0
- package/lib/browser/editor/debug-breakpoint-zone-widget.d.ts +60 -0
- package/lib/browser/editor/debug-breakpoint-zone-widget.d.ts.map +1 -0
- package/lib/browser/editor/debug-breakpoint-zone-widget.js +198 -0
- package/lib/browser/editor/debug-breakpoint-zone-widget.js.map +1 -0
- package/lib/browser/editor/debug-breakpoint.module.less +29 -0
- package/lib/browser/editor/debug-editor-contribution.d.ts +27 -0
- package/lib/browser/editor/debug-editor-contribution.d.ts.map +1 -0
- package/lib/browser/editor/debug-editor-contribution.js +354 -0
- package/lib/browser/editor/debug-editor-contribution.js.map +1 -0
- package/lib/browser/editor/debug-expression-provider.d.ts +12 -0
- package/lib/browser/editor/debug-expression-provider.d.ts.map +1 -0
- package/lib/browser/editor/debug-expression-provider.js +88 -0
- package/lib/browser/editor/debug-expression-provider.js.map +1 -0
- package/lib/browser/editor/debug-hover-model.d.ts +12 -0
- package/lib/browser/editor/debug-hover-model.d.ts.map +1 -0
- package/lib/browser/editor/debug-hover-model.js +43 -0
- package/lib/browser/editor/debug-hover-model.js.map +1 -0
- package/lib/browser/editor/debug-hover-source.d.ts +18 -0
- package/lib/browser/editor/debug-hover-source.d.ts.map +1 -0
- package/lib/browser/editor/debug-hover-source.js +94 -0
- package/lib/browser/editor/debug-hover-source.js.map +1 -0
- package/lib/browser/editor/debug-hover-tree.model.service.d.ts +62 -0
- package/lib/browser/editor/debug-hover-tree.model.service.d.ts.map +1 -0
- package/lib/browser/editor/debug-hover-tree.model.service.js +284 -0
- package/lib/browser/editor/debug-hover-tree.model.service.js.map +1 -0
- package/lib/browser/editor/debug-hover-widget.d.ts +58 -0
- package/lib/browser/editor/debug-hover-widget.d.ts.map +1 -0
- package/lib/browser/editor/debug-hover-widget.js +152 -0
- package/lib/browser/editor/debug-hover-widget.js.map +1 -0
- package/lib/browser/editor/debug-hover.module.less +30 -0
- package/lib/browser/editor/debug-hover.view.d.ts +3 -0
- package/lib/browser/editor/debug-hover.view.d.ts.map +1 -0
- package/lib/browser/editor/debug-hover.view.js +86 -0
- package/lib/browser/editor/debug-hover.view.js.map +1 -0
- package/lib/browser/editor/debug-model-manager.d.ts +41 -0
- package/lib/browser/editor/debug-model-manager.d.ts.map +1 -0
- package/lib/browser/editor/debug-model-manager.js +191 -0
- package/lib/browser/editor/debug-model-manager.js.map +1 -0
- package/lib/browser/editor/debug-model.d.ts +181 -0
- package/lib/browser/editor/debug-model.d.ts.map +1 -0
- package/lib/browser/editor/debug-model.js +673 -0
- package/lib/browser/editor/debug-model.js.map +1 -0
- package/lib/browser/editor/debug-run-to-cursor.service.d.ts +19 -0
- package/lib/browser/editor/debug-run-to-cursor.service.d.ts.map +1 -0
- package/lib/browser/editor/debug-run-to-cursor.service.js +145 -0
- package/lib/browser/editor/debug-run-to-cursor.service.js.map +1 -0
- package/lib/browser/editor/debug-styles.d.ts +13 -0
- package/lib/browser/editor/debug-styles.d.ts.map +1 -0
- package/lib/browser/editor/debug-styles.js +60 -0
- package/lib/browser/editor/debug-styles.js.map +1 -0
- package/lib/browser/editor/evaluatable-expression.d.ts +22 -0
- package/lib/browser/editor/evaluatable-expression.d.ts.map +1 -0
- package/lib/browser/editor/evaluatable-expression.js +24 -0
- package/lib/browser/editor/evaluatable-expression.js.map +1 -0
- package/lib/browser/editor/index.d.ts +7 -0
- package/lib/browser/editor/index.d.ts.map +1 -0
- package/lib/browser/editor/index.js +10 -0
- package/lib/browser/editor/index.js.map +1 -0
- package/lib/browser/editor/inline-values.d.ts +4 -0
- package/lib/browser/editor/inline-values.d.ts.map +1 -0
- package/lib/browser/editor/inline-values.js +6 -0
- package/lib/browser/editor/inline-values.js.map +1 -0
- package/lib/browser/index.d.ts +27 -0
- package/lib/browser/index.d.ts.map +1 -0
- package/lib/browser/index.js +135 -0
- package/lib/browser/index.js.map +1 -0
- package/lib/browser/markers/index.d.ts +3 -0
- package/lib/browser/markers/index.d.ts.map +1 -0
- package/lib/browser/markers/index.js +6 -0
- package/lib/browser/markers/index.js.map +1 -0
- package/lib/browser/markers/marker-manager.d.ts +62 -0
- package/lib/browser/markers/marker-manager.d.ts.map +1 -0
- package/lib/browser/markers/marker-manager.js +175 -0
- package/lib/browser/markers/marker-manager.js.map +1 -0
- package/lib/browser/markers/marker.d.ts +13 -0
- package/lib/browser/markers/marker.d.ts.map +1 -0
- package/lib/browser/markers/marker.js +3 -0
- package/lib/browser/markers/marker.js.map +1 -0
- package/lib/browser/model/debug-source.d.ts +46 -0
- package/lib/browser/model/debug-source.d.ts.map +1 -0
- package/lib/browser/model/debug-source.js +113 -0
- package/lib/browser/model/debug-source.js.map +1 -0
- package/lib/browser/model/debug-stack-frame.d.ts +30 -0
- package/lib/browser/model/debug-stack-frame.d.ts.map +1 -0
- package/lib/browser/model/debug-stack-frame.js +85 -0
- package/lib/browser/model/debug-stack-frame.js.map +1 -0
- package/lib/browser/model/debug-thread.d.ts +46 -0
- package/lib/browser/model/debug-thread.d.ts.map +1 -0
- package/lib/browser/model/debug-thread.js +140 -0
- package/lib/browser/model/debug-thread.js.map +1 -0
- package/lib/browser/model/debug-watch.d.ts +39 -0
- package/lib/browser/model/debug-watch.d.ts.map +1 -0
- package/lib/browser/model/debug-watch.js +97 -0
- package/lib/browser/model/debug-watch.js.map +1 -0
- package/lib/browser/model/index.d.ts +5 -0
- package/lib/browser/model/index.d.ts.map +1 -0
- package/lib/browser/model/index.js +8 -0
- package/lib/browser/model/index.js.map +1 -0
- package/lib/browser/preferences/launch-folder-preference-provider.d.ts +6 -0
- package/lib/browser/preferences/launch-folder-preference-provider.d.ts.map +1 -0
- package/lib/browser/preferences/launch-folder-preference-provider.js +29 -0
- package/lib/browser/preferences/launch-folder-preference-provider.js.map +1 -0
- package/lib/browser/preferences/launch-preferences-contribution.d.ts +6 -0
- package/lib/browser/preferences/launch-preferences-contribution.d.ts.map +1 -0
- package/lib/browser/preferences/launch-preferences-contribution.js +17 -0
- package/lib/browser/preferences/launch-preferences-contribution.js.map +1 -0
- package/lib/browser/preferences/launch-preferences.d.ts +3 -0
- package/lib/browser/preferences/launch-preferences.d.ts.map +1 -0
- package/lib/browser/preferences/launch-preferences.js +16 -0
- package/lib/browser/preferences/launch-preferences.js.map +1 -0
- package/lib/browser/tree/debug-console-tree-node.define.d.ts +29 -0
- package/lib/browser/tree/debug-console-tree-node.define.d.ts.map +1 -0
- package/lib/browser/tree/debug-console-tree-node.define.js +68 -0
- package/lib/browser/tree/debug-console-tree-node.define.js.map +1 -0
- package/lib/browser/tree/debug-tree-node.define.d.ts +199 -0
- package/lib/browser/tree/debug-tree-node.define.d.ts.map +1 -0
- package/lib/browser/tree/debug-tree-node.define.js +583 -0
- package/lib/browser/tree/debug-tree-node.define.js.map +1 -0
- package/lib/browser/tree/index.d.ts +3 -0
- package/lib/browser/tree/index.d.ts.map +1 -0
- package/lib/browser/tree/index.js +6 -0
- package/lib/browser/tree/index.js.map +1 -0
- package/lib/browser/view/breakpoints/debug-breakpoints.module.less +71 -0
- package/lib/browser/view/breakpoints/debug-breakpoints.service.d.ts +42 -0
- package/lib/browser/view/breakpoints/debug-breakpoints.service.d.ts.map +1 -0
- package/lib/browser/view/breakpoints/debug-breakpoints.service.js +228 -0
- package/lib/browser/view/breakpoints/debug-breakpoints.service.js.map +1 -0
- package/lib/browser/view/breakpoints/debug-breakpoints.view.d.ts +19 -0
- package/lib/browser/view/breakpoints/debug-breakpoints.view.d.ts.map +1 -0
- package/lib/browser/view/breakpoints/debug-breakpoints.view.js +108 -0
- package/lib/browser/view/breakpoints/debug-breakpoints.view.js.map +1 -0
- package/lib/browser/view/configuration/debug-configuration.module.less +101 -0
- package/lib/browser/view/configuration/debug-configuration.service.d.ts +36 -0
- package/lib/browser/view/configuration/debug-configuration.service.d.ts.map +1 -0
- package/lib/browser/view/configuration/debug-configuration.service.js +186 -0
- package/lib/browser/view/configuration/debug-configuration.service.js.map +1 -0
- package/lib/browser/view/configuration/debug-configuration.view.d.ts +3 -0
- package/lib/browser/view/configuration/debug-configuration.view.d.ts.map +1 -0
- package/lib/browser/view/configuration/debug-configuration.view.js +106 -0
- package/lib/browser/view/configuration/debug-configuration.view.js.map +1 -0
- package/lib/browser/view/configuration/debug-toolbar.service.d.ts +30 -0
- package/lib/browser/view/configuration/debug-toolbar.service.d.ts.map +1 -0
- package/lib/browser/view/configuration/debug-toolbar.service.js +173 -0
- package/lib/browser/view/configuration/debug-toolbar.service.js.map +1 -0
- package/lib/browser/view/configuration/debug-toolbar.view.d.ts +7 -0
- package/lib/browser/view/configuration/debug-toolbar.view.d.ts.map +1 -0
- package/lib/browser/view/configuration/debug-toolbar.view.js +171 -0
- package/lib/browser/view/configuration/debug-toolbar.view.js.map +1 -0
- package/lib/browser/view/console/debug-console-filter.model.d.ts +8 -0
- package/lib/browser/view/console/debug-console-filter.model.d.ts.map +1 -0
- package/lib/browser/view/console/debug-console-filter.model.js +53 -0
- package/lib/browser/view/console/debug-console-filter.model.js.map +1 -0
- package/lib/browser/view/console/debug-console-filter.service.d.ts +23 -0
- package/lib/browser/view/console/debug-console-filter.service.d.ts.map +1 -0
- package/lib/browser/view/console/debug-console-filter.service.js +66 -0
- package/lib/browser/view/console/debug-console-filter.service.js.map +1 -0
- package/lib/browser/view/console/debug-console-filter.view.d.ts +6 -0
- package/lib/browser/view/console/debug-console-filter.view.d.ts.map +1 -0
- package/lib/browser/view/console/debug-console-filter.view.js +63 -0
- package/lib/browser/view/console/debug-console-filter.view.js.map +1 -0
- package/lib/browser/view/console/debug-console-model.d.ts +18 -0
- package/lib/browser/view/console/debug-console-model.d.ts.map +1 -0
- package/lib/browser/view/console/debug-console-model.js +52 -0
- package/lib/browser/view/console/debug-console-model.js.map +1 -0
- package/lib/browser/view/console/debug-console-session.d.ts +32 -0
- package/lib/browser/view/console/debug-console-session.d.ts.map +1 -0
- package/lib/browser/view/console/debug-console-session.js +113 -0
- package/lib/browser/view/console/debug-console-session.js.map +1 -0
- package/lib/browser/view/console/debug-console-toolbar.view.d.ts +3 -0
- package/lib/browser/view/console/debug-console-toolbar.view.d.ts.map +1 -0
- package/lib/browser/view/console/debug-console-toolbar.view.js +20 -0
- package/lib/browser/view/console/debug-console-toolbar.view.js.map +1 -0
- package/lib/browser/view/console/debug-console-tree.model.service.d.ts +90 -0
- package/lib/browser/view/console/debug-console-tree.model.service.d.ts.map +1 -0
- package/lib/browser/view/console/debug-console-tree.model.service.js +460 -0
- package/lib/browser/view/console/debug-console-tree.model.service.js.map +1 -0
- package/lib/browser/view/console/debug-console.contribution.d.ts +20 -0
- package/lib/browser/view/console/debug-console.contribution.d.ts.map +1 -0
- package/lib/browser/view/console/debug-console.contribution.js +164 -0
- package/lib/browser/view/console/debug-console.contribution.js.map +1 -0
- package/lib/browser/view/console/debug-console.module.less +321 -0
- package/lib/browser/view/console/debug-console.service.d.ts +67 -0
- package/lib/browser/view/console/debug-console.service.d.ts.map +1 -0
- package/lib/browser/view/console/debug-console.service.js +397 -0
- package/lib/browser/view/console/debug-console.service.js.map +1 -0
- package/lib/browser/view/console/debug-console.view.d.ts +25 -0
- package/lib/browser/view/console/debug-console.view.d.ts.map +1 -0
- package/lib/browser/view/console/debug-console.view.js +299 -0
- package/lib/browser/view/console/debug-console.view.js.map +1 -0
- package/lib/browser/view/debug-view-model.d.ts +54 -0
- package/lib/browser/view/debug-view-model.d.ts.map +1 -0
- package/lib/browser/view/debug-view-model.js +161 -0
- package/lib/browser/view/debug-view-model.js.map +1 -0
- package/lib/browser/view/frames/debug-call-stack-frame.view.d.ts +14 -0
- package/lib/browser/view/frames/debug-call-stack-frame.view.d.ts.map +1 -0
- package/lib/browser/view/frames/debug-call-stack-frame.view.js +143 -0
- package/lib/browser/view/frames/debug-call-stack-frame.view.js.map +1 -0
- package/lib/browser/view/frames/debug-call-stack-session.view.d.ts +10 -0
- package/lib/browser/view/frames/debug-call-stack-session.view.d.ts.map +1 -0
- package/lib/browser/view/frames/debug-call-stack-session.view.js +148 -0
- package/lib/browser/view/frames/debug-call-stack-session.view.js.map +1 -0
- package/lib/browser/view/frames/debug-call-stack-thread.view.d.ts +12 -0
- package/lib/browser/view/frames/debug-call-stack-thread.view.d.ts.map +1 -0
- package/lib/browser/view/frames/debug-call-stack-thread.view.js +52 -0
- package/lib/browser/view/frames/debug-call-stack-thread.view.js.map +1 -0
- package/lib/browser/view/frames/debug-call-stack.contribution.d.ts +10 -0
- package/lib/browser/view/frames/debug-call-stack.contribution.d.ts.map +1 -0
- package/lib/browser/view/frames/debug-call-stack.contribution.js +81 -0
- package/lib/browser/view/frames/debug-call-stack.contribution.js.map +1 -0
- package/lib/browser/view/frames/debug-call-stack.module.less +195 -0
- package/lib/browser/view/frames/debug-call-stack.operation.d.ts +9 -0
- package/lib/browser/view/frames/debug-call-stack.operation.d.ts.map +1 -0
- package/lib/browser/view/frames/debug-call-stack.operation.js +43 -0
- package/lib/browser/view/frames/debug-call-stack.operation.js.map +1 -0
- package/lib/browser/view/frames/debug-call-stack.service.d.ts +12 -0
- package/lib/browser/view/frames/debug-call-stack.service.d.ts.map +1 -0
- package/lib/browser/view/frames/debug-call-stack.service.js +94 -0
- package/lib/browser/view/frames/debug-call-stack.service.js.map +1 -0
- package/lib/browser/view/frames/debug-call-stack.view.d.ts +6 -0
- package/lib/browser/view/frames/debug-call-stack.view.d.ts.map +1 -0
- package/lib/browser/view/frames/debug-call-stack.view.js +32 -0
- package/lib/browser/view/frames/debug-call-stack.view.js.map +1 -0
- package/lib/browser/view/variables/debug-variables-model.d.ts +12 -0
- package/lib/browser/view/variables/debug-variables-model.d.ts.map +1 -0
- package/lib/browser/view/variables/debug-variables-model.js +43 -0
- package/lib/browser/view/variables/debug-variables-model.js.map +1 -0
- package/lib/browser/view/variables/debug-variables-tree.model.service.d.ts +65 -0
- package/lib/browser/view/variables/debug-variables-tree.model.service.d.ts.map +1 -0
- package/lib/browser/view/variables/debug-variables-tree.model.service.js +376 -0
- package/lib/browser/view/variables/debug-variables-tree.model.service.js.map +1 -0
- package/lib/browser/view/variables/debug-variables.contribution.d.ts +14 -0
- package/lib/browser/view/variables/debug-variables.contribution.d.ts.map +1 -0
- package/lib/browser/view/variables/debug-variables.contribution.js +155 -0
- package/lib/browser/view/variables/debug-variables.contribution.js.map +1 -0
- package/lib/browser/view/variables/debug-variables.module.less +176 -0
- package/lib/browser/view/variables/debug-variables.view.d.ts +21 -0
- package/lib/browser/view/variables/debug-variables.view.d.ts.map +1 -0
- package/lib/browser/view/variables/debug-variables.view.js +151 -0
- package/lib/browser/view/variables/debug-variables.view.js.map +1 -0
- package/lib/browser/view/watch/debug-watch-model.d.ts +12 -0
- package/lib/browser/view/watch/debug-watch-model.d.ts.map +1 -0
- package/lib/browser/view/watch/debug-watch-model.js +43 -0
- package/lib/browser/view/watch/debug-watch-model.js.map +1 -0
- package/lib/browser/view/watch/debug-watch-tree.model.service.d.ts +91 -0
- package/lib/browser/view/watch/debug-watch-tree.model.service.d.ts.map +1 -0
- package/lib/browser/view/watch/debug-watch-tree.model.service.js +480 -0
- package/lib/browser/view/watch/debug-watch-tree.model.service.js.map +1 -0
- package/lib/browser/view/watch/debug-watch.contribution.d.ts +12 -0
- package/lib/browser/view/watch/debug-watch.contribution.d.ts.map +1 -0
- package/lib/browser/view/watch/debug-watch.contribution.js +143 -0
- package/lib/browser/view/watch/debug-watch.contribution.js.map +1 -0
- package/lib/browser/view/watch/debug-watch.module.less +214 -0
- package/lib/browser/view/watch/debug-watch.view.d.ts +21 -0
- package/lib/browser/view/watch/debug-watch.view.d.ts.map +1 -0
- package/lib/browser/view/watch/debug-watch.view.js +194 -0
- package/lib/browser/view/watch/debug-watch.view.js.map +1 -0
- package/lib/common/constants.d.ts +57 -0
- package/lib/common/constants.d.ts.map +1 -0
- package/lib/common/constants.js +61 -0
- package/lib/common/constants.js.map +1 -0
- package/lib/common/debug-configuration.d.ts +56 -0
- package/lib/common/debug-configuration.d.ts.map +1 -0
- package/lib/common/debug-configuration.js +15 -0
- package/lib/common/debug-configuration.js.map +1 -0
- package/lib/common/debug-editor.d.ts +4 -0
- package/lib/common/debug-editor.d.ts.map +1 -0
- package/lib/common/debug-editor.js +5 -0
- package/lib/common/debug-editor.js.map +1 -0
- package/lib/common/debug-model.d.ts +104 -0
- package/lib/common/debug-model.d.ts.map +1 -0
- package/lib/common/debug-model.js +10 -0
- package/lib/common/debug-model.js.map +1 -0
- package/lib/common/debug-progress.d.ts +7 -0
- package/lib/common/debug-progress.d.ts.map +1 -0
- package/lib/common/debug-progress.js +5 -0
- package/lib/common/debug-progress.js.map +1 -0
- package/lib/common/debug-schema-updater.d.ts +2 -0
- package/lib/common/debug-schema-updater.d.ts.map +1 -0
- package/lib/common/debug-schema-updater.js +5 -0
- package/lib/common/debug-schema-updater.js.map +1 -0
- package/lib/common/debug-service.d.ts +76 -0
- package/lib/common/debug-service.d.ts.map +1 -0
- package/lib/common/debug-service.js +16 -0
- package/lib/common/debug-service.js.map +1 -0
- package/lib/common/debug-session-options.d.ts +14 -0
- package/lib/common/debug-session-options.d.ts.map +1 -0
- package/lib/common/debug-session-options.js +11 -0
- package/lib/common/debug-session-options.js.map +1 -0
- package/lib/common/debug-session.d.ts +81 -0
- package/lib/common/debug-session.d.ts.map +1 -0
- package/lib/common/debug-session.js +19 -0
- package/lib/common/debug-session.js.map +1 -0
- package/lib/common/evaluatable-expression.d.ts +38 -0
- package/lib/common/evaluatable-expression.d.ts.map +1 -0
- package/lib/common/evaluatable-expression.js +3 -0
- package/lib/common/evaluatable-expression.js.map +1 -0
- package/lib/common/index.d.ts +12 -0
- package/lib/common/index.d.ts.map +1 -0
- package/lib/common/index.js +15 -0
- package/lib/common/index.js.map +1 -0
- package/lib/common/inline-values.d.ts +65 -0
- package/lib/common/inline-values.d.ts.map +1 -0
- package/lib/common/inline-values.js +4 -0
- package/lib/common/inline-values.js.map +1 -0
- package/lib/common/types.d.ts +80 -0
- package/lib/common/types.d.ts.map +1 -0
- package/lib/common/types.js +51 -0
- package/lib/common/types.js.map +1 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +5 -0
- package/lib/index.js.map +1 -0
- package/package.json +48 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
export declare type DebugViewLocation = 'default' | 'left' | 'right' | 'bottom';
|
|
2
|
+
/**
|
|
3
|
+
* 调试适配器进程配置.
|
|
4
|
+
*/
|
|
5
|
+
export interface DebugConfiguration {
|
|
6
|
+
/**
|
|
7
|
+
* 调试适配器进程类型.
|
|
8
|
+
*/
|
|
9
|
+
type: string;
|
|
10
|
+
/**
|
|
11
|
+
* 调试适配器进程名称
|
|
12
|
+
*/
|
|
13
|
+
name: string;
|
|
14
|
+
/**
|
|
15
|
+
* 拓展属性
|
|
16
|
+
*/
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
/**
|
|
19
|
+
* 调试适配器进程请求类型
|
|
20
|
+
*/
|
|
21
|
+
request: string;
|
|
22
|
+
/**
|
|
23
|
+
* 如果noDebug为true,则启动请求应启动程序而不启用调试
|
|
24
|
+
*/
|
|
25
|
+
noDebug?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* 来自先前的重启进程的可选参数
|
|
28
|
+
* 该数据作为'terminated'事件的'restart'属性传递
|
|
29
|
+
* 客户端需保证数据完整性
|
|
30
|
+
*/
|
|
31
|
+
__restart?: any;
|
|
32
|
+
/**
|
|
33
|
+
* 默认的调试工具栏视图位置
|
|
34
|
+
* 默认值:default
|
|
35
|
+
*/
|
|
36
|
+
debugViewLocation?: DebugViewLocation;
|
|
37
|
+
preLaunchTask?: string;
|
|
38
|
+
/**
|
|
39
|
+
* 打开调试(左侧面板)视图时机
|
|
40
|
+
* 默认值:neverOpen
|
|
41
|
+
*/
|
|
42
|
+
openDebug?: 'neverOpen' | 'openOnSessionStart' | 'openOnFirstSessionStart' | 'openOnDebugBreak';
|
|
43
|
+
/**
|
|
44
|
+
* 打开内置DebugConsole(底部面板)视图时机
|
|
45
|
+
* 默认值:neverOpen
|
|
46
|
+
*/
|
|
47
|
+
internalConsoleOptions?: 'neverOpen' | 'openOnSessionStart' | 'openOnFirstSessionStart';
|
|
48
|
+
}
|
|
49
|
+
export declare namespace DebugConfiguration {
|
|
50
|
+
function is(arg: DebugConfiguration | any): arg is DebugConfiguration;
|
|
51
|
+
}
|
|
52
|
+
export declare const DEFAULT_ADD_CONFIGURATION_KEY: string;
|
|
53
|
+
export declare const DEFAULT_NO_CONFIGURATION_KEY: string;
|
|
54
|
+
export declare const DEFAULT_CONFIGURATION_NAME_SEPARATOR: string;
|
|
55
|
+
export declare const DEFAULT_CONFIGURATION_INDEX_SEPARATOR: string;
|
|
56
|
+
//# sourceMappingURL=debug-configuration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-configuration.d.ts","sourceRoot":"","sources":["../../src/common/debug-configuration.ts"],"names":[],"mappings":"AAAA,oBAAY,iBAAiB,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAC;AACxE;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;IAEnB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;;OAIG;IACH,SAAS,CAAC,EAAE,GAAG,CAAC;IAEhB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IAEtC,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;;OAGG;IACH,SAAS,CAAC,EAAE,WAAW,GAAG,oBAAoB,GAAG,yBAAyB,GAAG,kBAAkB,CAAC;IAEhG;;;OAGG;IACH,sBAAsB,CAAC,EAAE,WAAW,GAAG,oBAAoB,GAAG,yBAAyB,CAAC;CACzF;AAED,yBAAiB,kBAAkB,CAAC;IAClC,SAAgB,EAAE,CAAC,GAAG,EAAE,kBAAkB,GAAG,GAAG,GAAG,GAAG,IAAI,kBAAkB,CAE3E;CACF;AAED,eAAO,MAAM,6BAA6B,EAAE,MAAuB,CAAC;AACpE,eAAO,MAAM,4BAA4B,EAAE,MAAsB,CAAC;AAClE,eAAO,MAAM,oCAAoC,EAAE,MAAmB,CAAC;AACvE,eAAO,MAAM,qCAAqC,EAAE,MAAoB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DEFAULT_CONFIGURATION_INDEX_SEPARATOR = exports.DEFAULT_CONFIGURATION_NAME_SEPARATOR = exports.DEFAULT_NO_CONFIGURATION_KEY = exports.DEFAULT_ADD_CONFIGURATION_KEY = exports.DebugConfiguration = void 0;
|
|
4
|
+
var DebugConfiguration;
|
|
5
|
+
(function (DebugConfiguration) {
|
|
6
|
+
function is(arg) {
|
|
7
|
+
return !!arg && typeof arg === 'object' && 'type' in arg && 'name' in arg && 'request' in arg;
|
|
8
|
+
}
|
|
9
|
+
DebugConfiguration.is = is;
|
|
10
|
+
})(DebugConfiguration = exports.DebugConfiguration || (exports.DebugConfiguration = {}));
|
|
11
|
+
exports.DEFAULT_ADD_CONFIGURATION_KEY = '__ADD_CONF__';
|
|
12
|
+
exports.DEFAULT_NO_CONFIGURATION_KEY = '__NO_CONF__';
|
|
13
|
+
exports.DEFAULT_CONFIGURATION_NAME_SEPARATOR = '__CONF__';
|
|
14
|
+
exports.DEFAULT_CONFIGURATION_INDEX_SEPARATOR = '__INDEX__';
|
|
15
|
+
//# sourceMappingURL=debug-configuration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-configuration.js","sourceRoot":"","sources":["../../src/common/debug-configuration.ts"],"names":[],"mappings":";;;AA0DA,IAAiB,kBAAkB,CAIlC;AAJD,WAAiB,kBAAkB;IACjC,SAAgB,EAAE,CAAC,GAA6B;QAC5C,OAAO,CAAC,CAAC,GAAG,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,MAAM,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,SAAS,IAAI,GAAG,CAAC;IAClG,CAAC;IAFe,qBAAE,KAEjB,CAAA;AACH,CAAC,EAJgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAIlC;AAEY,QAAA,6BAA6B,GAAW,cAAc,CAAC;AACvD,QAAA,4BAA4B,GAAW,aAAa,CAAC;AACrD,QAAA,oCAAoC,GAAW,UAAU,CAAC;AAC1D,QAAA,qCAAqC,GAAW,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-editor.d.ts","sourceRoot":"","sources":["../../src/common/debug-editor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,IAAI,iBAAiB,EAAE,MAAM,mDAAmD,CAAC;AAC1G,eAAO,MAAM,WAAW,eAAwB,CAAC;AACjD,oBAAY,WAAW,GAAI,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-editor.js","sourceRoot":"","sources":["../../src/common/debug-editor.ts"],"names":[],"mappings":";;;AACa,QAAA,WAAW,GAAG,MAAM,CAAC,aAAa,CAAC,CAAC"}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import stream from 'stream';
|
|
3
|
+
import type { editor } from '@opensumi/monaco-editor-core';
|
|
4
|
+
import { DebugConfiguration } from './debug-configuration';
|
|
5
|
+
import { IDisposable, MaybePromise, IJSONSchema, IJSONSchemaSnippet, URI } from '@opensumi/ide-core-common';
|
|
6
|
+
import { DebugEditor } from './debug-editor';
|
|
7
|
+
import * as monaco from '@opensumi/monaco-editor-core/esm/vs/editor/editor.api';
|
|
8
|
+
import { DebugBreakpoint } from '../browser';
|
|
9
|
+
export declare const DebugAdapterSession: unique symbol;
|
|
10
|
+
export interface DebugAdapterSession {
|
|
11
|
+
id: string;
|
|
12
|
+
start(channel: any): Promise<void>;
|
|
13
|
+
stop(): Promise<void>;
|
|
14
|
+
}
|
|
15
|
+
export declare const DebugAdapterSessionFactory: unique symbol;
|
|
16
|
+
export interface DebugAdapterSessionFactory {
|
|
17
|
+
get(sessionId: string, communicationProvider: DebugStreamConnection): DebugAdapterSession;
|
|
18
|
+
}
|
|
19
|
+
export interface DebugAdapterSpawnExecutable {
|
|
20
|
+
command: string;
|
|
21
|
+
args?: string[];
|
|
22
|
+
}
|
|
23
|
+
export interface DebugAdapterForkExecutable {
|
|
24
|
+
modulePath: string;
|
|
25
|
+
args?: string[];
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* 可执行的调试适配器类型
|
|
29
|
+
* 用于实例化调试适配器的参数
|
|
30
|
+
*
|
|
31
|
+
* 在Launch适配器进程的情况下,参数包含命令和参数。例如:
|
|
32
|
+
* {'command' : 'COMMAND_TO_LAUNCH_DEBUG_ADAPTER', args : [ { 'arg1', 'arg2' } ] }
|
|
33
|
+
*
|
|
34
|
+
* 在Fork适配器进程的情况下,包含要转换的modulePath。例如:
|
|
35
|
+
* {'modulePath' : 'NODE_COMMAND_TO_LAUNCH_DEBUG_ADAPTER', args : [ { 'arg1', 'arg2' } ] }
|
|
36
|
+
*/
|
|
37
|
+
export declare type DebugAdapterExecutable = DebugAdapterSpawnExecutable | DebugAdapterForkExecutable;
|
|
38
|
+
/**
|
|
39
|
+
* 与调试进程的通讯渠道
|
|
40
|
+
*/
|
|
41
|
+
export interface DebugStreamConnection extends IDisposable {
|
|
42
|
+
output: stream.Readable;
|
|
43
|
+
input: stream.Writable;
|
|
44
|
+
}
|
|
45
|
+
export declare const DebugAdapterFactory: unique symbol;
|
|
46
|
+
export interface DebugAdapterFactory {
|
|
47
|
+
start(executable: DebugAdapterExecutable): DebugStreamConnection;
|
|
48
|
+
connect(debugServerPort: number): DebugStreamConnection;
|
|
49
|
+
}
|
|
50
|
+
export declare const DebugAdapterContribution: unique symbol;
|
|
51
|
+
export interface DebugAdapterContribution {
|
|
52
|
+
/**
|
|
53
|
+
* The debug type. Should be a unique value among all debug adapters.
|
|
54
|
+
*/
|
|
55
|
+
readonly type: string;
|
|
56
|
+
readonly label?: MaybePromise<string | undefined>;
|
|
57
|
+
readonly languages?: MaybePromise<string[] | undefined>;
|
|
58
|
+
/**
|
|
59
|
+
* The [debug adapter session](#DebugAdapterSession) factory.
|
|
60
|
+
* If a default implementation of the debug adapter session does not
|
|
61
|
+
* fit all needs it is possible to provide its own implementation using
|
|
62
|
+
* this factory. But it is strongly recommended to extend the default
|
|
63
|
+
* implementation if so.
|
|
64
|
+
*/
|
|
65
|
+
debugAdapterSessionFactory?: DebugAdapterSessionFactory;
|
|
66
|
+
/**
|
|
67
|
+
* @returns The contributed configuration schema for this debug type.
|
|
68
|
+
*/
|
|
69
|
+
getSchemaAttributes?(): MaybePromise<IJSONSchema[]>;
|
|
70
|
+
getConfigurationSnippets?(): MaybePromise<IJSONSchemaSnippet[]>;
|
|
71
|
+
/**
|
|
72
|
+
* Provides a [debug adapter executable](#DebugAdapterExecutable)
|
|
73
|
+
* based on [debug configuration](#DebugConfiguration) to launch a new debug adapter
|
|
74
|
+
* or to connect to existed one.
|
|
75
|
+
* @param config The resolved [debug configuration](#DebugConfiguration).
|
|
76
|
+
* @returns The [debug adapter executable](#DebugAdapterExecutable).
|
|
77
|
+
*/
|
|
78
|
+
provideDebugAdapterExecutable?(config: DebugConfiguration): MaybePromise<DebugAdapterExecutable | undefined>;
|
|
79
|
+
/**
|
|
80
|
+
* Provides initial [debug configuration](#DebugConfiguration).
|
|
81
|
+
* @returns An array of [debug configurations](#DebugConfiguration).
|
|
82
|
+
*/
|
|
83
|
+
provideDebugConfigurations?(workspaceFolderUri?: string): MaybePromise<DebugConfiguration[]>;
|
|
84
|
+
/**
|
|
85
|
+
* Resolves a [debug configuration](#DebugConfiguration) by filling in missing values
|
|
86
|
+
* or by adding/changing/removing attributes.
|
|
87
|
+
* @param config The [debug configuration](#DebugConfiguration) to resolve.
|
|
88
|
+
* @returns The resolved debug configuration.
|
|
89
|
+
*/
|
|
90
|
+
resolveDebugConfiguration?(config: DebugConfiguration, workspaceFolderUri?: string): MaybePromise<DebugConfiguration | undefined>;
|
|
91
|
+
}
|
|
92
|
+
export declare const DebugModelFactory: unique symbol;
|
|
93
|
+
export declare type DebugModelFactory = (editor: DebugEditor) => IDebugModel;
|
|
94
|
+
export declare const IDebugModel: unique symbol;
|
|
95
|
+
export interface IDebugModel extends IDisposable {
|
|
96
|
+
onContextMenu: (event: editor.IEditorMouseEvent | editor.IPartialEditorMouseEvent) => void;
|
|
97
|
+
onMouseDown: (event: editor.IEditorMouseEvent | editor.IPartialEditorMouseEvent) => void;
|
|
98
|
+
onMouseMove: (event: editor.IEditorMouseEvent | editor.IPartialEditorMouseEvent) => void;
|
|
99
|
+
onMouseLeave: (event: editor.IEditorMouseEvent | editor.IPartialEditorMouseEvent) => void;
|
|
100
|
+
editor: DebugEditor;
|
|
101
|
+
getBreakpoints(uri?: URI | undefined, filter?: Partial<monaco.IPosition> | undefined): DebugBreakpoint[];
|
|
102
|
+
[key: string]: any;
|
|
103
|
+
}
|
|
104
|
+
//# sourceMappingURL=debug-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-model.d.ts","sourceRoot":"","sources":["../../src/common/debug-model.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IDebugModel = exports.DebugModelFactory = exports.DebugAdapterContribution = exports.DebugAdapterFactory = exports.DebugAdapterSessionFactory = exports.DebugAdapterSession = void 0;
|
|
4
|
+
exports.DebugAdapterSession = Symbol('DebugAdapterSession');
|
|
5
|
+
exports.DebugAdapterSessionFactory = Symbol('DebugAdapterSessionFactory');
|
|
6
|
+
exports.DebugAdapterFactory = Symbol('DebugAdapterFactory');
|
|
7
|
+
exports.DebugAdapterContribution = Symbol('DebugAdapterContribution');
|
|
8
|
+
exports.DebugModelFactory = Symbol('DebugModelFactory');
|
|
9
|
+
exports.IDebugModel = Symbol('IDebugModel');
|
|
10
|
+
//# sourceMappingURL=debug-model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-model.js","sourceRoot":"","sources":["../../src/common/debug-model.ts"],"names":[],"mappings":";;;AAQa,QAAA,mBAAmB,GAAG,MAAM,CAAC,qBAAqB,CAAC,CAAC;AAQpD,QAAA,0BAA0B,GAAG,MAAM,CAAC,4BAA4B,CAAC,CAAC;AAoClE,QAAA,mBAAmB,GAAG,MAAM,CAAC,qBAAqB,CAAC,CAAC;AAOpD,QAAA,wBAAwB,GAAG,MAAM,CAAC,0BAA0B,CAAC,CAAC;AAoD9D,QAAA,iBAAiB,GAAG,MAAM,CAAC,mBAAmB,CAAC,CAAC;AAGhD,QAAA,WAAW,GAAG,MAAM,CAAC,aAAa,CAAC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DebugState, IDebugSessionManager } from './debug-session';
|
|
2
|
+
export declare const IDebugProgress: unique symbol;
|
|
3
|
+
export interface IDebugProgress {
|
|
4
|
+
run: (sm: IDebugSessionManager) => void;
|
|
5
|
+
onDebugServiceStateChange: (state: DebugState) => void;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=debug-progress.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-progress.d.ts","sourceRoot":"","sources":["../../src/common/debug-progress.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEnE,eAAO,MAAM,cAAc,eAA0B,CAAC;AAEtD,MAAM,WAAW,cAAc;IAC7B,GAAG,EAAE,CAAC,EAAE,EAAE,oBAAoB,KAAK,IAAI,CAAC;IACxC,yBAAyB,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;CACxD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-progress.js","sourceRoot":"","sources":["../../src/common/debug-progress.ts"],"names":[],"mappings":";;;AAEa,QAAA,cAAc,GAAG,MAAM,CAAC,eAAe,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-schema-updater.d.ts","sourceRoot":"","sources":["../../src/common/debug-schema-updater.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,4BAA4B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-schema-updater.js","sourceRoot":"","sources":["../../src/common/debug-schema-updater.ts"],"names":[],"mappings":";;;AAAa,QAAA,eAAe,GAAG,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { IDisposable, IJSONSchema, IJSONSchemaSnippet, ApplicationError, Event } from '@opensumi/ide-core-common';
|
|
2
|
+
import { DebugConfiguration } from './debug-configuration';
|
|
3
|
+
export interface DebuggerDescription {
|
|
4
|
+
type: string;
|
|
5
|
+
label: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const DebugAdapterPath = "DebugAdaptor";
|
|
8
|
+
export declare const IDebugServer: unique symbol;
|
|
9
|
+
export interface DebugServer extends IDisposable {
|
|
10
|
+
/**
|
|
11
|
+
* 查找并返回注册了的Debug类型
|
|
12
|
+
* @returns Debug 类型数组
|
|
13
|
+
*/
|
|
14
|
+
debugTypes(): Promise<string[]>;
|
|
15
|
+
/**
|
|
16
|
+
* 根据语言获取对应的Debuggers
|
|
17
|
+
* @param language
|
|
18
|
+
*/
|
|
19
|
+
getDebuggersForLanguage(language: string): Promise<DebuggerDescription[]>;
|
|
20
|
+
/**
|
|
21
|
+
* 根据调试类型获取支持的Schema
|
|
22
|
+
* @param debugType 调试类型
|
|
23
|
+
*/
|
|
24
|
+
getSchemaAttributes(debugType: string): Promise<IJSONSchema[]>;
|
|
25
|
+
/**
|
|
26
|
+
* 根据调试类型获取对应的片段
|
|
27
|
+
*/
|
|
28
|
+
getConfigurationSnippets(): Promise<IJSONSchemaSnippet[]>;
|
|
29
|
+
/**
|
|
30
|
+
* 提供对应调试类型下的配置
|
|
31
|
+
* @param debugType 调试类型
|
|
32
|
+
*/
|
|
33
|
+
provideDebugConfigurations(debugType: string, workspaceFolderUri: string | undefined): Promise<DebugConfiguration[]>;
|
|
34
|
+
/**
|
|
35
|
+
* 处理调试配置,补全缺省值
|
|
36
|
+
* @param config 需要处理的配置
|
|
37
|
+
* @param workspaceFolderUri 工作区目录路径
|
|
38
|
+
*/
|
|
39
|
+
resolveDebugConfiguration(config: DebugConfiguration, workspaceFolderUri: string | undefined): Promise<DebugConfiguration | undefined | null>;
|
|
40
|
+
/**
|
|
41
|
+
* 进一步处理调试配置,通过补全缺省值的方式
|
|
42
|
+
* 具体实现通过插件进行二次实现
|
|
43
|
+
* @param {DebugConfiguration} 处理的配置
|
|
44
|
+
* @param {(string | undefined)} 工作区路径
|
|
45
|
+
*/
|
|
46
|
+
resolveDebugConfigurationWithSubstitutedVariables(config: DebugConfiguration, workspaceFolderUri: string | undefined): Promise<DebugConfiguration | undefined | null>;
|
|
47
|
+
/**
|
|
48
|
+
* 创建一个新的DebugAdapterSession进程
|
|
49
|
+
* @param config 传入配置
|
|
50
|
+
* @returns DebugAdapterSession对应sessionId.
|
|
51
|
+
*/
|
|
52
|
+
createDebugSession(config: DebugConfiguration): Promise<string | void>;
|
|
53
|
+
/**
|
|
54
|
+
* 终止一个调试进程
|
|
55
|
+
* @param sessionId
|
|
56
|
+
*/
|
|
57
|
+
terminateDebugSession(sessionId: string): Promise<void>;
|
|
58
|
+
}
|
|
59
|
+
export declare const IDebugService: unique symbol;
|
|
60
|
+
export interface IDebugService {
|
|
61
|
+
onDidDebugContributionPointChange: Event<IDebugServiceContributionPoint>;
|
|
62
|
+
unregisterDebugContributionPoints(extensionFolder: string): void;
|
|
63
|
+
registerDebugContributionPoints(extensionFolder: string, contributions: IJSONSchema[]): void;
|
|
64
|
+
debugContributionPoints: Map<string, IJSONSchema[]>;
|
|
65
|
+
}
|
|
66
|
+
export interface IDebugServiceContributionPoint {
|
|
67
|
+
path: string;
|
|
68
|
+
contributions: IJSONSchema[];
|
|
69
|
+
removed?: boolean;
|
|
70
|
+
}
|
|
71
|
+
export declare namespace DebugError {
|
|
72
|
+
const NotFound: ApplicationError.Constructor<-41000, {
|
|
73
|
+
type: string;
|
|
74
|
+
}>;
|
|
75
|
+
}
|
|
76
|
+
//# sourceMappingURL=debug-service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-service.d.ts","sourceRoot":"","sources":["../../src/common/debug-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,WAAW,EAAG,kBAAkB,EAAE,gBAAgB,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AACnH,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAE3D,MAAM,WAAW,mBAAmB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,gBAAgB,iBAAiB,CAAC;AAG/C,eAAO,MAAM,YAAY,eAAwB,CAAC;AAElD,MAAM,WAAW,WAAY,SAAQ,WAAW;IAC9C;;;OAGG;IACH,UAAU,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;IAEhC;;;OAGG;IACH,uBAAuB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,mBAAmB,EAAE,CAAC,CAAC;IAE1E;;;OAGG;IACH,mBAAmB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC,CAAC;IAE/D;;OAEG;IACH,wBAAwB,IAAI,OAAO,CAAC,kBAAkB,EAAE,CAAC,CAAC;IAE1D;;;OAGG;IACH,0BAA0B,CAAC,SAAS,EAAE,MAAM,EAAE,kBAAkB,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC,kBAAkB,EAAE,CAAC,CAAC;IAErH;;;;OAIG;IACH,yBAAyB,CAAC,MAAM,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC,kBAAkB,GAAG,SAAS,GAAG,IAAI,CAAC,CAAC;IAE9I;;;;;OAKG;IACH,iDAAiD,CAAC,MAAM,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC,kBAAkB,GAAG,SAAS,GAAG,IAAI,CAAC,CAAC;IACtK;;;;OAIG;IACH,kBAAkB,CAAC,MAAM,EAAE,kBAAkB,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAEvE;;;OAGG;IACH,qBAAqB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACzD;AAED,eAAO,MAAM,aAAa,eAAyB,CAAC;AAEpD,MAAM,WAAW,aAAa;IAC5B,iCAAiC,EAAE,KAAK,CAAC,8BAA8B,CAAC,CAAC;IACzE,iCAAiC,CAAC,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IACjE,+BAA+B,CAAC,eAAe,EAAE,MAAM,EAAE,aAAa,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC;IAC7F,uBAAuB,EAAE,GAAG,CAAC,MAAM,EAAE,WAAW,EAAE,CAAC,CAAC;CACrD;AAED,MAAM,WAAW,8BAA8B;IAC7C,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,WAAW,EAAE,CAAC;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,yBAAiB,UAAU,CAAC;IACnB,MAAM,QAAQ;;MAGlB,CAAC;CACL"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DebugError = exports.IDebugService = exports.IDebugServer = exports.DebugAdapterPath = void 0;
|
|
4
|
+
const ide_core_common_1 = require("@opensumi/ide-core-common");
|
|
5
|
+
exports.DebugAdapterPath = 'DebugAdaptor';
|
|
6
|
+
// Browser DI Token
|
|
7
|
+
exports.IDebugServer = Symbol('DebugServer');
|
|
8
|
+
exports.IDebugService = Symbol('DebugService');
|
|
9
|
+
var DebugError;
|
|
10
|
+
(function (DebugError) {
|
|
11
|
+
DebugError.NotFound = ide_core_common_1.ApplicationError.declare(-41000, (type) => ({
|
|
12
|
+
message: `'${type}' debugger type is not supported.`,
|
|
13
|
+
data: { type },
|
|
14
|
+
}));
|
|
15
|
+
})(DebugError = exports.DebugError || (exports.DebugError = {}));
|
|
16
|
+
//# sourceMappingURL=debug-service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-service.js","sourceRoot":"","sources":["../../src/common/debug-service.ts"],"names":[],"mappings":";;;AAAA,+DAAmH;AAQtG,QAAA,gBAAgB,GAAG,cAAc,CAAC;AAE/C,mBAAmB;AACN,QAAA,YAAY,GAAG,MAAM,CAAC,aAAa,CAAC,CAAC;AA4DrC,QAAA,aAAa,GAAG,MAAM,CAAC,cAAc,CAAC,CAAC;AAepD,IAAiB,UAAU,CAK1B;AALD,WAAiB,UAAU;IACZ,mBAAQ,GAAG,kCAAgB,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;AACN,CAAC,EALgB,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAK1B"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { DebugConfiguration } from './debug-configuration';
|
|
2
|
+
import { IDebugSessionOptions } from './debug-session';
|
|
3
|
+
export interface DebugSessionOptions extends IDebugSessionOptions {
|
|
4
|
+
configuration: DebugConfiguration;
|
|
5
|
+
workspaceFolderUri?: string;
|
|
6
|
+
index: number;
|
|
7
|
+
}
|
|
8
|
+
export interface InternalDebugSessionOptions extends DebugSessionOptions {
|
|
9
|
+
id: number;
|
|
10
|
+
}
|
|
11
|
+
export declare namespace InternalDebugSessionOptions {
|
|
12
|
+
function is(options: DebugSessionOptions): options is InternalDebugSessionOptions;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=debug-session-options.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-session-options.d.ts","sourceRoot":"","sources":["../../src/common/debug-session-options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,MAAM,WAAW,mBAAoB,SAAQ,oBAAoB;IAC/D,aAAa,EAAE,kBAAkB,CAAC;IAClC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,2BAA4B,SAAQ,mBAAmB;IACtE,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,yBAAiB,2BAA2B,CAAC;IAC3C,SAAgB,EAAE,CAAC,OAAO,EAAE,mBAAmB,GAAG,OAAO,IAAI,2BAA2B,CAEvF;CACF"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InternalDebugSessionOptions = void 0;
|
|
4
|
+
var InternalDebugSessionOptions;
|
|
5
|
+
(function (InternalDebugSessionOptions) {
|
|
6
|
+
function is(options) {
|
|
7
|
+
return ('id' in options);
|
|
8
|
+
}
|
|
9
|
+
InternalDebugSessionOptions.is = is;
|
|
10
|
+
})(InternalDebugSessionOptions = exports.InternalDebugSessionOptions || (exports.InternalDebugSessionOptions = {}));
|
|
11
|
+
//# sourceMappingURL=debug-session-options.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-session-options.js","sourceRoot":"","sources":["../../src/common/debug-session-options.ts"],"names":[],"mappings":";;;AAaA,IAAiB,2BAA2B,CAI3C;AAJD,WAAiB,2BAA2B;IAC1C,SAAgB,EAAE,CAAC,OAA4B;QAC3C,OAAO,CAAC,IAAI,IAAI,OAAO,CAAC,CAAC;IAC7B,CAAC;IAFe,8BAAE,KAEjB,CAAA;AACH,CAAC,EAJgB,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAI3C"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { DebugProtocol } from '@opensumi/vscode-debugprotocol';
|
|
2
|
+
import { IDisposable } from '@opensumi/ide-core-browser';
|
|
3
|
+
import { DebugSessionOptions, InternalDebugSessionOptions } from './debug-session-options';
|
|
4
|
+
import { DebugConfiguration } from './debug-configuration';
|
|
5
|
+
import { DebugEventTypes } from '../browser';
|
|
6
|
+
export declare enum DebugState {
|
|
7
|
+
Inactive = 0,
|
|
8
|
+
Initializing = 1,
|
|
9
|
+
Running = 2,
|
|
10
|
+
Stopped = 3
|
|
11
|
+
}
|
|
12
|
+
export declare type IDebugSessionReplMode = 'separate' | 'mergeWithParent';
|
|
13
|
+
export interface IDebugSessionOptions {
|
|
14
|
+
noDebug?: boolean;
|
|
15
|
+
parentSession?: IDebugSession;
|
|
16
|
+
repl?: IDebugSessionReplMode;
|
|
17
|
+
compact?: boolean;
|
|
18
|
+
}
|
|
19
|
+
export declare const IDebugSession: unique symbol;
|
|
20
|
+
export declare const IDebugSessionManager: unique symbol;
|
|
21
|
+
export interface IDebugSessionManager {
|
|
22
|
+
fireWillStartDebugSession(): Promise<void>;
|
|
23
|
+
resolveConfiguration(options: Readonly<DebugSessionOptions>): Promise<InternalDebugSessionOptions | undefined>;
|
|
24
|
+
resolveDebugConfiguration(configuration: DebugConfiguration, workspaceFolderUri: string | undefined): Promise<DebugConfiguration | undefined | null>;
|
|
25
|
+
fireWillResolveDebugConfiguration(debugType: string): Promise<void>;
|
|
26
|
+
report(name: string, msg: string | undefined, extra?: any): void;
|
|
27
|
+
reportTime(name: string, defaults?: any): (msg: string | undefined, extra?: any) => number;
|
|
28
|
+
reportAction(sessionId: string, threadId: number | string | undefined, action: string): void;
|
|
29
|
+
getExtra(sessionId: string | undefined, threadId: number | string | undefined): DebugThreadExtra | undefined;
|
|
30
|
+
setExtra(sessionId: string, threadId: string, extra?: DebugThreadExtra): any;
|
|
31
|
+
[key: string]: any;
|
|
32
|
+
}
|
|
33
|
+
export interface IDebugSession extends IDisposable {
|
|
34
|
+
state: DebugState;
|
|
35
|
+
parentSession: IDebugSession | undefined;
|
|
36
|
+
id: string;
|
|
37
|
+
hasSeparateRepl: () => boolean;
|
|
38
|
+
getDebugProtocolBreakpoint(breakpointId: string): DebugProtocol.Breakpoint | undefined;
|
|
39
|
+
compact: boolean;
|
|
40
|
+
on: <K extends keyof DebugEventTypes>(kind: K, listener: (e: DebugEventTypes[K]) => any) => IDisposable;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* 埋点专用的额外数据
|
|
44
|
+
*/
|
|
45
|
+
export interface DebugBaseExtra {
|
|
46
|
+
/**
|
|
47
|
+
* adapterID 区分语言
|
|
48
|
+
*/
|
|
49
|
+
adapterID: string;
|
|
50
|
+
/**
|
|
51
|
+
* request 区分 attach 或 launch
|
|
52
|
+
*/
|
|
53
|
+
request: 'attach' | 'launch';
|
|
54
|
+
/**
|
|
55
|
+
* 跟 sessionId 一一对应,先于 sessionId 生成,可以跟踪初始化时的事件
|
|
56
|
+
*/
|
|
57
|
+
traceId: string;
|
|
58
|
+
/**
|
|
59
|
+
* 是否为远程调试
|
|
60
|
+
* 0: 非远程
|
|
61
|
+
* 1: 远程
|
|
62
|
+
*/
|
|
63
|
+
remote: 0 | 1;
|
|
64
|
+
}
|
|
65
|
+
export interface DebugSessionExtra extends DebugBaseExtra {
|
|
66
|
+
threads: Map<string, DebugThreadExtra>;
|
|
67
|
+
}
|
|
68
|
+
export interface DebugThreadExtra extends DebugBaseExtra {
|
|
69
|
+
threadId?: string;
|
|
70
|
+
/**
|
|
71
|
+
* 当前的用户操作
|
|
72
|
+
*/
|
|
73
|
+
action?: string;
|
|
74
|
+
/**
|
|
75
|
+
* 文件所在的路径和行号
|
|
76
|
+
*/
|
|
77
|
+
filePath?: string;
|
|
78
|
+
fileLineNumber?: number;
|
|
79
|
+
}
|
|
80
|
+
export declare function getSequenceId(): number;
|
|
81
|
+
//# sourceMappingURL=debug-session.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-session.d.ts","sourceRoot":"","sources":["../../src/common/debug-session.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AAC3F,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAE7C,oBAAY,UAAU;IACpB,QAAQ,IAAA;IACR,YAAY,IAAA;IACZ,OAAO,IAAA;IACP,OAAO,IAAA;CACR;AAED,oBAAY,qBAAqB,GAAG,UAAU,GAAG,iBAAiB,CAAC;AAEnE,MAAM,WAAW,oBAAoB;IACnC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,IAAI,CAAC,EAAE,qBAAqB,CAAC;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,aAAa,eAAyB,CAAC;AAEpD,eAAO,MAAM,oBAAoB,eAAgC,CAAC;AAClE,MAAM,WAAW,oBAAoB;IACnC,yBAAyB,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3C,oBAAoB,CAAC,OAAO,EAAE,QAAQ,CAAC,mBAAmB,CAAC,GAAG,OAAO,CAAC,2BAA2B,GAAG,SAAS,CAAC,CAAC;IAC/G,yBAAyB,CAAC,aAAa,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC,kBAAkB,GAAG,SAAS,GAAG,IAAI,CAAC,CAAC;IACrJ,iCAAiC,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACpE,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,SAAS,EAAE,KAAK,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC;IACjE,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,GAAG,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,EAAE,KAAK,CAAC,EAAE,GAAG,KAAK,MAAM,CAAC;IAC3F,YAAY,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,EAAE,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7F,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,GAAG,gBAAgB,GAAG,SAAS,CAAC;IAC7G,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,gBAAgB,OAAE;IAExE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,MAAM,WAAW,aAAc,SAAQ,WAAW;IAChD,KAAK,EAAE,UAAU,CAAC;IAClB,aAAa,EAAE,aAAa,GAAG,SAAS,CAAC;IACzC,EAAE,EAAE,MAAM,CAAC;IACX,eAAe,EAAE,MAAM,OAAO,CAAC;IAC/B,0BAA0B,CAAC,YAAY,EAAE,MAAM,GAAG,aAAa,CAAC,UAAU,GAAG,SAAS,CAAC;IACvF,OAAO,EAAE,OAAO,CAAC;IACjB,EAAE,EAAE,CAAC,CAAC,SAAS,MAAM,eAAe,EAAE,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,CAAC,EAAE,eAAe,CAAC,CAAC,CAAC,KAAK,GAAG,KAAK,WAAW,CAAC;CACzG;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAE7B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,OAAO,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAE7B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;;OAIG;IACH,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC;CACf;AACD,MAAM,WAAW,iBAAkB,SAAQ,cAAc;IACvD,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;CACxC;AAED,MAAM,WAAW,gBAAiB,SAAQ,cAAc;IACtD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAID,wBAAgB,aAAa,WAG5B"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getSequenceId = exports.IDebugSessionManager = exports.IDebugSession = exports.DebugState = void 0;
|
|
4
|
+
var DebugState;
|
|
5
|
+
(function (DebugState) {
|
|
6
|
+
DebugState[DebugState["Inactive"] = 0] = "Inactive";
|
|
7
|
+
DebugState[DebugState["Initializing"] = 1] = "Initializing";
|
|
8
|
+
DebugState[DebugState["Running"] = 2] = "Running";
|
|
9
|
+
DebugState[DebugState["Stopped"] = 3] = "Stopped";
|
|
10
|
+
})(DebugState = exports.DebugState || (exports.DebugState = {}));
|
|
11
|
+
exports.IDebugSession = Symbol('DebugSession');
|
|
12
|
+
exports.IDebugSessionManager = Symbol('DebugSessionManager');
|
|
13
|
+
let DEBUG_SESSION_SEQUENCE_ID = 1;
|
|
14
|
+
function getSequenceId() {
|
|
15
|
+
// 获取递增的请求 ID
|
|
16
|
+
return DEBUG_SESSION_SEQUENCE_ID++;
|
|
17
|
+
}
|
|
18
|
+
exports.getSequenceId = getSequenceId;
|
|
19
|
+
//# sourceMappingURL=debug-session.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-session.js","sourceRoot":"","sources":["../../src/common/debug-session.ts"],"names":[],"mappings":";;;AAMA,IAAY,UAKX;AALD,WAAY,UAAU;IACpB,mDAAQ,CAAA;IACR,2DAAY,CAAA;IACZ,iDAAO,CAAA;IACP,iDAAO,CAAA;AACT,CAAC,EALW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAKrB;AAWY,QAAA,aAAa,GAAG,MAAM,CAAC,cAAc,CAAC,CAAC;AAEvC,QAAA,oBAAoB,GAAG,MAAM,CAAC,qBAAqB,CAAC,CAAC;AAuElE,IAAI,yBAAyB,GAAG,CAAC,CAAC;AAElC,SAAgB,aAAa;IAC3B,aAAa;IACb,OAAO,yBAAyB,EAAG,CAAC;AACtC,CAAC;AAHD,sCAGC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { ITextModel } from '@opensumi/monaco-editor-core/esm/vs/editor/common/model';
|
|
2
|
+
import { IRange, Position } from '@opensumi/ide-core-common/lib/types';
|
|
3
|
+
import { CancellationToken } from '@opensumi/ide-core-common';
|
|
4
|
+
/**
|
|
5
|
+
* An evaluatable expression represents additional information for an expression in a document. Evaluatable expressions are
|
|
6
|
+
* evaluated by a debugger or runtime and their result is rendered in a tooltip-like widget.
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
export interface IEvaluatableExpression {
|
|
10
|
+
/**
|
|
11
|
+
* The range to which this expression applies.
|
|
12
|
+
*/
|
|
13
|
+
range: IRange;
|
|
14
|
+
/**
|
|
15
|
+
* This expression overrides the expression extracted from the range.
|
|
16
|
+
*/
|
|
17
|
+
expression?: string;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* The evaluatable expression provider interface defines the contract between extensions and
|
|
21
|
+
* the debug hover. In this contract the provider returns an evaluatable expression for a given position
|
|
22
|
+
* in a document and VS Code evaluates this expression in the active debug session and shows the result in a debug hover.
|
|
23
|
+
*/
|
|
24
|
+
export interface EvaluatableExpressionProvider {
|
|
25
|
+
/**
|
|
26
|
+
* Provide an evaluatable expression for the given document and position.
|
|
27
|
+
* VS Code will evaluate this expression in the active debug session and will show the result in the debug hover.
|
|
28
|
+
* The expression can be implicitly specified by the range in the underlying document or by explicitly returning an expression.
|
|
29
|
+
*
|
|
30
|
+
* @param document The document for which the debug hover is about to appear.
|
|
31
|
+
* @param position The line and character position in the document where the debug hover is about to appear.
|
|
32
|
+
* @param token A cancellation token.
|
|
33
|
+
* @return An EvaluatableExpression or a thenable that resolves to such. The lack of a result can be
|
|
34
|
+
* signaled by returning `undefined` or `null`.
|
|
35
|
+
*/
|
|
36
|
+
provideEvaluatableExpression(document: ITextModel, position: Position, token: CancellationToken): PromiseLike<IEvaluatableExpression | undefined>;
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=evaluatable-expression.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"evaluatable-expression.d.ts","sourceRoot":"","sources":["../../src/common/evaluatable-expression.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yDAAyD,CAAC;AAC1F,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AACvE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAE9D;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;;GAIG;AACH,MAAM,WAAW,6BAA6B;IAE5C;;;;;;;;;;OAUG;IACH,4BAA4B,CAAC,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,iBAAiB,GAAG,WAAW,CAAC,sBAAsB,GAAG,SAAS,CAAC,CAAC;CACnJ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"evaluatable-expression.js","sourceRoot":"","sources":["../../src/common/evaluatable-expression.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export * from './debug-configuration';
|
|
2
|
+
export * from './debug-service';
|
|
3
|
+
export * from './debug-model';
|
|
4
|
+
export * from './debug-session';
|
|
5
|
+
export * from './debug-session-options';
|
|
6
|
+
export * from './debug-editor';
|
|
7
|
+
export * from './debug-progress';
|
|
8
|
+
export * from './debug-schema-updater';
|
|
9
|
+
export * from './inline-values';
|
|
10
|
+
export * from './types';
|
|
11
|
+
export * from './constants';
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
(0, tslib_1.__exportStar)(require("./debug-configuration"), exports);
|
|
5
|
+
(0, tslib_1.__exportStar)(require("./debug-service"), exports);
|
|
6
|
+
(0, tslib_1.__exportStar)(require("./debug-model"), exports);
|
|
7
|
+
(0, tslib_1.__exportStar)(require("./debug-session"), exports);
|
|
8
|
+
(0, tslib_1.__exportStar)(require("./debug-session-options"), exports);
|
|
9
|
+
(0, tslib_1.__exportStar)(require("./debug-editor"), exports);
|
|
10
|
+
(0, tslib_1.__exportStar)(require("./debug-progress"), exports);
|
|
11
|
+
(0, tslib_1.__exportStar)(require("./debug-schema-updater"), exports);
|
|
12
|
+
(0, tslib_1.__exportStar)(require("./inline-values"), exports);
|
|
13
|
+
(0, tslib_1.__exportStar)(require("./types"), exports);
|
|
14
|
+
(0, tslib_1.__exportStar)(require("./constants"), exports);
|
|
15
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/common/index.ts"],"names":[],"mappings":";;;AAAA,qEAAsC;AACtC,+DAAgC;AAChC,6DAA8B;AAC9B,+DAAgC;AAChC,uEAAwC;AACxC,8DAA+B;AAC/B,gEAAiC;AACjC,sEAAuC;AACvC,+DAAgC;AAChC,uDAAwB;AACxB,2DAA4B"}
|