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

Option to disable automatic updating of watch window #501

Open
Roy-Orbison opened this issue Feb 25, 2021 · 0 comments
Open

Option to disable automatic updating of watch window #501

Roy-Orbison opened this issue Feb 25, 2021 · 0 comments

Comments

@Roy-Orbison
Copy link
Contributor

I have a PHP class that will crash Vim whenever I debug code that uses it. I get a slew of errors that point at Vdebug's python code but I don't know what the true cause is. It doesn't make a difference if I step over it or into it, Vim will choke. I recently discovered that by first executing :VdebugEval! $not_a_real_var, it stops crashing. xdebug.show_local_vars exists and is disabled by default for good reason, so it doesn't make sense that Vdebug voids it by always reading context. My workaround is hacky and I'd prefer an official method of preventing auto-update of the watch window. Hitting F11 or F12 should always cause an update, and the window itself would probably need a message added to indicate it's off. Something like this:

let g:vdebug_options.freeze_context = 1
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

No branches or pull requests

1 participant