* Python interface: is there any way to...
@ 2021-02-02 16:46 Paul Smith
0 siblings, 0 replies; only message in thread
From: Paul Smith @ 2021-02-02 16:46 UTC (permalink / raw)
To: gdb
I'm wondering if there are ways to detect, from within the Python
extensions for GDB, these things:
Can I determine whether I'm working on a core file, versus working with
a live process?
Can I determine whether my Python methods are being invoked from within
a variable "pretty printer context", versus some other context such as
the result of a function call from the prompt etc.?
Thanks!
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-02-02 16:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-02 16:46 Python interface: is there any way to Paul Smith
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).