Skip to content

Commit

Permalink
Removing debugging prints in breakpoint tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
gpdaniels committed Jul 17, 2024
1 parent 638d2ad commit b255393
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/debug/breakpoint.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ TEST(breakpoint, evaluate, breakpoint) {
#if defined(_WIN32)
constexpr static auto handler = [](EXCEPTION_POINTERS* exception) -> LONG {
if (exception->ExceptionRecord->ExceptionCode == EXCEPTION_BREAKPOINT) {
PRINT("Breakpoint at 0x%x skipped.\n", exception->ExceptionRecord->ExceptionAddress);
// PRINT("Breakpoint at 0x%x skipped.\n", exception->ExceptionRecord->ExceptionAddress);

PCONTEXT context = exception->ContextRecord;

Expand All @@ -85,7 +85,7 @@ TEST(breakpoint, evaluate, breakpoint) {
#else
constexpr static auto handler = [](int signal_number) {
if (signal_number == SIGTRAP) {
PRINT("Breakpoint skipped.\n");
// PRINT("Breakpoint skipped.\n");
caught = true;
}
};
Expand Down

0 comments on commit b255393

Please sign in to comment.