Skip to content

Conversation

@ardovm
Copy link
Contributor

@ardovm ardovm commented Dec 6, 2025

The Win32 runtime can detect invalid parameters to many library functions.

For example, access to std::vector elements by means of numerical index (std::vector::operator[]()) are checked against the vector's size.

When an invalid parameter is detected, the default behavior is to terminate the program -- and that is what should happen, in the end.
The purpose of this PR is to catch these events, so that debugging them becomes possible.
Logging is done on standard error; better options are welcome.

@ardovm ardovm mentioned this pull request Dec 6, 2025
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

Successfully merging this pull request may close these issues.

1 participant