-
Notifications
You must be signed in to change notification settings - Fork 8
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
feat: better debugging for pathfinding tasks #8
feat: better debugging for pathfinding tasks #8
Conversation
So, I tried to resolve all merge conflicts and updated the imports. Good news: the game starts, and even running Josharias Survival with this module does not crash immediately. :party: Bad news: trying to use the metrics recorder unfortunately crashes 😕 I'll leave this stacktrace here for whoever wants to continue. I suspect this is about
|
Hm, looks like the issue above is about sending events from a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
While working on Terasology/FlexiblePathfinding#8 we noticed that there seem to be issues with sending events extending from BindButtonEvent programmatically (without the physical button press). To avoid any future confusion (or at least find the issue sooner) I'm adding a brief docstring to the class stating it's intended use and that one should NOT use it directly.
Adds some first-class debugging UI stuff. The initial metrics I've exposed are not super useful outside of tuning the JPSConfig parameters, but that is an important task when using the library.
More importantly this serves as a foundation for exposing more useful debugging information as the algorithm and interface becomes more complex.
Here's an example looking at a GooeyQuest path finding thread exhaustion scenario: