Skip to content

Assist mingw Configure.pl debugging #833

Closed
rurban opened this Issue Sep 17, 2012 · 5 comments

2 participants

@rurban
Parrot Virtual Machine member
rurban commented Sep 17, 2012

Term::ReadLine does not work on my mingw, debugging configuire steps is a pain.
E.g. "b postpone auto::snprintf::runstep" does not set a breakpoint when debugging Configure.pl

I added a preloading of all steps into early Configure.pl so that breakpoints can easily be set.
The old handling is not changed.

See branch rurban/preload-config-steps-gh833
good to be merged.

@rurban rurban was assigned Sep 17, 2012
@rurban rurban added a commit that referenced this issue Sep 17, 2012
@rurban rurban [GH #833] preload configure steps
Term::ReadLine does not work on my mingw, debugging configure steps is a pain.
E.g. "b postpone auto::snprintf::runstep" does not set a breakpoint when
debugging Configure.pl

I added a preloading of all steps into early Configure.pl so that breakpoints
can easily be set. The old handling is not changed.
be71d13
@jkeenan
@rurban
Parrot Virtual Machine member
@rurban rurban added a commit that referenced this issue Sep 18, 2012
@rurban rurban [GH #833] preload only when debugging perl via -d
As per jkeenans comment #833 (comment)
c4de4b4
@jkeenan
@rurban
Parrot Virtual Machine member
rurban commented Sep 18, 2012

Jim: There is no changed functionality to the Configure.PL user at all.
I just preload the steps upfront when debugging, instead of waiting for its turn later.
This way the debugger knows about the steps and breakpoints earlier and you
can even autocomplete your breakpoint.

The mingw readline problem is related to the inability to get a SIGWINCH signal, resp.
get the COLUMNS+LINES. This only works on Cygwin or a native cmd.exe console,
but not if you ssh into mingw via cygwin.

@rurban
Parrot Virtual Machine member
rurban commented Sep 24, 2012

Merged in d85def3

You can now debug into the first few lines, and do something like c 54, From then on you can tab-expand all breakpoints in steps, like auto::

@rurban rurban closed this Sep 24, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.