brummett / Devel-hdb

A graphical Perl debugger implemented as a web service
31 stars 9 forks source link

Show something reasonable when multiple statements on the same line #3

Closed brummett closed 6 years ago

brummett commented 11 years ago

For a line like foo(); bar(); 4 or if (foo() > bar() )

We'd like the current position to show which part of that line will be the next to execute. It will probably involve inspecting the optree

rocky commented 11 years ago

Devel::Callsite is your friend. Make sure to +1 it.

brummett commented 9 years ago

This would require support for reporting the callsite in Locations for Devel::Chitin, then passing along that info through the rest API and displaying it to the user.

rocky commented 9 years ago

Ok. Do it!

brummett commented 6 years ago

This is working, at least in a minimal way, via Devel::Chitin 0.9 and #113