3 ms·
> I agree you should know how to use a debugger, however will also note that some companies mandate use of a specific IDE (or heavily encourage). The debuggers
by Kwpolska 4y ago
> I agree you should know how to use a debugger, however will also note that some companies mandate use of a specific IDE (or heavily encourage).
The debuggers in most popular IDEs (IntelliJ IDEA/any JetBrains IDE, Visual Studio, VSCode, Eclipse) work the same way. You set breakpoints (typically by clicking somewhere around the line number), step into and out of functions, and look at the memory state. If you learned how debugging works in IDE X, you can easily switch to IDE Y without having to learn much.
- codemonkey-zeta 4y agoThe biggest hurdle for beginners when using built-in IDE debuggers in my experience is the requirement to set up the debug run configuration to properly execute their program. Even though this amounts essentially to "how do you run the program on the command line? Write that in the IDE configurator", newbies don't know how to run the program from the command line (and can't debug any startup errors they might get), so can't properly set up the debugger in their IDE, and revert back to print debugging everything.