maxwills / SeekerDebugger

A Queryable Time-Traveling Debugger for Pharo 9.0, 10 and 11.
9 stars 5 forks source link

SeekerCurrentInterface>>methodAboutToExecute fail case #17

Open maxwills opened 2 years ago

maxwills commented 2 years ago

When called on some (if not all) inlined message sends, the message receiver is not properly calculated, and therefore, the methodAboutToExecute calculation is wrong.

A possible solution might be to check the AST in inlined sends, and if the message receiver of the message node is a block, then at least we can retrieve the correct method about to execute (even though we cant actually retrieve the message receiver if it was supposedly a block (prior to be inlined))

maxwills commented 1 year ago

This is mostly fixed, however not properly tested. How to do that?