You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having trouble getting breakpoints to work when running tests.
They work fine when running a main class.
video exampleScreen.Recording.2023-04-28.at.11.32.16.mov
However when running a test, the debugger stop, but nothing shows up in the dap ui (frames, scopes etc.). When I resume the session the test runner resumes normally.
video exampleScreen.Recording.2023-04-28.at.11.31.16.mov
Everything works fine in VSCode:
video exampleScreen.Recording.2023-04-28.at.11.37.53.mov
In another repository I get a "breakpointRejected" message, but I couldn't find any information about where that can come from.
Expected behavior
the debugger should stop at breakpoints normally when running tests.
Thanks for the report @kimlai. I'll need to dig in and look at the DAP communication for this to see what's going on. I'll report back when I have some time to look at it.
Describe the bug
Hello,
I'm having trouble getting breakpoints to work when running tests.
They work fine when running a main class.
video example
Screen.Recording.2023-04-28.at.11.32.16.mov
However when running a test, the debugger stop, but nothing shows up in the dap ui (frames, scopes etc.). When I resume the session the test runner resumes normally.
video example
Screen.Recording.2023-04-28.at.11.31.16.mov
Everything works fine in VSCode:
video example
Screen.Recording.2023-04-28.at.11.37.53.mov
In another repository I get a "breakpointRejected" message, but I couldn't find any information about where that can come from.
Expected behavior
the debugger should stop at breakpoints normally when running tests.
Operating system
macOS
Version of Metals
scalameta/metals@24790ce
Commit of nvim-metals
26968e2
The text was updated successfully, but these errors were encountered: