2016-01-31 10:50 GMT+01:00 Nicolai Hess <nicolaih...@gmail.com>: > > > 2016-01-28 1:37 GMT+01:00 Eliot Miranda <eliot.mira...@gmail.com>: > >> Hi Nicolai >> >> On Jan 15, 2016, at 4:57 AM, Nicolai Hess <nicolaih...@gmail.com> wrote: >> >> >> >> 2016-01-15 13:26 GMT+01:00 Stephan Eggermont <step...@stack.nl>: >> >>> When debugging a method containing a block with a parameter, >>> the parameter is missing from the variable list (because it is aliased?). >>> >> >> Yes, this happens with block vars from optimized blocks (ifNotNil:). >> The tempvars arent't local to the block, but method vars. >> And the debugger (debuggerMap) doesn't knows about this (this happens on >> both debuggers AFAIK). >> >> >> It works in the Squeak debugger. Try e.g. debugging >> Character space printOn: Transcript >> > > Yes, thanks Eliot. > I try to find out what happens here (opals based debugger map works quite > different from squeak compiler infrastructure (parser / handling of > optimized block contexts). > >
I opened a bug report 17434 <https://pharo.fogbugz.com/f/cases/17434/debugger-missing-block-local-var-for-optimized-blocks> debugger missing block local var for optimized blocks with a test case and a solution. But I am not satisfied with this. need more time to think about this. > > >> >> >> >>> >>> Stephan >>> >> >> >