cyrus-and / gdb-dashboard

Modular visual interface for GDB in Python
MIT License
11.1k stars 780 forks source link

dashboard does not show up #314

Open qrockz opened 8 months ago

qrockz commented 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.

cyrus-and commented 8 months ago

GDB cannot debug Python code...

qrockz commented 8 months ago

GDB cannot debug Python code...

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

cyrus-and commented 8 months ago

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