Skip to content

Show the op dispatched by constructPath in the debugger #19961

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nicolo-ribaudo
Copy link
Contributor

Show the op dispatched by constructPath in the debugger

The constructPath op receives as arguments not only the information to construct the path, but also the op to apply the path to (such as "fill", or "stroke").

This commit updates the Stepper tool in the debugger to decode that op, showing its name rather than just its numeric ID.

I was picking up #19043 again, and I think the internal representation of constructPath changed since when I first started working on it, making it more difficult to see what is going on in the debugger.

Before (and you would have to know that 22 means "fill"):
image

After:
image

The `constructPath` op receives as arguments not only the
information to construct the path, but also the op to apply
the path to (such as "fill", or "stroke").

This commit updates the Stepper tool in the debugger to decode
that op, showing its name rather than just its numeric ID.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant