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: noCompact flag in the debugSessionOptions #101009

Closed
2 tasks done
isidorn opened this issue Jun 25, 2020 · 0 comments
Closed
2 tasks done

Test: noCompact flag in the debugSessionOptions #101009

isidorn opened this issue Jun 25, 2020 · 0 comments
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues testplan-item
Milestone

Comments

@isidorn
Copy link
Contributor

isidorn commented Jun 25, 2020

Refs: #100852

Complexity: 3

Create Issue


We have introduced a new noCompact flag to the debugSessionOptions API. So get a VS Code starter extension, call the startDebugging api and pass the DebugSessionOptions such that you can verify the noCompact flag works as expected. For that you would have to call the startDebugging API twice and the second time pass a parentSession that you originaly created to establish a child - parent session relationship.

Verify:

  • if noCompact is present and set to true, the session shuold never be compacted with it's parent session
  • if noCompact is set to false or not set at all the session should be compacted with it's parent session
  • When sessions are compacted they are displayed as one element in the CALL STACK view

Please note that there is an additional test item about the CALL STACK view and the compacted elements. This one should only focus on testing the API.

Note: a simple way to use the startDebugging api is to simply pass the workspace folder and the name of an already existing launch configuration in your launch.json.

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

3 participants