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 slow variables and call stack improvements #6658

Closed
1 task done
weinand opened this issue May 23, 2016 · 0 comments
Closed
1 task done

Test slow variables and call stack improvements #6658

weinand opened this issue May 23, 2016 · 0 comments

Comments

@weinand
Copy link
Contributor

weinand commented May 23, 2016

Test for #5645:

For improving the stepping experience for programs with lots of local variables, we've made the following adjustments:

  • if a scope has more than 100 local variables, VS Code no longer auto expands that scope
  • after the user has expanded the scope only the first 100 local variables are shown.
  • in both cases the name of the scope reflects the fact that there many locals and only a subset is shown.

Verify that the following use case from the TypeScript transpiler works smoother:

  1. git clone https://github.com/Microsoft/TypeScript.git
  2. npm install, npm install jake
  3. jake local
  4. set breakpoint in checker.ts:47
  5. Use the following launch.json. Please notice that you replace <<>> with a valid path.
  6. Launch and single step through checker.ts.

Verify that stepping is reasonable fast.

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Launch",
            "type": "node",
            "request": "launch",
            "program": "${workspaceRoot}/src/compiler/tsc.ts",
            "args": ["<<<PATH TO ANY TS FILE>>>"],
            "cwd": "${workspaceRoot}",
            "runtimeArgs": [
                "--nolazy"
            ],
            "sourceMaps": true,
            "outDir": "${workspaceRoot}/built/local"
        }
    ]
}

If this works for you please add the VERIFIED label to #5645.

@weinand weinand added this to the May 2016 milestone May 23, 2016
@weinand weinand self-assigned this May 23, 2016
@egamma egamma mentioned this issue May 23, 2016
87 tasks
@weinand weinand removed their assignment May 23, 2016
@isidorn isidorn closed this as completed May 24, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants