Debugger: Conditional breakpoint not supported by this debug type
See original GitHub issueEnvironment data
dotnet --info
output:
VS Code version:
C# Extension version:
Steps to reproduce
1 Add a conditional breakpoint at line of " _appSettings = options.Value; " in HomeController.cs
and edit that breakpoint with condition of “1<0”
2 Press F5 to start debugging
Expected behavior
The conditional breakpoint I just added shouldn’t be hit in editor window. I input a false expression, so the breakpoint would not be hit.
Actual behavior
The conditional breakpoint would be hit and error message show “Conditional breakpoints not supported by this debug type”. I don’t know whether the conditional breakpoint is supported on CoreCLR.
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Error when using a conditional breakpoint on System.Type
The error returned was 'Inspecting the state of an object in the debuggee of type System.Type is not supported in this context.'. Click...
Read more >Conditional breakpoints do not work on generic values
Set a conditional breakpoint on the line `Console.WriteLine(t)`, set the condition to `t == 3`. Try debugging the code. Observe the following error...
Read more >Use breakpoints in the Visual Studio debugger - Microsoft Learn
To open the Breakpoints window, select Debug > Windows > Breakpoints, or press Ctrl+Alt+B.
Read more >Debugging Tutorial 1 – Introduction: Conditional Breakpoints
In this series I'll walk you through the process of debugging applications and finding issues within them. As we debug we'll cover the ......
Read more >Set Breakpoints - MATLAB & Simulink - MathWorks
When debugging a file that contains a loop, set the breakpoint inside the loop to examine ... Setting error breakpoints is not supported...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Is it already available, because as of now, April 2017. conditional breakpoints are not working with Unity.
Going with what @xCyborg said. I’m not able to use conditional breakpoints with Unity 5.4.3f1. Is this an issue with this extension or the Debugger for Unity extension?