Skip to content

The generated PDB has issues - stackframe switching is not supported. #3633

@sonyps5201314

Description

@sonyps5201314

Set a breakpoint in the corresponding source code and trigger it, as shown below:

Image

When switching the current stack frame in the Call Stack, Visual Studio fails to navigate to the C# file—even though the source code clearly exists (just like the top frame, it comes from the same ILSpy-generated C# project). Furthermore, the language type changes to "Unknown", as shown below:

Image

However, I tested this with dotPeek and did not encounter this issue.
Moreover, it supports generating the PDB file simultaneously when generating the source project, whereas ILSpy requires generating them separately.
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions