Re: Mixed Python/C debugging

Wes Turner <[email protected]> Wed, 26 Apr 2023 07:52:56 -0400
Newsgroups gmane.comp.python.devel
Message-ID <CACfEFw-Ba5BeWiX4P7VqEYKy+dibVa7PVa5ayLCyNCXO3VgKWg@mail.gmail.com>
--===============0636707937091539447==
Content-Type: multipart/alternative; boundary="0000000000002bc43905fa3be226"

--0000000000002bc43905fa3be226
Content-Type: text/plain; charset="UTF-8"

"Debugging a Mixed Python and C Language Stack" (2023)
https://developer.nvidia.com/blog/debugging-mixed-python-and-c-language-stack/
https://news.ycombinator.com/item?id=35706687

On Mon, Dec 2, 2019, 10:59 AM Skip Montanaro <[email protected]>
wrote:

> Thanks for the responses. I know there are multiple tools out there (to
> wit, Wes's response), but I'm really after what people actually use and
> find works. I apologize that wasn't clear. I did neglect to mention that my
> environment is Linux (specifically Ubuntu 18.04), so Windows-based
> solutions aren't likely to be workable for me.
>
> For the time being, I've been working through one or two of the
> docs/tutorials about the parsing/compiler internals which focus on the C
> side, so gdb with curses display enabled (Ctrl-X a) and built-in PyObject
> support has been sufficient. I will eventually need mixed language
> debugging though. And, as an Emacs user, how this might play in that
> sandbox is of interest.
>
> Skip
> _______________________________________________
> Python-Dev mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> https://mail.python.org/mailman3/lists/python-dev.python.org/
> Message archived at
> https://mail.python.org/archives/list/[email protected]/message/IZRJX3YYOBJWJ6UAE5PIAJBPKB7IOHS2/
> Code of Conduct: http://python.org/psf/codeofconduct/
>

--0000000000002bc43905fa3be226
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto">&quot;Debugging a Mixed Python and C Language Stack&quot;=
 (2023)=C2=A0<div dir=3D"auto"><a href=3D"https://developer.nvidia.com/blog=
/debugging-mixed-python-and-c-language-stack/">https://developer.nvidia.com=
/blog/debugging-mixed-python-and-c-language-stack/</a></div><div dir=3D"aut=
o"><a href=3D"https://news.ycombinator.com/item?id=3D35706687">https://news=
.ycombinator.com/item?id=3D35706687</a></div></div><br><div class=3D"gmail_=
quote"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Dec 2, 2019, 10:59 AM =
Skip Montanaro &lt;<a href=3D"mailto:[email protected]">skip.montana=
[email protected]</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" styl=
e=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div di=
r=3D"auto">Thanks for the responses. I know there are multiple tools out th=
ere (to wit, Wes&#39;s response), but I&#39;m really after what people actu=
ally use and find works. I apologize that wasn&#39;t clear. I did neglect t=
o mention that my environment is Linux (specifically Ubuntu 18.04), so Wind=
ows-based solutions aren&#39;t likely to be workable for me.<div dir=3D"aut=
o"><br></div><div dir=3D"auto">For the time being, I&#39;ve been working th=
rough one or two of the docs/tutorials about the parsing/compiler internals=
 which focus on the C side, so gdb with curses display enabled (Ctrl-X a) a=
nd built-in PyObject support has been sufficient. I will eventually need mi=
xed language debugging though. And, as an Emacs user, how this might play i=
n that sandbox is of interest.=C2=A0</div><div dir=3D"auto"><br></div><div =
dir=3D"auto">Skip</div></div>
_______________________________________________<br>
Python-Dev mailing list -- <a href=3D"mailto:[email protected]" target=
=3D"_blank" rel=3D"noreferrer">[email protected]</a><br>
To unsubscribe send an email to <a href=3D"mailto:[email protected]=
rg" target=3D"_blank" rel=3D"noreferrer">[email protected]</a><br=
>
<a href=3D"https://mail.python.org/mailman3/lists/python-dev.python.org/" r=
el=3D"noreferrer noreferrer" target=3D"_blank">https://mail.python.org/mail=
man3/lists/python-dev.python.org/</a><br>
Message archived at <a href=3D"https://mail.python.org/archives/list/python=
[email protected]/message/IZRJX3YYOBJWJ6UAE5PIAJBPKB7IOHS2/" rel=3D"noreferre=
r noreferrer" target=3D"_blank">https://mail.python.org/archives/list/pytho=
[email protected]/message/IZRJX3YYOBJWJ6UAE5PIAJBPKB7IOHS2/</a><br>
Code of Conduct: <a href=3D"http://python.org/psf/codeofconduct/" rel=3D"no=
referrer noreferrer" target=3D"_blank">http://python.org/psf/codeofconduct/=
</a><br>
</blockquote></div>

--0000000000002bc43905fa3be226--

--===============0636707937091539447==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline