NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Debug local via front controler


Joined: 21 May 2007
Posts: 3
Reply with quote
Hi,

I'm from the print_r dynasty and am wandering if someone could help me get my debugging going...


I am having difficulties getting any debugging working with a front controller.

The URL on my local server is mywebserver/some_action/some_id/ or i could access it via mywebserver/index.php?page_action=some_action&id=id.

The page i want to debug (some_action.php) is in a completely different directory.

---------------------------------------------------------------------------------------------------

When I hit debug on the debug tool bar, the debugger runs but it doesn't stop at any break points.
The only way that I can get it to stop is via debugbreak(). Am i missing something?

Sam
View user's profileFind all posts by nimmitSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
what IDE do you run debugger with? and what's the debugger version?

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


Joined: 21 May 2007
Posts: 3
Reply with quote
Hi thanks for responding,

I am using the trial version of phped5 and the php_dbg.dll-5.2.x ext that came with the demo distribution.
Local server = Apache 2.0 - php 5.2.1

The module appears to be installed properly because it is invoking phped and as I said if i put in debugbreak() it is stopping as expected.

Could it be something to do with mapping? (mapping settings: remote = c:/www/site - local = c:\www\site - url = mywebserver)

Thanks,

Sam
View user's profileFind all posts by nimmitSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
Quote:
mapping settings: remote = c:/www/site

^^^^^^^^^^^^^
that's the problem.
You have to use appropriate slashes, \ - in this case Smile

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Debug local via front controler
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