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

Debugger: Allow disabling auto interpreting #616

Merged

Conversation

axelson
Copy link
Member

@axelson axelson commented Oct 30, 2021

On larger projects, the overhead of interpreting all the modules in the project (including all dependencies) causes an unbearable slowdown.

This commit makes it possible to disable the auto interpreting of modules and instead rely on files that are in requireFiles (which are interpreted)

WARNING: Any modules that don't have a breakpoint and are not in requireFiles cannot be stepped into while debugging.

TODO:

Fixes #615

On larger projects, the overhead of interpreting all the modules in the
project (including all dependencies) causes an unbearable slowdown.

This commit makes it possible to disable the auto interpreting of
modules and instead rely on files that are in `requireFiles` (which are
interpreted)

Fixes elixir-lsp#615
@axelson axelson force-pushed the debugger-configure-auto-interpret branch from cf94af0 to ee9ed37 Compare November 14, 2021 22:14
axelson added a commit to axelson/vscode-elixir-ls that referenced this pull request Nov 14, 2021
Adds `debugAutoInterpretAllModules` and `debugInterpretModulesPatterns`

Related to elixir-lsp/elixir-ls#616
@lukaszsamson lukaszsamson merged commit e37d142 into elixir-lsp:master Dec 13, 2021
@axelson axelson deleted the debugger-configure-auto-interpret branch December 13, 2021 23:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature?: Only Interpret Required Files & Modules With Breakpoints
2 participants