Open qrockz opened 8 months ago
wget -P ~ https://github.com/cyrus-and/gdb-dashboard/raw/master/.gdbinit gdb -ex r --args python code/armstrong.py
armstrong.py:
[...] while temp > 0: digit = temp % 10 sum += digit ** order temp //= 10 breakpoint() [...]
Unfortunately the dashboard does not show up though breakpoint was set.
GDB cannot debug Python code...
https://wiki.python.org/moin/DebuggingWithGdb
That's how you debug Python (the runtime), not Python (the language). Hence the above breakpoint() makes no sense for GDB.
breakpoint()
armstrong.py:
Unfortunately the dashboard does not show up though breakpoint was set.