@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,71 @@
|
|
|
1
|
+
.debug_breakpoints {
|
|
2
|
+
width: 100%;
|
|
3
|
+
height: 100%;
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.debug_breakpoints_disabled {
|
|
9
|
+
opacity: .7;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.debug_breakpoints_item {
|
|
13
|
+
height: 22px;
|
|
14
|
+
display: flex;
|
|
15
|
+
align-items: center;
|
|
16
|
+
cursor: pointer;
|
|
17
|
+
flex-direction: row;
|
|
18
|
+
&:hover {
|
|
19
|
+
background: var(--list-hoverBackground);
|
|
20
|
+
color: var(--list-hoverForeground);
|
|
21
|
+
.debug_remove_breakpoints_icon {
|
|
22
|
+
display: inline-block;
|
|
23
|
+
pointer-events: all;
|
|
24
|
+
margin-right: 5px;
|
|
25
|
+
}
|
|
26
|
+
.debug_breakpoints_badge {
|
|
27
|
+
display: none;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
&.selected {
|
|
31
|
+
background: var(--list-activeSelectionBackground);
|
|
32
|
+
color: var(--list-activeSelectionForeground);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.debug_breakpoints_icon {
|
|
37
|
+
width: 19px;
|
|
38
|
+
height: 19px;
|
|
39
|
+
min-width: 19px;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.debug_remove_breakpoints_icon {
|
|
43
|
+
color: #c5c5c5;
|
|
44
|
+
display: none;
|
|
45
|
+
pointer-events: none;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.debug_breakpoints_badge {
|
|
49
|
+
display: block;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.debug_breakpoints_description {
|
|
53
|
+
display: block;
|
|
54
|
+
transform: scale(.95);
|
|
55
|
+
opacity: .7;
|
|
56
|
+
margin-left: 5px;
|
|
57
|
+
display: inline;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.debug_breakpoints_name {
|
|
61
|
+
flex-grow: 0;
|
|
62
|
+
display: inline;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.debug_breakpoints_wrapper {
|
|
66
|
+
overflow: hidden;
|
|
67
|
+
text-overflow: ellipsis;
|
|
68
|
+
white-space: nowrap;
|
|
69
|
+
margin-right: 5px;
|
|
70
|
+
flex: 1;
|
|
71
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { ICodeEditor, EditorCollectionService } from '@opensumi/ide-editor';
|
|
2
|
+
import { DebugViewModel } from '../debug-view-model';
|
|
3
|
+
import { DebugBreakpoint, DebugExceptionBreakpoint, BreakpointManager } from '../../breakpoint';
|
|
4
|
+
import { IWorkspaceService } from '@opensumi/ide-workspace';
|
|
5
|
+
import { URI, WithEventBus, IContextKeyService, IReporterService } from '@opensumi/ide-core-browser';
|
|
6
|
+
import { BreakpointItem } from './debug-breakpoints.view';
|
|
7
|
+
import { WorkspaceEditDidRenameFileEvent, WorkspaceEditDidDeleteFileEvent } from '@opensumi/ide-workspace-edit';
|
|
8
|
+
import { DebugSessionManager } from '../../debug-session-manager';
|
|
9
|
+
import { LabelService } from '@opensumi/ide-core-browser/lib/services';
|
|
10
|
+
import { IEditorDocumentModelService } from '@opensumi/ide-editor/lib/browser';
|
|
11
|
+
export declare class DebugBreakpointsService extends WithEventBus {
|
|
12
|
+
protected readonly model: DebugViewModel;
|
|
13
|
+
protected readonly workspaceService: IWorkspaceService;
|
|
14
|
+
protected readonly breakpoints: BreakpointManager;
|
|
15
|
+
protected readonly sessions: DebugSessionManager;
|
|
16
|
+
protected readonly labelProvider: LabelService;
|
|
17
|
+
protected readonly contextKeyService: IContextKeyService;
|
|
18
|
+
protected readonly reporterService: IReporterService;
|
|
19
|
+
protected readonly editorService: EditorCollectionService;
|
|
20
|
+
protected readonly documentService: IEditorDocumentModelService;
|
|
21
|
+
private _inputEditor;
|
|
22
|
+
get inputEditor(): ICodeEditor;
|
|
23
|
+
nodes: BreakpointItem[];
|
|
24
|
+
enable: boolean;
|
|
25
|
+
inDebugMode: boolean;
|
|
26
|
+
roots: URI[];
|
|
27
|
+
constructor();
|
|
28
|
+
init(): Promise<void>;
|
|
29
|
+
getBreakpointDecoration(breakpoint: DebugBreakpoint, isDebugMode?: boolean, enabled?: boolean): import("../../breakpoint").DebugBreakpointDecoration;
|
|
30
|
+
onRenameFile(e: WorkspaceEditDidRenameFileEvent): void;
|
|
31
|
+
onDeleteFile(e: WorkspaceEditDidDeleteFileEvent): void;
|
|
32
|
+
private removeBreakpoints;
|
|
33
|
+
updateRoots(): Promise<void>;
|
|
34
|
+
toggleBreakpointEnable(data: DebugBreakpoint | DebugExceptionBreakpoint): void;
|
|
35
|
+
extractNodes(items: (DebugExceptionBreakpoint | DebugBreakpoint)[]): BreakpointItem[];
|
|
36
|
+
private updateBreakpoints;
|
|
37
|
+
removeAllBreakpoints(): void;
|
|
38
|
+
delBreakpoint(bp: DebugBreakpoint): void;
|
|
39
|
+
toggleBreakpoints(): void;
|
|
40
|
+
createBreakpointInput(container: HTMLElement): Promise<ICodeEditor>;
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=debug-breakpoints.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-breakpoints.service.d.ts","sourceRoot":"","sources":["../../../../src/browser/view/breakpoints/debug-breakpoints.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,uBAAuB,EAA0B,MAAM,sBAAsB,CAAC;AAGpG,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,wBAAwB,EAAiD,iBAAiB,EAAkB,MAAM,kBAAkB,CAAC;AAC/J,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,GAAG,EAAE,YAAY,EAAW,kBAAkB,EAAE,gBAAgB,EAAW,MAAM,4BAA4B,CAAC;AACvH,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,+BAA+B,EAAE,+BAA+B,EAAE,MAAM,8BAA8B,CAAC;AAEhH,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;AAEvE,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAE/E,qBACa,uBAAwB,SAAQ,YAAY;IAGvD,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAE,cAAc,CAAC;IAGzC,SAAS,CAAC,QAAQ,CAAC,gBAAgB,EAAE,iBAAiB,CAAC;IAGvD,SAAS,CAAC,QAAQ,CAAC,WAAW,EAAE,iBAAiB,CAAC;IAGlD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require("tslib");
|
|
5
|
+
const ide_editor_1 = require("@opensumi/ide-editor");
|
|
6
|
+
const di_1 = require("@opensumi/di");
|
|
7
|
+
const mobx_1 = require("mobx");
|
|
8
|
+
const debug_view_model_1 = require("../debug-view-model");
|
|
9
|
+
const breakpoint_1 = require("../../breakpoint");
|
|
10
|
+
const ide_workspace_1 = require("@opensumi/ide-workspace");
|
|
11
|
+
const ide_core_browser_1 = require("@opensumi/ide-core-browser");
|
|
12
|
+
const ide_workspace_edit_1 = require("@opensumi/ide-workspace-edit");
|
|
13
|
+
const debug_session_1 = require("../../../common/debug-session");
|
|
14
|
+
const debug_session_manager_1 = require("../../debug-session-manager");
|
|
15
|
+
const services_1 = require("@opensumi/ide-core-browser/lib/services");
|
|
16
|
+
const common_1 = require("../../../common");
|
|
17
|
+
const browser_1 = require("@opensumi/ide-editor/lib/browser");
|
|
18
|
+
let DebugBreakpointsService = class DebugBreakpointsService extends ide_core_browser_1.WithEventBus {
|
|
19
|
+
constructor() {
|
|
20
|
+
super();
|
|
21
|
+
this.nodes = [];
|
|
22
|
+
this.init();
|
|
23
|
+
}
|
|
24
|
+
get inputEditor() {
|
|
25
|
+
return this._inputEditor;
|
|
26
|
+
}
|
|
27
|
+
async init() {
|
|
28
|
+
await this.updateRoots();
|
|
29
|
+
this.updateBreakpoints();
|
|
30
|
+
this.workspaceService.onWorkspaceChanged(async () => {
|
|
31
|
+
await this.updateRoots();
|
|
32
|
+
this.updateBreakpoints();
|
|
33
|
+
});
|
|
34
|
+
this.breakpoints.onDidChangeBreakpoints(() => {
|
|
35
|
+
this.updateBreakpoints();
|
|
36
|
+
});
|
|
37
|
+
this.breakpoints.onDidChangeExceptionsBreakpoints(() => {
|
|
38
|
+
this.updateBreakpoints();
|
|
39
|
+
});
|
|
40
|
+
this.contextKeyService.onDidChangeContext((e) => {
|
|
41
|
+
if (e.payload.affectsSome(new Set([common_1.CONTEXT_IN_DEBUG_MODE_KEY]))) {
|
|
42
|
+
(0, mobx_1.runInAction)(() => {
|
|
43
|
+
this.inDebugMode = this.contextKeyService.getContextValue(common_1.CONTEXT_IN_DEBUG_MODE_KEY) || false;
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
getBreakpointDecoration(breakpoint, isDebugMode = false, enabled = true) {
|
|
49
|
+
return new breakpoint_1.DebugDecorator().getDecoration(breakpoint, isDebugMode, enabled);
|
|
50
|
+
}
|
|
51
|
+
onRenameFile(e) {
|
|
52
|
+
this.removeBreakpoints(e.payload.oldUri);
|
|
53
|
+
}
|
|
54
|
+
onDeleteFile(e) {
|
|
55
|
+
this.removeBreakpoints(e.payload.oldUri);
|
|
56
|
+
}
|
|
57
|
+
removeBreakpoints(uri) {
|
|
58
|
+
this.breakpoints.cleanAllMarkers(uri);
|
|
59
|
+
this.updateBreakpoints();
|
|
60
|
+
}
|
|
61
|
+
async updateRoots() {
|
|
62
|
+
this.enable = this.breakpoints.breakpointsEnabled;
|
|
63
|
+
this.inDebugMode = this.contextKeyService.getContextValue(common_1.CONTEXT_IN_DEBUG_MODE_KEY) || false;
|
|
64
|
+
const roots = await this.workspaceService.roots;
|
|
65
|
+
this.roots = roots.map((file) => new ide_core_browser_1.URI(file.uri));
|
|
66
|
+
}
|
|
67
|
+
toggleBreakpointEnable(data) {
|
|
68
|
+
if ((0, breakpoint_1.isDebugBreakpoint)(data)) {
|
|
69
|
+
const real = this.breakpoints.getBreakpoint(ide_core_browser_1.URI.parse(data.uri), {
|
|
70
|
+
lineNumber: data.raw.line,
|
|
71
|
+
column: data.raw.column,
|
|
72
|
+
});
|
|
73
|
+
if (real) {
|
|
74
|
+
real.enabled = !real.enabled;
|
|
75
|
+
this.breakpoints.updateBreakpoint(real);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
if ((0, breakpoint_1.isDebugExceptionBreakpoint)(data)) {
|
|
79
|
+
this.breakpoints.updateExceptionBreakpoints(data.filter, !data.default);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
extractNodes(items) {
|
|
83
|
+
const nodes = [];
|
|
84
|
+
items.forEach((item) => {
|
|
85
|
+
if ((0, breakpoint_1.isDebugBreakpoint)(item)) {
|
|
86
|
+
const uri = ide_core_browser_1.URI.parse(item.uri);
|
|
87
|
+
const parent = this.roots.filter((root) => root.isEqualOrParent(uri))[0];
|
|
88
|
+
nodes.push({
|
|
89
|
+
id: item.id,
|
|
90
|
+
name: uri.displayName,
|
|
91
|
+
description: parent && parent.relative(uri).toString(),
|
|
92
|
+
breakpoint: item,
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
if ((0, breakpoint_1.isDebugExceptionBreakpoint)(item)) {
|
|
96
|
+
nodes.push({
|
|
97
|
+
id: item.filter,
|
|
98
|
+
name: item.label,
|
|
99
|
+
description: '',
|
|
100
|
+
breakpoint: item,
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
return nodes;
|
|
105
|
+
}
|
|
106
|
+
updateBreakpoints() {
|
|
107
|
+
this.nodes = this.extractNodes([...this.breakpoints.getExceptionBreakpoints(), ...this.breakpoints.getBreakpoints()]);
|
|
108
|
+
}
|
|
109
|
+
removeAllBreakpoints() {
|
|
110
|
+
this.breakpoints.clearBreakpoints();
|
|
111
|
+
}
|
|
112
|
+
delBreakpoint(bp) {
|
|
113
|
+
this.breakpoints.delBreakpoint(bp);
|
|
114
|
+
this.updateBreakpoints();
|
|
115
|
+
}
|
|
116
|
+
toggleBreakpoints() {
|
|
117
|
+
this.breakpoints.breakpointsEnabled = !this.breakpoints.breakpointsEnabled;
|
|
118
|
+
this.enable = this.breakpoints.breakpointsEnabled;
|
|
119
|
+
if (this.enable) {
|
|
120
|
+
this.reporterService.point(common_1.DEBUG_REPORT_NAME === null || common_1.DEBUG_REPORT_NAME === void 0 ? void 0 : common_1.DEBUG_REPORT_NAME.DEBUG_BREAKPOINT, 'enabled');
|
|
121
|
+
}
|
|
122
|
+
else {
|
|
123
|
+
this.reporterService.point(common_1.DEBUG_REPORT_NAME === null || common_1.DEBUG_REPORT_NAME === void 0 ? void 0 : common_1.DEBUG_REPORT_NAME.DEBUG_BREAKPOINT, 'unenabled');
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
async createBreakpointInput(container) {
|
|
127
|
+
this._inputEditor = await this.editorService.createCodeEditor(container, Object.assign(Object.assign({}, (0, ide_editor_1.getSimpleEditorOptions)()), { scrollbar: {
|
|
128
|
+
horizontal: 'hidden',
|
|
129
|
+
vertical: 'hidden',
|
|
130
|
+
handleMouseWheel: false,
|
|
131
|
+
}, acceptSuggestionOnEnter: 'on', renderIndentGuides: false }));
|
|
132
|
+
const docModel = await this.documentService.createModelReference(new ide_core_browser_1.URI('debug/breakpoint/expression/input').withScheme(ide_core_browser_1.Schemas.walkThroughSnippet));
|
|
133
|
+
const model = docModel.instance.getMonacoModel();
|
|
134
|
+
model.updateOptions({ tabSize: 2 });
|
|
135
|
+
this._inputEditor.monacoEditor.setModel(model);
|
|
136
|
+
return Promise.resolve(this.inputEditor);
|
|
137
|
+
}
|
|
138
|
+
};
|
|
139
|
+
(0, tslib_1.__decorate)([
|
|
140
|
+
(0, di_1.Autowired)(debug_view_model_1.DebugViewModel),
|
|
141
|
+
(0, tslib_1.__metadata)("design:type", debug_view_model_1.DebugViewModel)
|
|
142
|
+
], DebugBreakpointsService.prototype, "model", void 0);
|
|
143
|
+
(0, tslib_1.__decorate)([
|
|
144
|
+
(0, di_1.Autowired)(ide_workspace_1.IWorkspaceService),
|
|
145
|
+
(0, tslib_1.__metadata)("design:type", Object)
|
|
146
|
+
], DebugBreakpointsService.prototype, "workspaceService", void 0);
|
|
147
|
+
(0, tslib_1.__decorate)([
|
|
148
|
+
(0, di_1.Autowired)(breakpoint_1.BreakpointManager),
|
|
149
|
+
(0, tslib_1.__metadata)("design:type", breakpoint_1.BreakpointManager)
|
|
150
|
+
], DebugBreakpointsService.prototype, "breakpoints", void 0);
|
|
151
|
+
(0, tslib_1.__decorate)([
|
|
152
|
+
(0, di_1.Autowired)(debug_session_1.IDebugSessionManager),
|
|
153
|
+
(0, tslib_1.__metadata)("design:type", debug_session_manager_1.DebugSessionManager)
|
|
154
|
+
], DebugBreakpointsService.prototype, "sessions", void 0);
|
|
155
|
+
(0, tslib_1.__decorate)([
|
|
156
|
+
(0, di_1.Autowired)(services_1.LabelService),
|
|
157
|
+
(0, tslib_1.__metadata)("design:type", services_1.LabelService)
|
|
158
|
+
], DebugBreakpointsService.prototype, "labelProvider", void 0);
|
|
159
|
+
(0, tslib_1.__decorate)([
|
|
160
|
+
(0, di_1.Autowired)(ide_core_browser_1.IContextKeyService),
|
|
161
|
+
(0, tslib_1.__metadata)("design:type", Object)
|
|
162
|
+
], DebugBreakpointsService.prototype, "contextKeyService", void 0);
|
|
163
|
+
(0, tslib_1.__decorate)([
|
|
164
|
+
(0, di_1.Autowired)(ide_core_browser_1.IReporterService),
|
|
165
|
+
(0, tslib_1.__metadata)("design:type", Object)
|
|
166
|
+
], DebugBreakpointsService.prototype, "reporterService", void 0);
|
|
167
|
+
(0, tslib_1.__decorate)([
|
|
168
|
+
(0, di_1.Autowired)(ide_editor_1.EditorCollectionService),
|
|
169
|
+
(0, tslib_1.__metadata)("design:type", ide_editor_1.EditorCollectionService)
|
|
170
|
+
], DebugBreakpointsService.prototype, "editorService", void 0);
|
|
171
|
+
(0, tslib_1.__decorate)([
|
|
172
|
+
(0, di_1.Autowired)(browser_1.IEditorDocumentModelService),
|
|
173
|
+
(0, tslib_1.__metadata)("design:type", Object)
|
|
174
|
+
], DebugBreakpointsService.prototype, "documentService", void 0);
|
|
175
|
+
(0, tslib_1.__decorate)([
|
|
176
|
+
mobx_1.observable,
|
|
177
|
+
(0, tslib_1.__metadata)("design:type", Array)
|
|
178
|
+
], DebugBreakpointsService.prototype, "nodes", void 0);
|
|
179
|
+
(0, tslib_1.__decorate)([
|
|
180
|
+
mobx_1.observable,
|
|
181
|
+
(0, tslib_1.__metadata)("design:type", Boolean)
|
|
182
|
+
], DebugBreakpointsService.prototype, "enable", void 0);
|
|
183
|
+
(0, tslib_1.__decorate)([
|
|
184
|
+
mobx_1.observable,
|
|
185
|
+
(0, tslib_1.__metadata)("design:type", Boolean)
|
|
186
|
+
], DebugBreakpointsService.prototype, "inDebugMode", void 0);
|
|
187
|
+
(0, tslib_1.__decorate)([
|
|
188
|
+
(0, ide_core_browser_1.OnEvent)(ide_workspace_edit_1.WorkspaceEditDidRenameFileEvent),
|
|
189
|
+
(0, tslib_1.__metadata)("design:type", Function),
|
|
190
|
+
(0, tslib_1.__metadata)("design:paramtypes", [ide_workspace_edit_1.WorkspaceEditDidRenameFileEvent]),
|
|
191
|
+
(0, tslib_1.__metadata)("design:returntype", void 0)
|
|
192
|
+
], DebugBreakpointsService.prototype, "onRenameFile", null);
|
|
193
|
+
(0, tslib_1.__decorate)([
|
|
194
|
+
(0, ide_core_browser_1.OnEvent)(ide_workspace_edit_1.WorkspaceEditDidDeleteFileEvent),
|
|
195
|
+
(0, tslib_1.__metadata)("design:type", Function),
|
|
196
|
+
(0, tslib_1.__metadata)("design:paramtypes", [ide_workspace_edit_1.WorkspaceEditDidDeleteFileEvent]),
|
|
197
|
+
(0, tslib_1.__metadata)("design:returntype", void 0)
|
|
198
|
+
], DebugBreakpointsService.prototype, "onDeleteFile", null);
|
|
199
|
+
(0, tslib_1.__decorate)([
|
|
200
|
+
mobx_1.action,
|
|
201
|
+
(0, tslib_1.__metadata)("design:type", Function),
|
|
202
|
+
(0, tslib_1.__metadata)("design:paramtypes", []),
|
|
203
|
+
(0, tslib_1.__metadata)("design:returntype", Promise)
|
|
204
|
+
], DebugBreakpointsService.prototype, "updateRoots", null);
|
|
205
|
+
(0, tslib_1.__decorate)([
|
|
206
|
+
mobx_1.action.bound,
|
|
207
|
+
(0, tslib_1.__metadata)("design:type", Function),
|
|
208
|
+
(0, tslib_1.__metadata)("design:paramtypes", [Object]),
|
|
209
|
+
(0, tslib_1.__metadata)("design:returntype", void 0)
|
|
210
|
+
], DebugBreakpointsService.prototype, "toggleBreakpointEnable", null);
|
|
211
|
+
(0, tslib_1.__decorate)([
|
|
212
|
+
mobx_1.action,
|
|
213
|
+
(0, tslib_1.__metadata)("design:type", Function),
|
|
214
|
+
(0, tslib_1.__metadata)("design:paramtypes", []),
|
|
215
|
+
(0, tslib_1.__metadata)("design:returntype", void 0)
|
|
216
|
+
], DebugBreakpointsService.prototype, "updateBreakpoints", null);
|
|
217
|
+
(0, tslib_1.__decorate)([
|
|
218
|
+
mobx_1.action,
|
|
219
|
+
(0, tslib_1.__metadata)("design:type", Function),
|
|
220
|
+
(0, tslib_1.__metadata)("design:paramtypes", []),
|
|
221
|
+
(0, tslib_1.__metadata)("design:returntype", void 0)
|
|
222
|
+
], DebugBreakpointsService.prototype, "toggleBreakpoints", null);
|
|
223
|
+
DebugBreakpointsService = (0, tslib_1.__decorate)([
|
|
224
|
+
(0, di_1.Injectable)(),
|
|
225
|
+
(0, tslib_1.__metadata)("design:paramtypes", [])
|
|
226
|
+
], DebugBreakpointsService);
|
|
227
|
+
exports.DebugBreakpointsService = DebugBreakpointsService;
|
|
228
|
+
//# sourceMappingURL=debug-breakpoints.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-breakpoints.service.js","sourceRoot":"","sources":["../../../../src/browser/view/breakpoints/debug-breakpoints.service.ts"],"names":[],"mappings":";;;;AAAA,qDAAoG;AACpG,qCAAqD;AACrD,+BAAuD;AACvD,0DAAqD;AACrD,iDAA+J;AAC/J,2DAA4D;AAC5D,iEAAuH;AAEvH,qEAAgH;AAChH,iEAAqE;AACrE,uEAAkE;AAClE,sEAAuE;AACvE,4CAA+E;AAC/E,8DAA+E;AAG/E,IAAa,uBAAuB,GAApC,MAAa,uBAAwB,SAAQ,+BAAY;IA8CvD;QACE,KAAK,EAAE,CAAC;QAXH,UAAK,GAAqB,EAAE,CAAC;QAYlC,IAAI,CAAC,IAAI,EAAE,CAAC;IACd,CAA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,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ViewState } from '@opensumi/ide-core-browser';
|
|
3
|
+
import { DebugBreakpoint, DebugExceptionBreakpoint } from '../../breakpoint';
|
|
4
|
+
export interface BreakpointItem {
|
|
5
|
+
name: string;
|
|
6
|
+
id: string;
|
|
7
|
+
description: string;
|
|
8
|
+
breakpoint: DebugBreakpoint | DebugExceptionBreakpoint;
|
|
9
|
+
}
|
|
10
|
+
export declare const DebugBreakpointView: React.FunctionComponent<{
|
|
11
|
+
viewState: ViewState;
|
|
12
|
+
}>;
|
|
13
|
+
export declare const BreakpointItem: ({ data, toggle, isDebugMode, breakpointEnabled, }: {
|
|
14
|
+
data: BreakpointItem;
|
|
15
|
+
toggle: () => void;
|
|
16
|
+
isDebugMode: boolean;
|
|
17
|
+
breakpointEnabled: boolean;
|
|
18
|
+
}) => JSX.Element;
|
|
19
|
+
//# sourceMappingURL=debug-breakpoints.view.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-breakpoints.view.d.ts","sourceRoot":"","sources":["../../../../src/browser/view/breakpoints/debug-breakpoints.view.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAiB,SAAS,EAAiD,MAAM,4BAA4B,CAAC;AAKrH,OAAO,EAAE,eAAe,EAAE,wBAAwB,EAAwE,MAAM,kBAAkB,CAAC;AAKnJ,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,eAAe,GAAG,wBAAwB,CAAC;CACxD;AAED,eAAO,MAAM,mBAAmB;eAEQ,SAAS;EA0B/C,CAAC;AAEH,eAAO,MAAM,cAAc;UAMnB,cAAc;YACZ,MAAM,IAAI;iBACL,OAAO;uBACD,OAAO;iBAuG3B,CAAC"}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BreakpointItem = exports.DebugBreakpointView = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const react_1 = (0, tslib_1.__importDefault)(require("react"));
|
|
6
|
+
const debug_breakpoints_service_1 = require("./debug-breakpoints.service");
|
|
7
|
+
const ide_core_browser_1 = require("@opensumi/ide-core-browser");
|
|
8
|
+
const debug_breakpoints_module_less_1 = (0, tslib_1.__importDefault)(require("./debug-breakpoints.module.less"));
|
|
9
|
+
const classnames_1 = (0, tslib_1.__importDefault)(require("classnames"));
|
|
10
|
+
const ide_components_1 = require("@opensumi/ide-components");
|
|
11
|
+
const mobx_react_lite_1 = require("mobx-react-lite");
|
|
12
|
+
const breakpoint_1 = require("../../breakpoint");
|
|
13
|
+
const ide_components_2 = require("@opensumi/ide-components");
|
|
14
|
+
const common_1 = require("../../../common");
|
|
15
|
+
exports.DebugBreakpointView = (0, mobx_react_lite_1.observer)(({ viewState, }) => {
|
|
16
|
+
const { nodes, enable, inDebugMode, toggleBreakpointEnable, } = (0, ide_core_browser_1.useInjectable)(debug_breakpoints_service_1.DebugBreakpointsService);
|
|
17
|
+
const template = ({ data }) => {
|
|
18
|
+
return react_1.default.createElement(exports.BreakpointItem, { toggle: () => toggleBreakpointEnable(data.breakpoint), breakpointEnabled: enable, data: data, isDebugMode: inDebugMode });
|
|
19
|
+
};
|
|
20
|
+
const containerStyle = {
|
|
21
|
+
height: viewState.height,
|
|
22
|
+
width: viewState.width,
|
|
23
|
+
};
|
|
24
|
+
return react_1.default.createElement("div", { className: (0, classnames_1.default)(debug_breakpoints_module_less_1.default.debug_breakpoints, !enable && debug_breakpoints_module_less_1.default.debug_breakpoints_disabled) },
|
|
25
|
+
react_1.default.createElement(ide_components_2.RecycleList, { data: nodes, itemHeight: 22, template: template, style: containerStyle }));
|
|
26
|
+
});
|
|
27
|
+
const BreakpointItem = ({ data, toggle, isDebugMode, breakpointEnabled, }) => {
|
|
28
|
+
const defaultValue = (0, breakpoint_1.isDebugBreakpoint)(data.breakpoint) ? data.breakpoint.enabled : !!(data.breakpoint.default);
|
|
29
|
+
const manager = (0, ide_core_browser_1.useInjectable)(common_1.IDebugSessionManager);
|
|
30
|
+
const commandService = (0, ide_core_browser_1.useInjectable)(ide_core_browser_1.CommandService);
|
|
31
|
+
const debugBreakpointsService = (0, ide_core_browser_1.useInjectable)(debug_breakpoints_service_1.DebugBreakpointsService);
|
|
32
|
+
const [enabled, setEnabled] = react_1.default.useState(defaultValue);
|
|
33
|
+
const [status, setStatus] = react_1.default.useState(undefined);
|
|
34
|
+
const handleBreakpointChange = () => {
|
|
35
|
+
toggle();
|
|
36
|
+
setEnabled(!enabled);
|
|
37
|
+
};
|
|
38
|
+
const handleBreakpointClick = () => {
|
|
39
|
+
if (data.breakpoint.uri) {
|
|
40
|
+
const options = {
|
|
41
|
+
preview: true,
|
|
42
|
+
focus: true,
|
|
43
|
+
};
|
|
44
|
+
if (!!status) {
|
|
45
|
+
options['range'] = {
|
|
46
|
+
startColumn: status.column || 0,
|
|
47
|
+
endColumn: status.column || 0,
|
|
48
|
+
startLineNumber: status.line,
|
|
49
|
+
endLineNumber: status.line,
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
else {
|
|
53
|
+
options['range'] = {
|
|
54
|
+
startColumn: data.breakpoint.raw.column || 0,
|
|
55
|
+
endColumn: data.breakpoint.raw.column || 0,
|
|
56
|
+
startLineNumber: data.breakpoint.raw.line,
|
|
57
|
+
endLineNumber: data.breakpoint.raw.line,
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
commandService.executeCommand(ide_core_browser_1.EDITOR_COMMANDS.OPEN_RESOURCE.id, new ide_core_browser_1.URI(data.breakpoint.uri), options);
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
react_1.default.useEffect(() => {
|
|
64
|
+
const exec = () => {
|
|
65
|
+
if ((0, breakpoint_1.isDebugBreakpoint)(data.breakpoint) && (0, breakpoint_1.isRuntimeBreakpoint)(data.breakpoint)) {
|
|
66
|
+
const status = (0, breakpoint_1.getStatus)(data.breakpoint);
|
|
67
|
+
setStatus(status);
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
const disposable = manager.onDidChangeActiveDebugSession(() => exec());
|
|
71
|
+
exec();
|
|
72
|
+
return () => {
|
|
73
|
+
setStatus(undefined);
|
|
74
|
+
disposable.dispose();
|
|
75
|
+
};
|
|
76
|
+
}, []);
|
|
77
|
+
const verified = !isDebugMode ? true : ((0, breakpoint_1.isDebugBreakpoint)(data.breakpoint) && (0, breakpoint_1.isRuntimeBreakpoint)(data.breakpoint));
|
|
78
|
+
const getBreakpointIcon = () => {
|
|
79
|
+
const { className } = debugBreakpointsService.getBreakpointDecoration(data.breakpoint, isDebugMode, breakpointEnabled && enabled);
|
|
80
|
+
return className;
|
|
81
|
+
};
|
|
82
|
+
const converBreakpointClsState = () => {
|
|
83
|
+
if ((0, breakpoint_1.isDebugBreakpoint)(data.breakpoint)) {
|
|
84
|
+
if (!verified) {
|
|
85
|
+
return 'sumi-debug-breakpoint-unverified';
|
|
86
|
+
}
|
|
87
|
+
return getBreakpointIcon();
|
|
88
|
+
}
|
|
89
|
+
return '';
|
|
90
|
+
};
|
|
91
|
+
const removeBreakpoint = (event) => {
|
|
92
|
+
event.stopPropagation();
|
|
93
|
+
debugBreakpointsService.delBreakpoint(data.breakpoint);
|
|
94
|
+
};
|
|
95
|
+
return react_1.default.createElement("div", { className: (0, classnames_1.default)(debug_breakpoints_module_less_1.default.debug_breakpoints_item) },
|
|
96
|
+
react_1.default.createElement("div", { className: (0, classnames_1.default)(converBreakpointClsState(), debug_breakpoints_module_less_1.default.debug_breakpoints_icon) }),
|
|
97
|
+
react_1.default.createElement(ide_components_1.CheckBox, { id: data.id, onChange: handleBreakpointChange, checked: enabled }),
|
|
98
|
+
react_1.default.createElement("div", { className: debug_breakpoints_module_less_1.default.debug_breakpoints_wrapper, onClick: handleBreakpointClick },
|
|
99
|
+
react_1.default.createElement("span", { className: debug_breakpoints_module_less_1.default.debug_breakpoints_name }, data.name),
|
|
100
|
+
react_1.default.createElement("span", { className: debug_breakpoints_module_less_1.default.debug_breakpoints_description }, data.description)),
|
|
101
|
+
(0, breakpoint_1.isDebugBreakpoint)(data.breakpoint) ? (react_1.default.createElement(react_1.default.Fragment, null,
|
|
102
|
+
react_1.default.createElement("a", { title: '\u5220\u9664\u65AD\u70B9', onClick: (event) => removeBreakpoint(event), className: (0, classnames_1.default)(debug_breakpoints_module_less_1.default.debug_remove_breakpoints_icon, (0, ide_core_browser_1.getIcon)('close')) }),
|
|
103
|
+
react_1.default.createElement(ide_components_2.Badge, { className: debug_breakpoints_module_less_1.default.debug_breakpoints_badge },
|
|
104
|
+
data.breakpoint.raw.line,
|
|
105
|
+
!!data.breakpoint.raw.column && `:${data.breakpoint.raw.column}`))) : null);
|
|
106
|
+
};
|
|
107
|
+
exports.BreakpointItem = BreakpointItem;
|
|
108
|
+
//# sourceMappingURL=debug-breakpoints.view.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-breakpoints.view.js","sourceRoot":"","sources":["../../../../src/browser/view/breakpoints/debug-breakpoints.view.tsx"],"names":[],"mappings":";;;;AAAA,+DAA0B;AAE1B,2EAAsE;AACtE,iEAAqH;AACrH,iHAAqD;AACrD,yEAA6B;AAC7B,6DAAoD;AACpD,qDAA2C;AAC3C,iDAAmJ;AACnJ,6DAA8D;AAE9D,4CAAuD;AAS1C,QAAA,mBAAmB,GAAG,IAAA,0BAAQ,EAAC,CAAC,EAC3C,SAAS,GACyC,EAAE,EAAE;IACtD,MAAM,EACJ,KAAK,EACL,MAAM,EACN,WAAW,EACX,sBAAsB,GACvB,GAA4B,IAAA,gCAAa,EAAC,mDAAuB,CAAC,CAAC;IACpE,MAAM,QAAQ,GAAG,CAAC,EAAE,IAAI,EAEvB,EAAE,EAAE;QACH,OAAO,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@
|
|
|
1
|
+
@import '~@opensumi/ide-components/lib/style/mixins.less';
|
|
2
|
+
|
|
3
|
+
.kt_debug_action_bar {
|
|
4
|
+
height: 28px;
|
|
5
|
+
display: flex;
|
|
6
|
+
align-items: center;
|
|
7
|
+
padding: 0px 8px;
|
|
8
|
+
margin-bottom: 8px;
|
|
9
|
+
justify-content: flex-start;
|
|
10
|
+
pointer-events: all;
|
|
11
|
+
overflow: hidden;
|
|
12
|
+
|
|
13
|
+
.kt_debug_actions {
|
|
14
|
+
display: flex;
|
|
15
|
+
justify-content: space-between;
|
|
16
|
+
align-items: center;
|
|
17
|
+
min-width: 124px;
|
|
18
|
+
& > *:not(:first-child) {
|
|
19
|
+
margin-left: 6px;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.debug_selection {
|
|
24
|
+
width: 100%;
|
|
25
|
+
min-width: 50px;
|
|
26
|
+
margin-right: 10px;
|
|
27
|
+
max-width: 200px;
|
|
28
|
+
|
|
29
|
+
:global(.kt-select-value) {
|
|
30
|
+
& > option {
|
|
31
|
+
min-width: 22px;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.debug_configuration_toolbar {
|
|
38
|
+
display: flex;
|
|
39
|
+
height: 28px;
|
|
40
|
+
padding-right: 8px;
|
|
41
|
+
margin-bottom: 8px;
|
|
42
|
+
align-items: center;
|
|
43
|
+
|
|
44
|
+
.kt_debug_actions {
|
|
45
|
+
display: flex;
|
|
46
|
+
flex: 1;
|
|
47
|
+
justify-content: space-between;
|
|
48
|
+
align-items: center;
|
|
49
|
+
min-width: 58px;
|
|
50
|
+
max-width: 66px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.debug_selection {
|
|
54
|
+
width: 100%;
|
|
55
|
+
min-width: 50px;
|
|
56
|
+
margin-left: 8px;
|
|
57
|
+
margin-right: 6px;
|
|
58
|
+
|
|
59
|
+
:global(.kt-select-value) {
|
|
60
|
+
& > option {
|
|
61
|
+
min-width: 22px;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.debug_toolbar_container {
|
|
68
|
+
position: absolute;
|
|
69
|
+
width: 100%;
|
|
70
|
+
height: 100%;
|
|
71
|
+
display: flex;
|
|
72
|
+
align-content: center;
|
|
73
|
+
justify-content: center;
|
|
74
|
+
z-index: 999;
|
|
75
|
+
user-select: none;
|
|
76
|
+
|
|
77
|
+
.kt_debug_action_bar {
|
|
78
|
+
height: 100%;
|
|
79
|
+
padding: 0px 12px;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.debug_toolbar_wrapper {
|
|
84
|
+
display: flex;
|
|
85
|
+
height: 28px;
|
|
86
|
+
padding-left: 5px;
|
|
87
|
+
background-color: var(--debugToolBar-background);
|
|
88
|
+
border: 1px solid var(--debugToolBar-border);
|
|
89
|
+
.modal-shadow();
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.debug_toolbar_drag {
|
|
93
|
+
pointer-events: all;
|
|
94
|
+
cursor: pointer;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.debug_toolbar_drag_wrapper {
|
|
98
|
+
display: flex;
|
|
99
|
+
height: 100%;
|
|
100
|
+
align-items: center;
|
|
101
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IWorkspaceService } from '@opensumi/ide-workspace';
|
|
3
|
+
import { DebugConfigurationManager } from '../../debug-configuration-manager';
|
|
4
|
+
import { DebugSessionOptions } from '../../../common';
|
|
5
|
+
import { DebugSessionManager } from '../../debug-session-manager';
|
|
6
|
+
import { DebugViewModel } from '../debug-view-model';
|
|
7
|
+
import { DebugConsoleService } from '../console/debug-console.service';
|
|
8
|
+
export declare class DebugConfigurationService {
|
|
9
|
+
protected workspaceService: IWorkspaceService;
|
|
10
|
+
protected debugConfigurationManager: DebugConfigurationManager;
|
|
11
|
+
protected debugSessionManager: DebugSessionManager;
|
|
12
|
+
protected debugViewModel: DebugViewModel;
|
|
13
|
+
protected debugConsoleService: DebugConsoleService;
|
|
14
|
+
private readonly preferenceService;
|
|
15
|
+
private _whenReady;
|
|
16
|
+
constructor();
|
|
17
|
+
currentValue: string;
|
|
18
|
+
float: boolean;
|
|
19
|
+
isMultiRootWorkspace: boolean;
|
|
20
|
+
workspaceRoots: string[];
|
|
21
|
+
configurationOptions: DebugSessionOptions[];
|
|
22
|
+
get whenReady(): Promise<void>;
|
|
23
|
+
init(): Promise<void>;
|
|
24
|
+
updateWorkspaceState(): Promise<void>;
|
|
25
|
+
updateFloat(value: boolean): void;
|
|
26
|
+
updateCurrentValue(value: string): void;
|
|
27
|
+
updateConfigurationOptions(): void;
|
|
28
|
+
start: () => Promise<void>;
|
|
29
|
+
openConfiguration: () => void;
|
|
30
|
+
openDebugConsole: () => void;
|
|
31
|
+
addConfiguration: (eventOrUri?: string | import("react").MouseEvent<HTMLElement, MouseEvent> | undefined) => void;
|
|
32
|
+
updateConfiguration: (name: string, workspaceFolderUri: string, index: number) => void;
|
|
33
|
+
toValue({ configuration, workspaceFolderUri, index }: DebugSessionOptions): any;
|
|
34
|
+
toName: ({ configuration, workspaceFolderUri }: DebugSessionOptions) => string;
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=debug-configuration.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-configuration.service.d.ts","sourceRoot":"","sources":["../../../../src/browser/view/configuration/debug-configuration.service.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAE9E,OAAO,EAAE,mBAAmB,EAA8G,MAAM,iBAAiB,CAAC;AAElK,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE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