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: noDebug and compact debugSessionOptions flags finalized #104986

Closed
1 task done
isidorn opened this issue Aug 19, 2020 · 1 comment
Closed
1 task done

Test: noDebug and compact debugSessionOptions flags finalized #104986

isidorn opened this issue Aug 19, 2020 · 1 comment
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues testplan-item
Milestone

Comments

@isidorn
Copy link
Contributor

isidorn commented Aug 19, 2020

Refs: #99743
Refs: #100852

Complexity: 3

Create Issue


We have finalized the new noDebug and compact flag to the debugSessionOptions API. So get a VS Code starter extension that only uses the final api (not proposed), call the startDebugging api and pass the DebugSessionOptions such that you can verify the noDebug and compact flag work as expected:

  • if noDebug is present and set to true, no breakpoints should be hit when running the program
  • if noDebug is set to false, breakpoints should be respected and hit
  • if noDebug is not set the sessions should respect whatever was set to its parent session (if it exists).
  • 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

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.

@isidorn isidorn added debug Debug viewlet, configurations, breakpoints, adapter issues testplan-item labels Aug 19, 2020
@isidorn isidorn added this to the August 2020 milestone Aug 19, 2020
@microsoft microsoft deleted a comment from github-actions bot Aug 19, 2020
@weinand weinand self-assigned this Aug 19, 2020
@weinand
Copy link
Contributor

weinand commented Sep 1, 2020

Both flags work fine.

@weinand weinand removed their assignment Sep 1, 2020
@weinand weinand closed this as completed Sep 1, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Oct 16, 2020
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

2 participants