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

Unable to breakpoint and debug cshtml #1828

Closed
jimmy3912msncom opened this issue Oct 31, 2017 · 1 comment
Closed

Unable to breakpoint and debug cshtml #1828

jimmy3912msncom opened this issue Oct 31, 2017 · 1 comment

Comments

@jimmy3912msncom
Copy link

Environment data

dotnet --info output:
.NET Command Line Tools (2.0.2)

Product Information:
Version: 2.0.2
Commit SHA-1 hash: a04b4bf512

Runtime Environment:
OS Name: Windows
OS Version: 10.0.16299
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\2.0.2\

Microsoft .NET Core Shared Framework Host

Version : 2.0.0
Build : e8b8861ac7faf042c87a5c2f9f2d04c98b69f28d
VS Code version: 1.17.2
C# Extension version: 1.12.1

Steps to reproduce

  1. Create a vanilla mvc project using "dotnet new mvc --auth None"
  2. Start debugging the application from Visual Studio Code
  3. Attempt to breakpoint in cshtml but fails to set with "No symbols have been loaded for this document." cs file debugging works though

Expected behavior

Debugging should work from cshtml

Actual behavior

The set breakpoint is greyed out and hovering over it gives: "No symbols have been loaded for this document." When it hits the code path, the breakpoint doesn't get hit in the cshtml file.

@gregg-miskelly
Copy link
Contributor

This is a duplicate of #1816

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

2 participants