How to debug gdx-teavm? #131
Unanswered
KevinGuancheDarias
asked this question in
Q&A
Replies: 1 comment
-
Hey. Sorry for the delay. Github is very bad at notifying that there was a post here in discussions tab. Does the issue still persist ? Can you share a small complete project setup that I can import ? I think I wont be able to get the same error with the code above. debugging in teavm is using the manual way by going to chrome console, selecting the app.js file and adding breakpoints in javascript. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I'm using teavm, it has some bugs, but mostly work, the problem that I'm facing is that Sound interface works properly, but Music doesn't, it can't reproduce audio, it just does nothing, but I have other case, where music just throws an error that hangs my game
Edit: Note that it works in desktop version
I would like to now how to place breakpoints in the teavm implementation, more concretely in the
HowlMusic
class which is the one having the errorSample code that produces the error:
Note in the code that neither of the audios play (first two Music just don't fail), also note that incorrectAnswerSound works, not error is displayed until the answer3 touch listener is fired, in which case I get the following error
Taking a look inside
HowlMusic
I think the following code is the offending oneDisclaimer: According to chrome dev-tools the music assets are loaded
I have no idea of how to debug this problem, and so maybe find a solution, and create a PR.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions