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

Disabling implicit evaluation of properties and functions during debugging #3173

Closed
anuchandy opened this issue Jul 13, 2019 · 3 comments
Closed

Comments

@anuchandy
Copy link

Do we've equivalent to visual studio option Debugging > General > Enable property evaluation and other implicit function calls? I'm looking for a way to disable implicit evaluation of properties and functions.

Visual studio doc for this is here: https://docs.microsoft.com/en-us/visualstudio/debugger/error-evaluating-the-function-process-exited?view=vs-2019#solution-2-disable-all-implicit-evaluation

@gregg-miskelly
Copy link
Contributor

Unfortunately, no, we don't have an option to set this in VS Code. Though we definitely should.

@gregg-miskelly gregg-miskelly added this to the 1.22 milestone Jul 15, 2019
@gregg-miskelly
Copy link
Contributor

Implementation note: the fix for this is to set DkmEvaluationFlags::NoFuncEval

@gregg-miskelly
Copy link
Contributor

In the next version of the C# extension, this can be controlled using the following in launch.json, or the identically named VS Code user preference.

    "expressionEvaluationOptions":{
        "allowImplicitFuncEval": false
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants