Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test: loaded scripts explorer #31327

Closed
3 tasks done
weinand opened this issue Jul 24, 2017 · 1 comment
Closed
3 tasks done

Test: loaded scripts explorer #31327

weinand opened this issue Jul 24, 2017 · 1 comment
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues testplan-item
Milestone

Comments

@weinand
Copy link
Contributor

weinand commented Jul 24, 2017

Test for #28521 and #31002:

Complexity: 3

Previously loaded scripts could only be accessed via the "Open Loaded Script" action which uses a QuickPick UI.
With the new "Loaded Scripts" explorer it is possible to view and select loaded scripts in an explorer section in the debug viewlet.

Verify for both "legacy" and "inspector" protocols:

  • the "Loaded Scripts" explorer is only visible if a node debug session is active
  • the explorer shows new scripts as they are loaded
  • scripts show up under the correct top level nodes:
    • first come the workspace root folders,
    • then scripts outside of the workspace
      • scripts under the user's home directory are abbreviated to '~' in linux and macOS
    • then internal node scripts
  • scripts show up under the correct top level nodes for (legacy) single folder workspaces and in non-folder mode
  • scripts in the explorer have the same path as the scripts shown in the QuickPick UI
  • if more than one debug session is active, the explorer shows session nodes (which will not disappear if the number of debug sessions drops below two).
  • selecting a leaf opens the script in a read only editor
@joaomoreno
Copy link
Member

Due to #31523, I couldn't get very far. This should get more testing next week. 👍

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues testplan-item
Projects
None yet
Development

No branches or pull requests

4 participants