Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dashboard does not show up #314

Open
qrockz opened this issue Feb 22, 2024 · 3 comments
Open

dashboard does not show up #314

qrockz opened this issue Feb 22, 2024 · 3 comments

Comments

@qrockz
Copy link

qrockz commented Feb 22, 2024

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
Copy link
Owner

GDB cannot debug Python code...

@qrockz
Copy link
Author

qrockz commented Feb 22, 2024

GDB cannot debug Python code...

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

@cyrus-and
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants