Skip to content

After upgrading to NUnit 3.13.0 the debugger enters NUnit code despite having checked "Enable Just My Code" #3745

Closed
@mikkelbu

Description

@mikkelbu

This issue was originally reported by Mike in https://groups.google.com/g/nunit-discuss/c/f2yV4G_kdi8/m/ypWZfLSEDgAJ

I recently started having an issue when debugging tests after upgrading to the new 3.13.0 version. Using Visual Studio, it treats nunit.framework.dll as "User Code" and steps into each step of code. This did not happen when using 3.12.0, and I've uninstalled, reinstalled, deleted the NuGet package numerous times. When I downgrade back to 3.12.0, it's resolved, and then if I try and upgrade again -- same problem.

I guess the problem was introduced by #3464, and @jnm2 proposed the following as a solution

I'm in favor of moving to the snupkg format then, since that uses the well-known nuget.org symbol server that has been built into VS for a while.

EDIT: Also reported to Microsoft in https://developercommunity2.visualstudio.com/t/The-debugger-enters-code-in-PackageRefer/1321266

Metadata

Metadata

Assignees

Labels

is:bugpri:criticalUse this to indicate a hotfix may be necessary

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions