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

xunit.v3 tests under debug don't pause at breakpoint #2045

Open
aggieben opened this issue Oct 15, 2024 · 0 comments
Open

xunit.v3 tests under debug don't pause at breakpoint #2045

aggieben opened this issue Oct 15, 2024 · 0 comments

Comments

@aggieben
Copy link
Contributor

Describe the bug

In an F♯ project being tested via xunit.v3 (tests also written in F♯), breakpoints aren't respected. The test runs with correct output, the debugger attaches to the running test process and shows some threads, but breakpoints aren't hit. When the test starts, my breakpoint goes empty/gray like you expect, and then it seems to get resolved (turns back red), and it even moves a line because of where executable code is, but it never actually pauses execution.

This was working with xunit v2, but I have no idea what the difference is as it might pertain to the debugger.

Expected behaviour

The debugger pauses execution on a breakpoint as expected

Machine info

  • OS: Windows 11
  • .NET SDK version: [e.g. 8.0.403]
  • Ionide version: 7.21.2

I'm happy to gather whatever information might be useful; I just can't post the complete sources.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant