Defold Debugger Freezing

Hi guys.

I have been trying to run the defold debugger for a while now. So when I Run the Debugger (F5) on my Windows machine - the Debugger gets frozen and the debugger windows shows (Not Responding). Nothing happends. The Game never loads at all. I have tried whitelisting the app with Antivirus etc with no results.

Even Debug > Open Web Profiler just loads forever without showing a thing. What may be causing this?

@britzl @AGulev any guidance on what I can do to get this working perhaps?

I’m not sure what’s causing this. It seems like you’re prevented from connecting to the running game for some reason.

  • Does this happen for all projects?
  • What if you run the Defold editor as Administrator?
  • What happens if you open a webpage to your-local-ip:8002 while the game is running?
  • What if you do wget your-local-ip:8002 or use curl from a command prompt?
  • Does this happen for all projects?

Apparently, yes.

  • What if you run the Defold editor as Administrator?

Also tried that, it didn’t work.

  • What happens if you open a webpage to your-local-ip:8002 while the game is running?

Still freezes. Takes forever to load

  • What if you do wget your-local-ip:8002 or use curl from a command prompt?

Hangs and does not respond

What platform is this?
And to be clear, it works fine if you don’t launch with the debugger?

Surely it prints something to the command prompt? In my attempt I have:

wget 192.168.0.114:8002  
--2022-03-08 13:17:26--  http://192.168.0.114:8002/
Connecting to 192.168.0.114:8002... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://192.168.0.114:59797/ [following]
--2022-03-08 13:17:26--  http://192.168.0.114:59797/
Connecting to 192.168.0.114:59797... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]

In your case I’d expect it to at least print Connecting to 192.168.0.114:8002...

Actually it prints nothing. It just hangs.

So its like its being firewalled or something - or that port is blocked. That sort of situation.

Annoying. I’m not a Windows expert so I’ve run out of ideas.

@britzl @Mathias_Westerdahl it turns out the cache may have been messed up. I tried cleaning my PC cache and for some reason now stuff works well.

2 Likes

Old thread, but I had the same issue and it was because I had ZeroBrane studio open while porting my game over to Defold. So, closing ZeroBrane released the resource and allowed Defold to use mobdebug.

1 Like