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

No grouped output when not single stepping #91416

Closed
weinand opened this issue Feb 25, 2020 · 1 comment
Closed

No grouped output when not single stepping #91416

weinand opened this issue Feb 25, 2020 · 1 comment
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug debug Debug viewlet, configurations, breakpoints, adapter issues verified Verification succeeded
Milestone

Comments

@weinand
Copy link
Contributor

weinand commented Feb 25, 2020

Testing #91095:

  • use vscode-mock-debug project
  • change the code in mockDebug.ts:85 to
      		if (text === 'start' || text === 'startCollapsed') {
      			e.body.group = text;
      			e.body.output = `group-${text}\n`;
      		}
      		if (text === 'end') {
      			e.body.group = text;
      			e.body.output = ``;
      		}
  • use a readme.md file with this content:
    log(start)
    log(arbitrary line of text)
    log(start)
    log(arbitrary line of text level 2)
    log(another line of text level 2)
    log(end)
    log(another line of text)
    log(end)
    
  • run the mock session with F5
  • step through the test input line by line

Observe:
grouped output works fine:
2020-02-25_17-45-23

  • stop debug session
  • set a breakpoint after the log statements
  • start debug session and continue (in one go) to the breakpoint

Observe:
grouped output no longer works:
2020-02-25_17-49-49

The group nodes are empty and all log statements are listed flat.

@weinand weinand added the debug Debug viewlet, configurations, breakpoints, adapter issues label Feb 25, 2020
@isidorn isidorn added this to the February 2020 milestone Feb 25, 2020
@isidorn isidorn added the bug Issue identified by VS Code Team member as probable bug label Feb 26, 2020
@weinand weinand added the verified Verification succeeded label Feb 27, 2020
@weinand
Copy link
Contributor Author

weinand commented Feb 27, 2020

The grouping works fine now:

2020-02-27_14-55-39

But now groups are not auto-expanded on any level (see #91417).

@github-actions github-actions bot locked and limited conversation to collaborators Apr 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug debug Debug viewlet, configurations, breakpoints, adapter issues verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

2 participants