Re: [lldb-dev] RFC: full support for python files, and avoid using FILE* internally

2019-09-24 Thread Lawrence D'Anna via lldb-dev
> On Sep 24, 2019, at 10:04 AM, Ted Woodward wrote: > > A bit of a tangent, but I've been getting requests to debug Python and C++ > together. Things like TensorFlow start in Python, then call into C++ > libraries. Users want to be able to debug the Python code as Python (not > debugging in

Re: [lldb-dev] RFC: full support for python files, and avoid using FILE* internally

2019-09-24 Thread Larry D'Anna via lldb-dev
> On Sep 24, 2019, at 4:11 AM, Pavel Labath wrote: > > On 23/09/2019 20:54, Larry D'Anna wrote: >>> On Sep 23, 2019, at 7:11 AM, Pavel Labath wrote: >>> >>> On 20/09/2019 17:35, Larry D'Anna via lldb-dev wrote: Hi lldb-dev. I want to be able to use LLDB inside of iPython, so I can h

Re: [lldb-dev] RFC: full support for python files, and avoid using FILE* internally

2019-09-24 Thread Ted Woodward via lldb-dev
4, 2019 6:11 AM > To: Larry D'Anna > Cc: lldb-dev@lists.llvm.org > Subject: [EXT] Re: [lldb-dev] RFC: full support for python files, and avoid > using > FILE* internally > > On 23/09/2019 20:54, Larry D'Anna wrote: > > > > > >> On Sep 23, 2019, a

Re: [lldb-dev] RFC: full support for python files, and avoid using FILE* internally

2019-09-24 Thread Pavel Labath via lldb-dev
On 23/09/2019 20:54, Larry D'Anna wrote: On Sep 23, 2019, at 7:11 AM, Pavel Labath wrote: On 20/09/2019 17:35, Larry D'Anna via lldb-dev wrote: Hi lldb-dev. I want to be able to use LLDB inside of iPython, so I can have mixed python and LLDB debug session. To this end, I’d like to update L

Re: [lldb-dev] RFC: full support for python files, and avoid using FILE* internally

2019-09-23 Thread Larry D'Anna via lldb-dev
> On Sep 23, 2019, at 7:11 AM, Pavel Labath wrote: > > On 20/09/2019 17:35, Larry D'Anna via lldb-dev wrote: >> Hi lldb-dev. >> I want to be able to use LLDB inside of iPython, so I can have mixed python >> and LLDB debug session. >> To this end, I’d like to update LLDB to have full support fo

Re: [lldb-dev] RFC: full support for python files, and avoid using FILE* internally

2019-09-23 Thread Pavel Labath via lldb-dev
On 20/09/2019 17:35, Larry D'Anna via lldb-dev wrote: Hi lldb-dev. I want to be able to use LLDB inside of iPython, so I can have mixed python and LLDB debug session. To this end, I’d like to update LLDB to have full support for python file objects, so the outputs of debugger commands can b

[lldb-dev] RFC: full support for python files, and avoid using FILE* internally

2019-09-20 Thread Larry D'Anna via lldb-dev
Hi lldb-dev. I want to be able to use LLDB inside of iPython, so I can have mixed python and LLDB debug session. To this end, I’d like to update LLDB to have full support for python file objects, so the outputs of debugger commands can be redirected into iPython’s own streams. This howeve