Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 945 Bytes

File metadata and controls

27 lines (17 loc) · 945 Bytes

Debuggers

Also check out "test-driven development." Good debugging often starts with good testing!

Python

Python trace library. You'll probably need to use --ignore-module or --ignore-dir options to avoid traversing numpy or the like.

pydb or pdb allows gdb-like stepping through scripts. I personally find print statements more useful. Can tweak code during the debugging session.

C++

gdb and gdb --tui are standard, basic options. I haven't used these in a long time.

VSCode (?)

Total view for parallel debugging. Proprietary.

Compiler explorer, "god bolt" can try your library out with different compilers quickly. Look at build times and also time execution.

a la James: