Skip to content

VSCode No Symbols Loaded for Full .NET Debugging With IIS #2130

@dforsyth-iit

Description

@dforsyth-iit

Environment data

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

Product Information:
Version: 2.1.101
Commit SHA-1 hash: 6c22303bf0

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

Microsoft .NET Core Shared Framework Host

Version : 2.0.6
Build : 74b1c703813c8910df5b96f304b0f2b78cdf194d`

VS Code version: 1.21.1
C# Extension version: 1.14.0

Steps to reproduce

Using the following launch.json:
{ // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { "name": ".NET Attach", "type": "clr", "request": "attach", "processName": "w3wp" } ] }

And attaching to an already running IIS process, the same as I would do for full Visual Studio.

Expected behavior

Can step through and debug as with full Visual Studio

Actual behavior

No breakpoints are active, and they all say "Unverified breakpoint, No symbols have been loaded for this document."

In the debug console, I get messages saying it's skipping loading symbols for all the standard .NET libraries, but I can't find any of my libraries in the output.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions