CppCast cover image

New C++ Scope and Debugging Support

CppCast

00:00

Cplus Plus - Is the Debugger Present?

In consuls, where i do a lot of development, you're not allowed to actually output debug log statement on release mode. So being able to check that you have te buger present and turning that off is a requirement. The way i've used it is, if there's like, a particularly bad error, put in like a, if debugger is attached, break here block so that it doesn't just get logged. You an force the developer to go look at what's going on, peform something like a fatal crashi. Sometimes it migt not be even bad. I just be, you know, i want to observe the behavior attha.

Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner
Get the app