Debugger only ever works once on iOS/Android

We find that the debugger (whether you’re using PC or Mac) only works once when you’re running on iOS or Android. After that, you need to restart defold in order to get the debugger to work.

Does anyone else have this issue? It’s always been the case for us, regardless of Defold version. We’ve kind of ignored it, but I’m currently doing a lot of device-specific stuff than needs to run on actual hardware to develop, so it would be nice to find a solution.

Thanks

It was a while since I tested. It could be that we broke something recently. Could you please create an issue on GitHub?

Done. Strangely, it started working fine this morning, and then completely stopped working and I can’t even make the debugger work once now on device (Defold 1.9.8). I get this error when I try to start the debugger (iOS) / Mac):

clojure.lang.ExceptionInfo: handler ‘:start-debugger’ in context ‘:global’ failed at ‘:run’ with message ‘Read timed out’
java.net.SocketTimeoutException: Read timed out

Sounds like there’s lingering connections somewhere?

Huh! I do recall that we had a discussion about versions, but please remind me again, why are you on 1.9.8 still? Remember that we only support 6 months of versions, and if you have native extensions in your project you will very soon (now even) have problems building your project.

We’re actually working on updating to latest defold this week, but the problem still seems to happen on the latest.

1 Like