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.

I can't hit the break point in VS code

See original GitHub issue

Environment data----Ubuntu OS

dotnet --info output:

VS Code version: Version 1.1.1 Commit def9e32467ad6e4f48787d38caf190acbfee5880 Date 2016-05-13T13:38:00.094Z Shell 0.37.6 Renderer 49.0.2623.75 Node 5.10.0

C# Extension version: latest one

Steps to reproduce

I have launch my progress, but I can hit the breakpoints

Expected behavior

Actual behavior

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:17 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
troydaicommented, Jun 22, 2016

The test discovery is fine. The actual issue here really is: https://github.com/OmniSharp/omnisharp-vscode/issues/453

After moving the test file to the same level as project.json both run and debug works fine for me: screen shot 2016-06-22 at 11 57 05 am

0reactions
troydaicommented, Jun 22, 2016

@BingyuLiu please check my test project here: https://github.com/troydai/MyDotNetApplicatoin/tree/fix

I’ll close this issue for now since it is partial duplicate, partial no repo. Please keep tracking issue #453, which I’m currently working on.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Debugging in Visual Studio Code
One of the great things in Visual Studio Code is debugging support. Set breakpoints, step-in, inspect variables and more.
Read more >
Visual Studio Code - Node debugger breakpoints not being hit
If I set a breakpoint on a file I open through the VSCode editor the breakpoint is greyed out and when I hover...
Read more >
break point not working · Issue #132119 · microsoft/vscode
It looks like you're starting your program with "Run Without Debugging" (i.e. not in debug mode). This prevents breakpoints from being bound -- ......
Read more >
Help! I can't set a breakpoint | Debugging PHP in VS Code ...
Shoutout to Carlos S Yosi (https://www.youtube.com/channel/UCJigMRvJ3hMMV2L38mgz8xQ) for finding the solution!This is a follow-up to my ...
Read more >
How to Use Breakpoints in VS Code - Alphr
Inline breakpoints are only hit when code execution arrives at the column connected to your inline breakpoint. They are especially helpful when ...
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