gdb-dashboard icon indicating copy to clipboard operation
gdb-dashboard copied to clipboard

dashboard does not show up

Open qrockz opened this issue 1 year ago • 3 comments

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.

qrockz avatar Feb 22 '24 02:02 qrockz

GDB cannot debug Python code...

cyrus-and avatar Feb 22 '24 09:02 cyrus-and

GDB cannot debug Python code...

https://wiki.python.org/moin/DebuggingWithGdb

qrockz avatar Feb 22 '24 09:02 qrockz

That's how you debug Python (the runtime), not Python (the language). Hence the above breakpoint() makes no sense for GDB.

cyrus-and avatar Feb 22 '24 09:02 cyrus-and