Skip to content
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

Try-catch block not catching on exception if "process stack trace" is set to true #1557

Open
kevarek opened this issue Nov 21, 2024 · 1 comment

Comments

@kevarek
Copy link

kevarek commented Nov 21, 2024

Tool

Visual Studio extension

Description

When process stack trace is set to true, try-catch block never executes its catch part. Setting it to false, exceptions are caught as expected.
Described on discord
https://discord.com/channels/478725473862549535/1307433046315896967/1309224952960127037

How to reproduce

1 Start hello world project
2 Set process stack trace to true
3) throw exception in try catch block as shown on discord
4) observe how catch is never executed and thread just stops

Expected behaviour

Catch block should be executed regardless process stack trace setting.

Screenshots

No response

Aditional context

No response

@kevarek
Copy link
Author

kevarek commented Nov 21, 2024

VS2022 17.12.1; nF extension 2022.12.0.1; targets ESP32_REV0 and ESP32_REV3; ESP32_REV3-1.12.1.17.zip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants