NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
[resolved] Debugger stopped working


Joined: 08 Sep 2007
Posts: 5
Reply with quote
I've been using the debugger for a while and all was well. Today it stopped working and I couldn't think of anything I did that might cause it to.
I'm running the page from the browser and debugging in '3rd party web server' mode.
I tried running the debug from the IDE itself and it does stop on a break point.
PHP DBG Listener console shows connections only when debug initiated from the IDE.

Any ideas on what to check?
View user's profileFind all posts by devboySend private message


Joined: 08 Sep 2007
Posts: 5
Reply with quote
Update:

I managed to get the debugger to work I have NO IDEA how.
Just now I deleted all the cookies for localhost and debugging stopped working again.
I downloaded the firefox PHPDebugger addon and used that, it worked for one page only so I checked the 'debug session' checkbox. After that it stuck a parameter in the URL which caused the php framework I'm using to 404 me since it's not configured to use parameters.

I stopped 'killed' the session and done the whole thing again. It's working...

If it's working, "why am I bothering you" you might ask yourselves. Well I have no idea WHY it's working. Which probably means this will happen again.
Can anyone explain, how the whole debugging process works and where do the cookies come into play?

Thanks
View user's profileFind all posts by devboySend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
Quote:
I downloaded the firefox PHPDebugger addon and used that, it worked for one page only

I'm sorry, we do not provide support for the products not developed in nusphere


Last edited by dmitri on Sun Jan 13, 2008 8:15 pm; edited 1 time in total

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 08 Sep 2007
Posts: 5
Reply with quote
I don't need "support" and specifically not for the FF addon.
What I am looking for is a thorough explanation of how 3rd party web server debugging works and what exactly the DBG needs in order to fucntion.
I found how to configure this in your docs but I need more details on how the debugging process works in order to try and figure out what goes wrong here.

Cheers
View user's profileFind all posts by devboySend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
I'm sorry if I got your wrong. I was under impression that it's FF toolbar did not issue correct debugger request. You may want to check with its settings or leave all with their defaults. But first, make sure that IDE is configured okay. Start with something trivial, like echo 'hello world'; in the web server root directory, create project, set its properties and try to run _from_ the IDE (i.e. without any toolbars).
Let know if you get any problems on this way.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 08 Sep 2007
Posts: 5
Reply with quote
This worked with no problems...

The issues started when I started using CodeInginters framework. In that case I can't seem to be able to debug 'from' the IDE. It fails with not being ables to find framework classes, probably because of how CI works and reroutes URLs (although I'm not sure about this).
View user's profileFind all posts by devboySend private message
[resolved] Debugger stopped working
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic