@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,376 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var DebugVariablesModelService_1;
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.DebugVariablesModelService = void 0;
|
|
5
|
+
const tslib_1 = require("tslib");
|
|
6
|
+
const debug_contextkey_service_1 = require("./../../contextkeys/debug-contextkey.service");
|
|
7
|
+
const lodash_1 = require("lodash");
|
|
8
|
+
const di_1 = require("@opensumi/di");
|
|
9
|
+
const ide_components_1 = require("@opensumi/ide-components");
|
|
10
|
+
const ide_core_browser_1 = require("@opensumi/ide-core-browser");
|
|
11
|
+
const next_1 = require("@opensumi/ide-core-browser/lib/menu/next");
|
|
12
|
+
const debug_variables_model_1 = require("./debug-variables-model");
|
|
13
|
+
const debug_tree_node_define_1 = require("../../tree/debug-tree-node.define");
|
|
14
|
+
const debug_view_model_1 = require("../debug-view-model");
|
|
15
|
+
const debug_variables_module_less_1 = (0, tslib_1.__importDefault)(require("./debug-variables.module.less"));
|
|
16
|
+
class KeepExpandedScopesModel {
|
|
17
|
+
constructor() {
|
|
18
|
+
this._keepExpandedScopesMap = new Map();
|
|
19
|
+
}
|
|
20
|
+
getMirrorScope(item) {
|
|
21
|
+
return Array.from(this._keepExpandedScopesMap.keys()).find((f) => (0, lodash_1.isEqual)(f, item.getRawScope()));
|
|
22
|
+
}
|
|
23
|
+
set(item) {
|
|
24
|
+
const scope = item.getRawScope();
|
|
25
|
+
if (scope) {
|
|
26
|
+
const keepScope = this.getMirrorScope(item);
|
|
27
|
+
if (keepScope) {
|
|
28
|
+
const kScopeVars = this._keepExpandedScopesMap.get(keepScope);
|
|
29
|
+
let nScopeVars;
|
|
30
|
+
if (item.expanded) {
|
|
31
|
+
nScopeVars = Array.from(new Set([...kScopeVars, item.variablesReference]));
|
|
32
|
+
}
|
|
33
|
+
else {
|
|
34
|
+
nScopeVars = kScopeVars.filter((v) => v !== item.variablesReference);
|
|
35
|
+
}
|
|
36
|
+
this._keepExpandedScopesMap.set(keepScope, nScopeVars);
|
|
37
|
+
}
|
|
38
|
+
else {
|
|
39
|
+
this._keepExpandedScopesMap.set(scope, item.expanded ? [item.variablesReference] : []);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
get(item) {
|
|
44
|
+
const keepScope = this.getMirrorScope(item);
|
|
45
|
+
if (keepScope) {
|
|
46
|
+
return this._keepExpandedScopesMap.get(keepScope) || [];
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
return [];
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
clear() {
|
|
53
|
+
this._keepExpandedScopesMap.clear();
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
let DebugVariablesModelService = DebugVariablesModelService_1 = class DebugVariablesModelService {
|
|
57
|
+
constructor() {
|
|
58
|
+
// 装饰器
|
|
59
|
+
this.selectedDecoration = new ide_components_1.Decoration(debug_variables_module_less_1.default.mod_selected); // 选中态
|
|
60
|
+
this.focusedDecoration = new ide_components_1.Decoration(debug_variables_module_less_1.default.mod_focused); // 焦点态
|
|
61
|
+
this.contextMenuDecoration = new ide_components_1.Decoration(debug_variables_module_less_1.default.mod_actived); // 右键菜单激活态
|
|
62
|
+
this.loadingDecoration = new ide_components_1.Decoration(debug_variables_module_less_1.default.mod_loading); // 加载态
|
|
63
|
+
// 选中态的节点
|
|
64
|
+
this._selectedNodes = [];
|
|
65
|
+
this.onDidRefreshedEmitter = new ide_core_browser_1.Emitter();
|
|
66
|
+
this.onDidUpdateTreeModelEmitter = new ide_core_browser_1.Emitter();
|
|
67
|
+
this.flushDispatchChangeDelayer = new ide_core_browser_1.ThrottledDelayer(DebugVariablesModelService_1.DEFAULT_TRIGGER_DELAY);
|
|
68
|
+
this.disposableCollection = new ide_core_browser_1.DisposableCollection();
|
|
69
|
+
this.keepExpandedScopesModel = new KeepExpandedScopesModel();
|
|
70
|
+
// 清空其他选中/焦点态节点,更新当前焦点节点
|
|
71
|
+
this.activeNodeDecoration = (target, dispatchChange = true) => {
|
|
72
|
+
var _a;
|
|
73
|
+
if (this.contextMenuNode) {
|
|
74
|
+
this.contextMenuDecoration.removeTarget(this.contextMenuNode);
|
|
75
|
+
this._contextMenuNode = undefined;
|
|
76
|
+
}
|
|
77
|
+
if (target) {
|
|
78
|
+
if (this.selectedNodes.length > 0) {
|
|
79
|
+
// 因为选择装饰器可能通过其他方式添加而不能及时在selectedNodes上更新
|
|
80
|
+
// 故这里遍历所有选中装饰器的节点进行一次统一清理
|
|
81
|
+
for (const target of this.selectedDecoration.appliedTargets.keys()) {
|
|
82
|
+
this.selectedDecoration.removeTarget(target);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
if (this.focusedNode) {
|
|
86
|
+
this.focusedDecoration.removeTarget(this.focusedNode);
|
|
87
|
+
}
|
|
88
|
+
this.selectedDecoration.addTarget(target);
|
|
89
|
+
this.focusedDecoration.addTarget(target);
|
|
90
|
+
this._focusedNode = target;
|
|
91
|
+
this._selectedNodes = [target];
|
|
92
|
+
if (dispatchChange) {
|
|
93
|
+
// 通知视图更新
|
|
94
|
+
(_a = this.treeModel) === null || _a === void 0 ? void 0 : _a.dispatchChange();
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
// 右键菜单焦点态切换
|
|
99
|
+
this.activeNodeActivedDecoration = (target) => {
|
|
100
|
+
var _a;
|
|
101
|
+
if (this.contextMenuNode) {
|
|
102
|
+
this.contextMenuDecoration.removeTarget(this.contextMenuNode);
|
|
103
|
+
}
|
|
104
|
+
if (this.focusedNode) {
|
|
105
|
+
this.focusedDecoration.removeTarget(this.focusedNode);
|
|
106
|
+
this._focusedNode = undefined;
|
|
107
|
+
}
|
|
108
|
+
this.contextMenuDecoration.addTarget(target);
|
|
109
|
+
this._contextMenuNode = target;
|
|
110
|
+
(_a = this.treeModel) === null || _a === void 0 ? void 0 : _a.dispatchChange();
|
|
111
|
+
};
|
|
112
|
+
// 取消选中节点焦点
|
|
113
|
+
this.enactiveNodeDecoration = () => {
|
|
114
|
+
var _a;
|
|
115
|
+
if (this.focusedNode) {
|
|
116
|
+
this.focusedDecoration.removeTarget(this.focusedNode);
|
|
117
|
+
this._focusedNode = undefined;
|
|
118
|
+
}
|
|
119
|
+
if (this.contextMenuNode) {
|
|
120
|
+
this.contextMenuDecoration.removeTarget(this.contextMenuNode);
|
|
121
|
+
}
|
|
122
|
+
(_a = this.treeModel) === null || _a === void 0 ? void 0 : _a.dispatchChange();
|
|
123
|
+
};
|
|
124
|
+
this.handleContextMenu = (ev, expression) => {
|
|
125
|
+
ev.stopPropagation();
|
|
126
|
+
ev.preventDefault();
|
|
127
|
+
if (!expression || expression instanceof debug_tree_node_define_1.DebugScope) {
|
|
128
|
+
this.enactiveNodeDecoration();
|
|
129
|
+
this.debugContextKey.contextVariableEvaluateNamePresent.set(false);
|
|
130
|
+
return;
|
|
131
|
+
}
|
|
132
|
+
this._currentVariableInternalContext = expression;
|
|
133
|
+
const { x, y } = ev.nativeEvent;
|
|
134
|
+
if (expression) {
|
|
135
|
+
this.activeNodeActivedDecoration(expression);
|
|
136
|
+
this.debugContextKey.contextDebugProtocolVariableMenu.set(expression.variableMenuContext);
|
|
137
|
+
this.debugContextKey.contextVariableEvaluateNamePresent.set(!!expression.evaluateName);
|
|
138
|
+
}
|
|
139
|
+
const menus = this.contextMenuService.createMenu({ id: next_1.MenuId.DebugVariablesContext, contextKeyService: this.debugContextKey.contextKeyScoped });
|
|
140
|
+
const menuNodes = menus.getMergedMenuNodes();
|
|
141
|
+
menus.dispose();
|
|
142
|
+
this.ctxMenuRenderer.show({
|
|
143
|
+
anchor: { x, y },
|
|
144
|
+
menuNodes,
|
|
145
|
+
args: [expression.toDebugProtocolObject()],
|
|
146
|
+
});
|
|
147
|
+
};
|
|
148
|
+
this.handleTreeBlur = () => {
|
|
149
|
+
// 清空焦点状态
|
|
150
|
+
this.enactiveNodeDecoration();
|
|
151
|
+
};
|
|
152
|
+
this.handleItemClick = (item) => {
|
|
153
|
+
// 单选操作默认先更新选中状态
|
|
154
|
+
this.activeNodeDecoration(item);
|
|
155
|
+
};
|
|
156
|
+
this.handleTwistierClick = (item, type) => {
|
|
157
|
+
if (type === ide_components_1.TreeNodeType.CompositeTreeNode) {
|
|
158
|
+
this.activeNodeDecoration(item, false);
|
|
159
|
+
this.toggleDirectory(item);
|
|
160
|
+
}
|
|
161
|
+
else {
|
|
162
|
+
this.activeNodeDecoration(item);
|
|
163
|
+
}
|
|
164
|
+
};
|
|
165
|
+
this.toggleDirectory = async (item) => {
|
|
166
|
+
if (item.expanded) {
|
|
167
|
+
item.setCollapsed();
|
|
168
|
+
}
|
|
169
|
+
else {
|
|
170
|
+
await item.setExpanded(true);
|
|
171
|
+
}
|
|
172
|
+
this.keepExpandedScopesModel.set(item);
|
|
173
|
+
};
|
|
174
|
+
this.listenViewModelChange();
|
|
175
|
+
}
|
|
176
|
+
get flushEventQueuePromise() {
|
|
177
|
+
return this.flushEventQueueDeferred && this.flushEventQueueDeferred.promise;
|
|
178
|
+
}
|
|
179
|
+
get treeHandle() {
|
|
180
|
+
return this._debugVariablesTreeHandle;
|
|
181
|
+
}
|
|
182
|
+
get decorations() {
|
|
183
|
+
return this._decorations;
|
|
184
|
+
}
|
|
185
|
+
get treeModel() {
|
|
186
|
+
return this._activeTreeModel;
|
|
187
|
+
}
|
|
188
|
+
get currentVariableInternalContext() {
|
|
189
|
+
return this._currentVariableInternalContext;
|
|
190
|
+
}
|
|
191
|
+
// 既是选中态,也是焦点态节点
|
|
192
|
+
get focusedNode() {
|
|
193
|
+
return this._focusedNode;
|
|
194
|
+
}
|
|
195
|
+
// 是选中态,非焦点态节点
|
|
196
|
+
get selectedNodes() {
|
|
197
|
+
return this._selectedNodes;
|
|
198
|
+
}
|
|
199
|
+
// 右键菜单激活态的节点
|
|
200
|
+
get contextMenuNode() {
|
|
201
|
+
return this._contextMenuNode;
|
|
202
|
+
}
|
|
203
|
+
get onDidUpdateTreeModel() {
|
|
204
|
+
return this.onDidUpdateTreeModelEmitter.event;
|
|
205
|
+
}
|
|
206
|
+
get onDidRefreshed() {
|
|
207
|
+
return this.onDidRefreshedEmitter.event;
|
|
208
|
+
}
|
|
209
|
+
dispose() {
|
|
210
|
+
if (!this.disposableCollection.disposed) {
|
|
211
|
+
this.disposableCollection.dispose();
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
listenViewModelChange() {
|
|
215
|
+
this.viewModel.onDidChange(async () => {
|
|
216
|
+
this.flushDispatchChangeDelayer.cancel();
|
|
217
|
+
this.flushDispatchChangeDelayer.trigger(async () => {
|
|
218
|
+
var _a, _b;
|
|
219
|
+
if (this.viewModel && this.viewModel.currentSession && !this.viewModel.currentSession.terminated) {
|
|
220
|
+
const currentTreeModel = await this.initTreeModel(this.viewModel.currentSession);
|
|
221
|
+
this._activeTreeModel = currentTreeModel;
|
|
222
|
+
await ((_a = this._activeTreeModel) === null || _a === void 0 ? void 0 : _a.root.ensureLoaded());
|
|
223
|
+
/**
|
|
224
|
+
* 如果变量面板全部都是折叠状态
|
|
225
|
+
* 则需要找到当前 scope 作用域的 expensive 为 false 的变量列表,并默认展开它们
|
|
226
|
+
* PS: 一般的情况下有 Local
|
|
227
|
+
* */
|
|
228
|
+
const scopes = ((_b = this._activeTreeModel) === null || _b === void 0 ? void 0 : _b.root.children) || [];
|
|
229
|
+
if (scopes.length > 0 && scopes.every((s) => !s.expanded)) {
|
|
230
|
+
for (const s of scopes) {
|
|
231
|
+
if (s.getRawScope().expensive === false && !s.expanded) {
|
|
232
|
+
await this.toggleDirectory(s);
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
const execExpands = async (data) => {
|
|
237
|
+
for (const s of data) {
|
|
238
|
+
const cacheExpands = this.keepExpandedScopesModel.get(s);
|
|
239
|
+
if (cacheExpands.includes(s.variablesReference)) {
|
|
240
|
+
await s.setExpanded(true);
|
|
241
|
+
if (Array.isArray(s.children)) {
|
|
242
|
+
await execExpands(s.children);
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
};
|
|
247
|
+
scopes.forEach(async (s) => {
|
|
248
|
+
if (Array.isArray(s.children)) {
|
|
249
|
+
await execExpands(s.children);
|
|
250
|
+
}
|
|
251
|
+
});
|
|
252
|
+
}
|
|
253
|
+
else {
|
|
254
|
+
this._activeTreeModel = undefined;
|
|
255
|
+
this.keepExpandedScopesModel.clear();
|
|
256
|
+
}
|
|
257
|
+
this.onDidUpdateTreeModelEmitter.fire(this._activeTreeModel);
|
|
258
|
+
});
|
|
259
|
+
});
|
|
260
|
+
}
|
|
261
|
+
listenTreeViewChange() {
|
|
262
|
+
var _a, _b;
|
|
263
|
+
this.dispose();
|
|
264
|
+
this.disposableCollection.push((_a = this.treeModel) === null || _a === void 0 ? void 0 : _a.root.watcher.on(ide_components_1.TreeNodeEvent.WillResolveChildren, (target) => {
|
|
265
|
+
this.loadingDecoration.addTarget(target);
|
|
266
|
+
}));
|
|
267
|
+
this.disposableCollection.push((_b = this.treeModel) === null || _b === void 0 ? void 0 : _b.root.watcher.on(ide_components_1.TreeNodeEvent.DidResolveChildren, (target) => {
|
|
268
|
+
this.loadingDecoration.removeTarget(target);
|
|
269
|
+
}));
|
|
270
|
+
this.disposableCollection.push(this.treeModel.onWillUpdate(() => {
|
|
271
|
+
var _a;
|
|
272
|
+
// 更新树前更新下选中节点
|
|
273
|
+
if (this.selectedNodes.length !== 0) {
|
|
274
|
+
// 仅处理一下单选情况
|
|
275
|
+
const node = (_a = this.treeModel) === null || _a === void 0 ? void 0 : _a.root.getTreeNodeByPath(this.selectedNodes[0].path);
|
|
276
|
+
this.selectedDecoration.addTarget(node);
|
|
277
|
+
}
|
|
278
|
+
}));
|
|
279
|
+
}
|
|
280
|
+
async initTreeModel(session) {
|
|
281
|
+
// 根据是否为多工作区创建不同根节点
|
|
282
|
+
const root = new debug_tree_node_define_1.DebugVariableRoot(session);
|
|
283
|
+
if (!root) {
|
|
284
|
+
return;
|
|
285
|
+
}
|
|
286
|
+
this._activeTreeModel = this.injector.get(debug_variables_model_1.DebugVariablesModel, [root]);
|
|
287
|
+
this.initDecorations(root);
|
|
288
|
+
this.listenTreeViewChange();
|
|
289
|
+
return this._activeTreeModel;
|
|
290
|
+
}
|
|
291
|
+
initDecorations(root) {
|
|
292
|
+
this._decorations = new ide_components_1.DecorationsManager(root);
|
|
293
|
+
this._decorations.addDecoration(this.selectedDecoration);
|
|
294
|
+
this._decorations.addDecoration(this.focusedDecoration);
|
|
295
|
+
this._decorations.addDecoration(this.contextMenuDecoration);
|
|
296
|
+
this._decorations.addDecoration(this.loadingDecoration);
|
|
297
|
+
}
|
|
298
|
+
removeNodeDecoration() {
|
|
299
|
+
if (!this.decorations) {
|
|
300
|
+
return;
|
|
301
|
+
}
|
|
302
|
+
this.decorations.removeDecoration(this.selectedDecoration);
|
|
303
|
+
this.decorations.removeDecoration(this.focusedDecoration);
|
|
304
|
+
this.decorations.removeDecoration(this.loadingDecoration);
|
|
305
|
+
this.decorations.removeDecoration(this.contextMenuDecoration);
|
|
306
|
+
}
|
|
307
|
+
handleTreeHandler(handle) {
|
|
308
|
+
this._debugVariablesTreeHandle = Object.assign(Object.assign({}, handle), { getModel: () => this.treeModel });
|
|
309
|
+
}
|
|
310
|
+
async copyEvaluateName(node) {
|
|
311
|
+
if (!node) {
|
|
312
|
+
return;
|
|
313
|
+
}
|
|
314
|
+
await this.clipboardService.writeText(node.evaluateName);
|
|
315
|
+
}
|
|
316
|
+
async copyValue(node) {
|
|
317
|
+
if (!node) {
|
|
318
|
+
return;
|
|
319
|
+
}
|
|
320
|
+
const getClipboardValue = async () => {
|
|
321
|
+
if (node.session && node.session.capabilities.supportsValueFormattingOptions) {
|
|
322
|
+
try {
|
|
323
|
+
const { variable: { evaluateName } } = node;
|
|
324
|
+
if (evaluateName) {
|
|
325
|
+
const body = await node.session.evaluate(evaluateName, 'clipboard');
|
|
326
|
+
if (body) {
|
|
327
|
+
return body.result;
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
return '';
|
|
331
|
+
}
|
|
332
|
+
catch (err) {
|
|
333
|
+
return '';
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
else {
|
|
337
|
+
return node.value;
|
|
338
|
+
}
|
|
339
|
+
};
|
|
340
|
+
const value = await getClipboardValue();
|
|
341
|
+
if (value) {
|
|
342
|
+
await this.clipboardService.writeText(value);
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
};
|
|
346
|
+
DebugVariablesModelService.DEFAULT_TRIGGER_DELAY = 200;
|
|
347
|
+
(0, tslib_1.__decorate)([
|
|
348
|
+
(0, di_1.Autowired)(di_1.INJECTOR_TOKEN),
|
|
349
|
+
(0, tslib_1.__metadata)("design:type", di_1.Injector)
|
|
350
|
+
], DebugVariablesModelService.prototype, "injector", void 0);
|
|
351
|
+
(0, tslib_1.__decorate)([
|
|
352
|
+
(0, di_1.Autowired)(next_1.ICtxMenuRenderer),
|
|
353
|
+
(0, tslib_1.__metadata)("design:type", next_1.ICtxMenuRenderer)
|
|
354
|
+
], DebugVariablesModelService.prototype, "ctxMenuRenderer", void 0);
|
|
355
|
+
(0, tslib_1.__decorate)([
|
|
356
|
+
(0, di_1.Autowired)(next_1.AbstractContextMenuService),
|
|
357
|
+
(0, tslib_1.__metadata)("design:type", next_1.AbstractContextMenuService)
|
|
358
|
+
], DebugVariablesModelService.prototype, "contextMenuService", void 0);
|
|
359
|
+
(0, tslib_1.__decorate)([
|
|
360
|
+
(0, di_1.Autowired)(debug_view_model_1.DebugViewModel),
|
|
361
|
+
(0, tslib_1.__metadata)("design:type", debug_view_model_1.DebugViewModel)
|
|
362
|
+
], DebugVariablesModelService.prototype, "viewModel", void 0);
|
|
363
|
+
(0, tslib_1.__decorate)([
|
|
364
|
+
(0, di_1.Autowired)(ide_core_browser_1.IClipboardService),
|
|
365
|
+
(0, tslib_1.__metadata)("design:type", Object)
|
|
366
|
+
], DebugVariablesModelService.prototype, "clipboardService", void 0);
|
|
367
|
+
(0, tslib_1.__decorate)([
|
|
368
|
+
(0, di_1.Autowired)(debug_contextkey_service_1.DebugContextKey),
|
|
369
|
+
(0, tslib_1.__metadata)("design:type", debug_contextkey_service_1.DebugContextKey)
|
|
370
|
+
], DebugVariablesModelService.prototype, "debugContextKey", void 0);
|
|
371
|
+
DebugVariablesModelService = DebugVariablesModelService_1 = (0, tslib_1.__decorate)([
|
|
372
|
+
(0, di_1.Injectable)(),
|
|
373
|
+
(0, tslib_1.__metadata)("design:paramtypes", [])
|
|
374
|
+
], DebugVariablesModelService);
|
|
375
|
+
exports.DebugVariablesModelService = DebugVariablesModelService;
|
|
376
|
+
//# sourceMappingURL=debug-variables-tree.model.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-variables-tree.model.service.js","sourceRoot":"","sources":["../../../../src/browser/view/variables/debug-variables-tree.model.service.ts"],"names":[],"mappings":";;;;;AAAA,2FAA+E;AAE/E,mCAAiC;AACjC,qCAA+E;AAC/E,6DAAsI;AACtI,iEAAiI;AACjI,mEAAgH;AAChH,mEAA8D;AAC9D,8EAA8J;AAC9J,0DAAqD;AAGrD,6GAAmD;AAQnD,MAAM,uBAAuB;IAE3B;QADQ,2BAAsB,GAAG,IAAI,GAAG,EAAsC,CAAC;IAC/D,CAAC;IAET,cAAc,CAAC,IAA+B;QACpD,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,sBAAsB,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAA,gBAAO,EAAC,CAAC,EAAE,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC;IACpG,CAAC;IAED,GAAG,CAAC,IAA+B;QACjC,MAAM,KAAK,GAAG,IAAI,CAAC,WAAW,EAAE,CAAC;QACjC,IAAI,KAAK,EAAE;YACT,MAAM,SAAS,GAAG,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;YAC5C,IAAI,SAAS,EAAE;gBACb,MAAM,UAAU,GAAG,IAAI,CAAC,sBAAsB,CAAC,GAAG,CAAC,SAAS,CAAE,CAAC;gBAC/D,IAAI,UAAoB,CAAC;gBACzB,IAAI,IAAI,CAAC,QAAQ,EAAE;oBACjB,UAAU,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,GAAG,CAAC,CAAC,GAAG,UAAU,EAAE,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC;iBAC5E;qBAAM;oBACL,UAAU,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,kBAAkB,CAAC,CAAC;iBACtE;gBACD,IAAI,CAAC,sBAAsB,CAAC,GAAG,CAAC,SAAS,EAAE,UAA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IAAI,EAAE;4BACR,OAAO,IAAI,CAAC,MAAM,CAAC;yBACpB;qBACF;oBACD,OAAO,EAAE,CAAC;iBACX;gBAAC,OAAO,GAAG,EAAE;oBACZ,OAAO,EAAE,CAAC;iBACX;aACF;iBAAM;gBACL,OAAO,IAAI,CAAC,KAAK,CAAC;aACnB;QACH,CAAC,CAAC;QACF,MAAM,KAAK,GAAG,MAAM,iBAAiB,EAAE,CAAC;QACxC,IAAI,KAAK,EAAE;YACT,MAAM,IAAI,CAAC,gBAAgB,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;SAC9C;IACH,CAAC;CACF,CAAA;AApWgB,gDAAqB,GAAG,GAAI,CAAA;AAG3C;IADC,IAAA,cAAS,EAAC,mBAAc,CAAC;2CACC,aAAQ;4DAAC;AAGpC;IADC,IAAA,cAAS,EAAC,uBAAgB,CAAC;2CACM,uBAAgB;mEAAC;AAGnD;IADC,IAAA,cAAS,EAAC,iCAA0B,CAAC;2CACD,iCAA0B;sEAAC;AAGhE;IADC,IAAA,cAAS,EAAC,iCAAc,CAAC;2CACI,iCAAc;6DAAC;AAG7C;IADC,IAAA,cAAS,EAAC,oCAAiB,CAAC;;oEACwB;AAGrD;IADC,IAAA,cAAS,EAAC,0CAAe,CAAC;2CACO,0CAAe;mEAAC;AAnBvC,0BAA0B;IADtC,IAAA,eAAU,GAAE;;GACA,0BAA0B,CAqWtC;AArWY,gEAA0B"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { MenuContribution, IMenuRegistry } from '@opensumi/ide-core-browser/lib/menu/next';
|
|
2
|
+
import { CommandContribution, CommandRegistry } from '@opensumi/ide-core-browser';
|
|
3
|
+
import { WorkbenchEditorService } from '@opensumi/ide-editor/lib/browser';
|
|
4
|
+
export declare class VariablesPanelContribution implements MenuContribution, CommandContribution {
|
|
5
|
+
private readonly quickInputService;
|
|
6
|
+
private readonly debugVariablesModelService;
|
|
7
|
+
private readonly debugWatchModelService;
|
|
8
|
+
protected readonly workbenchEditorService: WorkbenchEditorService;
|
|
9
|
+
private readonly messageService;
|
|
10
|
+
private readonly reporterService;
|
|
11
|
+
registerCommands(registry: CommandRegistry): void;
|
|
12
|
+
registerMenus(registry: IMenuRegistry): void;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=debug-variables.contribution.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-variables.contribution.d.ts","sourceRoot":"","sources":["../../../../src/browser/view/variables/debug-variables.contribution.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAU,MAAM,0CAA0C,CAAC;AAEnG,OAAO,EAAU,mBAAmB,EAAE,eAAe,EAAkD,MAAM,4BAA4B,CAAC;AAM1I,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAC1E,qBACa,0BAA2B,YAAW,gBAAgB,EAAE,mBAAmB;IAEtF,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAqB;IAGvD,OAAO,CAAC,QAAQ,CAAC,0BAA0B,CAA6B;IAGxE,OAAO,CAAC,QAAQ,CAAC,sBAAsB,CAAyB;IAGhE,SAAS,CAAC,QAAQ,CAAC,sBAAsB,EAAE,sBAAsB,CAAC;IAGlE,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAkB;IAGjD,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAmB;IAEnD,gBAAgB,CAAC,QAAQ,EAAE,eAAe;IAgE1C,aAAa,CAAC,QAAQ,EAAE,aAAa;CA8CtC"}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VariablesPanelContribution = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const ide_core_common_1 = require("@opensumi/ide-core-common");
|
|
6
|
+
const contextkey_1 = require("@opensumi/monaco-editor-core/esm/vs/platform/contextkey/common/contextkey");
|
|
7
|
+
const editorContextKeys_1 = require("@opensumi/monaco-editor-core/esm/vs/editor/common/editorContextKeys");
|
|
8
|
+
const constants_1 = require("./../../../common/constants");
|
|
9
|
+
const next_1 = require("@opensumi/ide-core-browser/lib/menu/next");
|
|
10
|
+
const di_1 = require("@opensumi/di");
|
|
11
|
+
const ide_core_browser_1 = require("@opensumi/ide-core-browser");
|
|
12
|
+
const debug_variables_tree_model_service_1 = require("./debug-variables-tree.model.service");
|
|
13
|
+
const debug_contribution_1 = require("../../debug-contribution");
|
|
14
|
+
const ide_overlay_1 = require("@opensumi/ide-overlay");
|
|
15
|
+
const common_1 = require("../../../common");
|
|
16
|
+
const debug_watch_tree_model_service_1 = require("./../watch/debug-watch-tree.model.service");
|
|
17
|
+
const browser_1 = require("@opensumi/ide-editor/lib/browser");
|
|
18
|
+
let VariablesPanelContribution = class VariablesPanelContribution {
|
|
19
|
+
registerCommands(registry) {
|
|
20
|
+
registry.registerCommand(debug_contribution_1.DEBUG_COMMANDS.SET_VARIABLE_VALUE, {
|
|
21
|
+
execute: async () => {
|
|
22
|
+
var _a;
|
|
23
|
+
this.reporterService.point(common_1.DEBUG_REPORT_NAME === null || common_1.DEBUG_REPORT_NAME === void 0 ? void 0 : common_1.DEBUG_REPORT_NAME.DEBUG_VARIABLES, debug_contribution_1.DEBUG_COMMANDS.SET_VARIABLE_VALUE.id);
|
|
24
|
+
const { currentVariableInternalContext: node } = this.debugVariablesModelService;
|
|
25
|
+
if (!node) {
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
const param = await this.quickInputService.open({
|
|
29
|
+
placeHolder: (0, ide_core_browser_1.localize)('deugger.menu.setValue.param'),
|
|
30
|
+
value: node.description.replace(/^\"(.*)\"$/, '$1'),
|
|
31
|
+
});
|
|
32
|
+
if (param !== undefined && param !== null) {
|
|
33
|
+
// 设置值
|
|
34
|
+
try {
|
|
35
|
+
await node.setValue(param);
|
|
36
|
+
}
|
|
37
|
+
catch (e) {
|
|
38
|
+
this.messageService.error(e.message);
|
|
39
|
+
}
|
|
40
|
+
(_a = this.debugVariablesModelService.treeModel) === null || _a === void 0 ? void 0 : _a.dispatchChange();
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
});
|
|
44
|
+
registry.registerCommand(debug_contribution_1.DEBUG_COMMANDS.COPY_VARIABLE_VALUE, {
|
|
45
|
+
execute: async () => {
|
|
46
|
+
const { currentVariableInternalContext: node } = this.debugVariablesModelService;
|
|
47
|
+
this.debugVariablesModelService.copyValue(node);
|
|
48
|
+
},
|
|
49
|
+
});
|
|
50
|
+
registry.registerCommand(debug_contribution_1.DEBUG_COMMANDS.COPY_EVALUATE_PATH, {
|
|
51
|
+
execute: async () => {
|
|
52
|
+
const { currentVariableInternalContext: node } = this.debugVariablesModelService;
|
|
53
|
+
this.debugVariablesModelService.copyEvaluateName(node);
|
|
54
|
+
},
|
|
55
|
+
});
|
|
56
|
+
registry.registerCommand(debug_contribution_1.DEBUG_COMMANDS.ADD_TO_WATCH_ID, {
|
|
57
|
+
execute: async (node) => {
|
|
58
|
+
const { currentVariableInternalContext } = this.debugVariablesModelService;
|
|
59
|
+
if (node instanceof ide_core_common_1.URI) {
|
|
60
|
+
// 说明是从编辑器的选中区域来监听表达式
|
|
61
|
+
const currentEditor = this.workbenchEditorService.currentEditor;
|
|
62
|
+
if (!(currentEditor === null || currentEditor === void 0 ? void 0 : currentEditor.monacoEditor)) {
|
|
63
|
+
return;
|
|
64
|
+
}
|
|
65
|
+
if (!(currentEditor === null || currentEditor === void 0 ? void 0 : currentEditor.monacoEditor.hasModel())) {
|
|
66
|
+
return;
|
|
67
|
+
}
|
|
68
|
+
const editor = currentEditor.monacoEditor;
|
|
69
|
+
const text = editor.getModel().getValueInRange(editor.getSelection());
|
|
70
|
+
this.debugWatchModelService.addWatchExpression(text);
|
|
71
|
+
return;
|
|
72
|
+
}
|
|
73
|
+
else if (currentVariableInternalContext) {
|
|
74
|
+
this.debugWatchModelService.addWatchExpression(currentVariableInternalContext.evaluateName);
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
registerMenus(registry) {
|
|
80
|
+
var _a;
|
|
81
|
+
registry.registerMenuItem(next_1.MenuId.DebugVariablesContext, {
|
|
82
|
+
command: {
|
|
83
|
+
id: debug_contribution_1.DEBUG_COMMANDS.SET_VARIABLE_VALUE.id,
|
|
84
|
+
label: (0, ide_core_browser_1.localize)('deugger.menu.setValue'),
|
|
85
|
+
},
|
|
86
|
+
order: 10,
|
|
87
|
+
when: constants_1.CONTEXT_SET_VARIABLE_SUPPORTED.raw,
|
|
88
|
+
group: '3_modification',
|
|
89
|
+
});
|
|
90
|
+
registry.registerMenuItem(next_1.MenuId.DebugVariablesContext, {
|
|
91
|
+
command: {
|
|
92
|
+
id: debug_contribution_1.DEBUG_COMMANDS.COPY_VARIABLE_VALUE.id,
|
|
93
|
+
label: (0, ide_core_browser_1.localize)('deugger.menu.copyValue'),
|
|
94
|
+
},
|
|
95
|
+
order: 10,
|
|
96
|
+
group: '5_cutcopypaste',
|
|
97
|
+
});
|
|
98
|
+
registry.registerMenuItem(next_1.MenuId.DebugVariablesContext, {
|
|
99
|
+
command: {
|
|
100
|
+
id: debug_contribution_1.DEBUG_COMMANDS.COPY_EVALUATE_PATH.id,
|
|
101
|
+
label: (0, ide_core_browser_1.localize)('deugger.menu.copyEvaluatePath'),
|
|
102
|
+
},
|
|
103
|
+
when: constants_1.CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT.raw,
|
|
104
|
+
order: 20,
|
|
105
|
+
group: '5_cutcopypaste',
|
|
106
|
+
});
|
|
107
|
+
registry.registerMenuItem(next_1.MenuId.DebugVariablesContext, {
|
|
108
|
+
command: {
|
|
109
|
+
id: debug_contribution_1.DEBUG_COMMANDS.ADD_TO_WATCH_ID.id,
|
|
110
|
+
label: (0, ide_core_browser_1.localize)('deugger.menu.addToWatchExpressions'),
|
|
111
|
+
},
|
|
112
|
+
when: constants_1.CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT.raw,
|
|
113
|
+
order: 100,
|
|
114
|
+
group: 'z_commands',
|
|
115
|
+
});
|
|
116
|
+
registry.registerMenuItem(next_1.MenuId.EditorContext, {
|
|
117
|
+
command: {
|
|
118
|
+
id: debug_contribution_1.DEBUG_COMMANDS.ADD_TO_WATCH_ID.id,
|
|
119
|
+
label: (0, ide_core_browser_1.localize)('deugger.menu.addToWatchExpressions'),
|
|
120
|
+
},
|
|
121
|
+
when: (_a = contextkey_1.ContextKeyExpr.and(editorContextKeys_1.EditorContextKeys.hasNonEmptySelection, editorContextKeys_1.EditorContextKeys.editorTextFocus)) === null || _a === void 0 ? void 0 : _a.keys().reduce((p, c) => p + ' && ' + c, constants_1.CONTEXT_IN_DEBUG_MODE.raw),
|
|
122
|
+
group: 'debug',
|
|
123
|
+
order: 1,
|
|
124
|
+
});
|
|
125
|
+
}
|
|
126
|
+
};
|
|
127
|
+
(0, tslib_1.__decorate)([
|
|
128
|
+
(0, di_1.Autowired)(ide_core_browser_1.IQuickInputService),
|
|
129
|
+
(0, tslib_1.__metadata)("design:type", Object)
|
|
130
|
+
], VariablesPanelContribution.prototype, "quickInputService", void 0);
|
|
131
|
+
(0, tslib_1.__decorate)([
|
|
132
|
+
(0, di_1.Autowired)(debug_variables_tree_model_service_1.DebugVariablesModelService),
|
|
133
|
+
(0, tslib_1.__metadata)("design:type", debug_variables_tree_model_service_1.DebugVariablesModelService)
|
|
134
|
+
], VariablesPanelContribution.prototype, "debugVariablesModelService", void 0);
|
|
135
|
+
(0, tslib_1.__decorate)([
|
|
136
|
+
(0, di_1.Autowired)(debug_watch_tree_model_service_1.DebugWatchModelService),
|
|
137
|
+
(0, tslib_1.__metadata)("design:type", debug_watch_tree_model_service_1.DebugWatchModelService)
|
|
138
|
+
], VariablesPanelContribution.prototype, "debugWatchModelService", void 0);
|
|
139
|
+
(0, tslib_1.__decorate)([
|
|
140
|
+
(0, di_1.Autowired)(browser_1.WorkbenchEditorService),
|
|
141
|
+
(0, tslib_1.__metadata)("design:type", browser_1.WorkbenchEditorService)
|
|
142
|
+
], VariablesPanelContribution.prototype, "workbenchEditorService", void 0);
|
|
143
|
+
(0, tslib_1.__decorate)([
|
|
144
|
+
(0, di_1.Autowired)(ide_overlay_1.IMessageService),
|
|
145
|
+
(0, tslib_1.__metadata)("design:type", Object)
|
|
146
|
+
], VariablesPanelContribution.prototype, "messageService", void 0);
|
|
147
|
+
(0, tslib_1.__decorate)([
|
|
148
|
+
(0, di_1.Autowired)(ide_core_browser_1.IReporterService),
|
|
149
|
+
(0, tslib_1.__metadata)("design:type", Object)
|
|
150
|
+
], VariablesPanelContribution.prototype, "reporterService", void 0);
|
|
151
|
+
VariablesPanelContribution = (0, tslib_1.__decorate)([
|
|
152
|
+
(0, ide_core_browser_1.Domain)(next_1.MenuContribution, ide_core_browser_1.CommandContribution)
|
|
153
|
+
], VariablesPanelContribution);
|
|
154
|
+
exports.VariablesPanelContribution = VariablesPanelContribution;
|
|
155
|
+
//# sourceMappingURL=debug-variables.contribution.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug-variables.contribution.js","sourceRoot":"","sources":["../../../../src/browser/view/variables/debug-variables.contribution.ts"],"names":[],"mappings":";;;;AACA,+DAAgD;AAChD,0GAA2G;AAC3G,2GAAwG;AACxG,2DAA4I;AAC5I,mEAAmG;AACnG,qCAAyC;AACzC,iEAA0I;AAC1I,6FAAkF;AAClF,iEAA0D;AAC1D,uDAAwD;AACxD,4CAAoD;AACpD,8FAAmF;AACnF,8DAA0E;AAE1E,IAAa,0BAA0B,GAAvC,MAAa,0BAA0B;IAmBrC,gBAAgB,CAAC,QAAyB;QACxC,QAAQ,CAAC,eAAe,CAAC,mCAAc,CAAC,kBAAkB,EAAE;YAC1D,OAAO,EAAE,KAAK,IAAI,EAAE;;gBAClB,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,0BAAiB,aAAjB,0BAAiB,uBAAjB,0BAAiB,CA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