question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Debugger: Conditional breakpoint not supported by this debug type

See original GitHub issue

Environment 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:closed
  • Created 7 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
xCyborgcommented, Apr 5, 2017

Is it already available, because as of now, April 2017. conditional breakpoints are not working with Unity.

1reaction
AlejandroHuertacommented, Aug 3, 2017

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?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found