Possible KeBugCheck improvements
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- C++
- Stars
- 105
- Forks
- 34
- Avg merge
- 3d 39m
- Merged PRs (30d)
- 5
Description
Currently the implementation throws a C++ exception, which cannot be caught by Catch2 across a C API.
https://learn.microsoft.com/en-us/cpp/cpp/using-setjmp-longjmp?view=msvc-170 says setjmp/longjmp can be used in both C and C++ and may provide a better mechanism. We should investigate if that might work with Catch2.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the KeBugCheck implementation and how its C API boundary interacts with Catch2. Investigate whether setjmp/longjmp can replace the current C++ exception mechanism, and consider the work done only when the behavior can be handled reliably across that boundary.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- testing-qa
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100