in reply to How edit source code in perl debug mode
Most IDEs offer a debug mode were you step thru the original code while starting the debugger in the background.
Emacs even offers a second pane were the debugger CLI is seen like from the console.¹
You can edit the code while debugging, but you'll need to restart the debug run to see an effect.
> automatically save as to another file( maybe xxx.pl.debug). So it’s handy to diff the orig and debug when done.
Sounds like an XY question to me. Anyway ....
You can write a editor macro to
Another macro on F7 runs the diff.
Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery
¹) emacs can also be started inside the console with no-window mode -nw . Like this you could could have a full textual CLI experience, without extra GUI windows.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: How edit source code in perl debug mode
by Fletch (Bishop) on May 04, 2024 at 10:56 UTC | |
Re^2: How edit source code in perl debug mode
by Anonymous Monk on May 04, 2024 at 10:13 UTC | |
by eyepopslikeamosquito (Archbishop) on May 05, 2024 at 10:01 UTC | |
by LanX (Saint) on May 05, 2024 at 10:27 UTC | |
by LanX (Saint) on May 04, 2024 at 11:26 UTC | |
by haj (Vicar) on May 04, 2024 at 11:29 UTC | |
by LanX (Saint) on May 04, 2024 at 18:00 UTC | |
by LanX (Saint) on May 04, 2024 at 11:05 UTC |