-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
[CATCH2] CPPDBG Debug a single test does not trigger breakpoints anymore since 3.6.7 #240
Comments
As a side-comment, the latest version works with webfreak's debugger, its just microsoft's implementation that does not work |
Are you sure your source is in sync with the binary? |
Yes, I deleted all binaries and intermediate files and did a clean build |
If I start the debugger from the debug terminal so it runs through all tests, it hits the breakpoint |
Please enable logging, try to debug with the extension and attach the log |
Another finding: adding this line to the settings.json the latest version also works again and finds the breakpoint: |
Yeah, this is the intended fully customizable way of doing it. Everything else is an unexpected journey. Btw:
|
Checklist
Describe the bug
I am using microsoft's cpp extension and a launch.json setup for their debugger. Since the version 3.6.8 the "debug this test" option does no longer work. With 3.6.7 I am able to start a single test section and constrain the debugger to only this test, With 3.6.8 onwards this does no longer work, the debugger starts but it does not enter the programm, it simply quits again with signal 0.
To Reproduce
#include
#include "catch.hpp"
TEST_CASE("name of the test case group")
{
std::unique_ptr pData = std::make_unique();
*pData = 1;
}
Screenshots (optional)
Desktop
Regression bug?
With 3.6.7 the debugger works and the breakpoint is hit
Log (optional but recommended)
The text was updated successfully, but these errors were encountered: