You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I really like ipdb, which is built on and uses a lot of ipython features!
Unfortunately, some portion of ipdb or ipython does NOT like to play nice when embedded inside LLDB to debug LLDB Python scripts. Everything works the first time, then all Python is broken after that.
pdbpp on the other hand seems to work well! pdbpp has the sticky view which is REALLY cool, but overkill for some uses and detrimental for others (e.g. stepping over a print statement, you won't see the output).
Is there a way to configure pdbpp to show N lines of context before / after the current line, on every debugger stop? This is the equivalent of hitting l on each stop. I'm digging through the pdbpp internals now to sort it out, but I figured it was worth asking if it might save some time.
The text was updated successfully, but these errors were encountered:
There's no such option yet.
Try the master branch for fixes/improvements with regard to (not) hiding prints.
I could imagine that the option would be applied to sticky mode, where you then set the maximum context lines before/after/around the current line. Does that make sense?
Currently this is limited to the number of screen lines already, taking into account extra output via pdb's msg mechanism additionally.
I really like
ipdb
, which is built on and uses a lot ofipython
features!Unfortunately, some portion of
ipdb
oripython
does NOT like to play nice when embedded inside LLDB to debug LLDB Python scripts. Everything works the first time, then all Python is broken after that.pdbpp
on the other hand seems to work well!pdbpp
has thesticky
view which is REALLY cool, but overkill for some uses and detrimental for others (e.g. stepping over aprint
statement, you won't see the output).Is there a way to configure
pdbpp
to show N lines of context before / after the current line, on every debugger stop? This is the equivalent of hittingl
on each stop. I'm digging through thepdbpp
internals now to sort it out, but I figured it was worth asking if it might save some time.The text was updated successfully, but these errors were encountered: