this post was submitted on 22 Jun 2023
16 points (100.0% liked)
Programming
13362 readers
1 users here now
All things programming and coding related. Subcommunity of Technology.
This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
This usually depends on which industry you work in, and what language you're using usually :)
I work in gamedev, c++, and I ALWAYS use a debugger. There's no running the game, or even the editor without the debugger connected. No matter if you need it currently or not. You always launch the project through the debugger so if anything comes up you can investigate immediately.
Profiler is used any time there's a performance problem.
What enables me to use them is probably that this is very much true for the whole industry so software is built with that in mind.
For example, we use special "print" statements for some of the errors that if a debugger is running, it will automatically stop the program so you can investigate. Without a debugger, it will just output the error in the log.
There is no docker, the app is running usually on your local hardware. Consoles are also built with debugger support that you connect to from your PC. So it's very easy to use. Even connecting to another PC in a local network, for example, an artist or tester hardware, is possible from your computer without a problem. We have all the tools prepared for that.