Event tracker / visualizer question
Posted: 23 Aug 2022, 20:50
Hello,
We have a few xaml pages/screens now and expect to grow quickly.
We frequently have to answer questions like:
These are somewhat different problems and maybe hard to fix with a single tool.
I'm wondering if there's a tool, internal or otherwise that helps you or other teams track / visualize where an event is going / what is executing and maybe even why a trigger (portion of visual tree) hasn't been touched / not getting evaluated / getting skipped.
We have a few xaml pages/screens now and expect to grow quickly.
We frequently have to answer questions like:
- Why did a specific `noesis:SetFocusAction` not actually set focus
-- usually because element is not visible yet, but sometimes because something else stole focus
-- currently I put prints into triggers to debug this - Why did `noesis:GamepadTrigger ` not trigger
-- often because element has no focus
-- this is hard to debug as I'm not sure how to nicely track where input bubbles / tunnels. - Why did an event (focus or datatrigger) trigger twice
-- our best guess: because the first action changed the visual tree and then event continued bubbling/tunneling
-- we fix this by adding code behind e.handled
These are somewhat different problems and maybe hard to fix with a single tool.
I'm wondering if there's a tool, internal or otherwise that helps you or other teams track / visualize where an event is going / what is executing and maybe even why a trigger (portion of visual tree) hasn't been touched / not getting evaluated / getting skipped.
- Maybe this is more of a process question, how do you track event issues?
- Maybe a feature request for breakpoints in xaml? (or variation on the theme, maybe in the Inspector tool?)
- Maybe a question about where in noesis source should I put breakpoints so I can see evens getting evaluated / xaml lines getting executed.
