Debugger settings hang on linux Komodo IDE 10

I setup xdebug on Linux and it’s working okay. But now when I try to either uncheck the box: Debug > Listen for debug connections, or change the settings in: preferences > debugger > connection > uncheck “I am running a debugging proxy…”, it will hang.

I’ve tried closing all files, restarted Komodo IDE, restarted my computer, restarting/turning off apache, commenting out the php.ini settings, turning off my firewall. I still get the same result with it hanging when I try to change the settings. Any idea why it would do this?

@Robert_Packer, anything in your logs? Help > Troubleshooting > View Log File

  • Carey
[2016-12-19 13:02:15,073] [INFO] Startup: Welcome to Komodo IDE 10.1.4 build 89515 (platform linux-x86_64, running on Linux 3.16.0-38-generic version #52~14.04.1-Ubuntu SMP Fri May 8 09:43:57 UTC 2015)
[2016-12-19 13:02:15,074] [INFO] Startup: /usr/bin/python built on Thu Dec 15 16:17:22 2016
[2016-12-19 13:02:15,117] [INFO] koInitService: Setting LC_CTYPE to utf-8
[2016-12-19 13:02:15,260] [WARNING] console-logger: mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create (1) in resource://gre/modules/Preferences.jsm:381
[2016-12-19 13:02:15,296] [WARNING] root: ko.logging has been converted to a CommonJS module; use require("ko/logging") instead (since Komodo 9.0.0a1).
    @chrome://komodo/content/komodo.js:15:1

[2016-12-19 13:02:15,594] [ERROR] console-logger: bad script XDR magic number (0) in :0
Traceback (most recent call last):
  File "", line 0, in 

[2016-12-19 13:02:16,053] [WARNING] console-logger: mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create (1) in file:///home/robert/Komodo-IDE-10/lib/mozilla/components/koamAddonManager.js:138
[2016-12-19 13:02:18,255] [INFO] koInitService: Adding pre startup service for 'koFileStatusService': '@activestate.com/koFileStatusService;1'
[2016-12-19 13:02:18,327] [INFO] komodospellchecker: Spell checker loaded.
[2016-12-19 13:02:18,327] [INFO] komodospellchecker: Using dictionary en-US
[2016-12-19 13:02:18,356] [INFO] elastic_tabstops: Elastic tabstops loaded.
[2016-12-19 13:02:18,386] [ERROR] koScopeDocs-Py: Could not find cix for ext
[2016-12-19 13:02:18,386] [ERROR] koScopeDocs-Py: Could not find cix for html5
[2016-12-19 13:02:18,667] [ERROR] console-logger: bad script XDR magic number (0) in :0
Traceback (most recent call last):
  File "", line 0, in 

[2016-12-19 13:02:21,182] [INFO] koInitService: Adding pre startup service for 'KoMemoryReporter': '@activestate.com/koMemoryReporter;1'
[2016-12-19 13:02:21,185] [INFO] koInitService: Adding pre startup service for 'koCommandmentService': '@activestate.com/koCommandmentService;1'
[2016-12-19 13:02:21,187] [INFO] koInitService: Adding pre startup service for 'koDBGPManager': '@activestate.com/koDBGPManager;1'
[2016-12-19 13:02:32,617] [WARNING] console-logger: Key event not available on some keyboard layouts: key="o" modifiers="control,alt,shift" (1) in chrome://komodo/content/tail/tail.xul:0
[2016-12-19 13:02:32,617] [WARNING] console-logger: Key event not available on some keyboard layouts: key="v" modifiers="control,alt" (1) in chrome://komodo/content/tail/tail.xul:0

@Robert_Packer, That’s it? Did you reproduce the issue before sending that? It looks like you just restarted Komodo then sent the logs.

I did restart komodo. I have to terminate the process every time it hangs. But I also did ‘tail -f ./.komodoide/10.1/pystderr.log’ to watch it and see if it added anything when it was hanging and it didn’t.

Can someone with a Linux machine try and reproduce this?

  • Carey

I could try.

I’m not able to reproduce this.

I’ve installed php7 and xdebug (# apt install php7.0 php-xdebug)

I’ve configured Komodo to use the php7 binary, php.ini has been autodetected and Komodo’s saying it’s ready for debug.

I’ve checked/unchecked Debug > Listen for debug connections like a mad man and nothing happened.

Same for the preferences item.

I’ll try to reinstall Komodo later to see if that squashes it.

@Robert_Packer, in your troubleshooting steps, you didn’t try reseting your profile. Help > troubleshooting > Restart in Safe mode.

  • Carey

Actually, that fixed it. Used safe mode, changed the settings, and it didn’t hang. Went back to normal mode, the setting was back to how it was, but it didn’t hang this time when I changed it.
Thanks, sir.

@Robert_Packer, that’s good, but also weird. Try to note the steps leading up to the issue if it ever happens again!

Glad you’re sorted for now!

  • Carey