-
Notifications
You must be signed in to change notification settings - Fork 195
Open
Description
My environment:
- windows 11: 22000.2295
- Visuall C++ 2022 Comunity
- cmake
I run the tests by : tests.exe 18 test_case7\test_case7.exe.
I got the outputs:
Trying to set up exceptions: test_case7\test_case7.exe
[+] Found exception table of: 126 entries
[+] Valid exception entries: 126 entries
[+] The exception table was added
tests::test_load_with_exception_table: Throwing exception:
Calling entry point:
make_exception1: Throwing exception:
Exception handled: STATUS_BREAKPOINT
make_exception2: Throwing exception:
Exception handled: STATUS_INTEGER_DIVIDE_BY_ZERO
Then the tests.exe exit. but "Exception captured by the caller" has never been triggered.
If i add a new function in test_case7:
void make_exception3()
{
std::cout << __FUNCTION__ << ": Throwing exception and not catch:" << std::endl;
RaiseException(STATUS_INTEGER_DIVIDE_BY_ZERO, 0, 0, 0);
}
Then the tests.exe captured the new excption.
So, is this a bug?
PS:I'm sorry for my English, I used a translation tool.
Metadata
Metadata
Assignees
Labels
No labels