NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
[resolved] Can't get debugger to recognise breakpoints


Joined: 09 Aug 2006
Posts: 26
Reply with quote
I've got Version 4.6.3 (build 4633) and when working on one server it's fine but on the
2nd it won't recognise breakpoints. When clicking on "Run in Debugger" it stops at the first
line correctly but pressing the same button or hitting F9 just loads the page and ignores and
breakpoints even on simple test scripts with the breakpoint on the next line. It will stop from
a DebugBreak() call fine..

As i say the other server set up is fine and everything works it's just this one server - comparing
the two setups (pasted below) the NON Working version is the later version - i can go back.

any help appreciated.

cheers
Mike


--------------------------------------------------------------------------------------------------------------
Server config that IS working OK...
-------------------------------------
DBG php debugger, version 3.1.0, Copyright 2001, 2006 Dmitri Dmitrienko, http://www.nusphere.com/dbg
Version 3.1.0
Linked as a shared library.
Dbg SSL not available
Dbg ip security enabled.
Profiler enabled
Target PHP version 4.3.9
Server API Apache
Extensions API 20021010
Modules API 20020429
PHP API 20020918
-----------------------------------------------------------------------------------------------------------
Server config that ISN'T working ok.
DBG php debugger, version 3.1.8, Copyright 2001, 2006 Dmitri Dmitrienko, http://www.nusphere.com/dbg
Version 3.1.8
Linked as a shared library.
Dbg SSL not available
Dbg ip security enabled.
Profiler enabled
Target PHP version 4.3.9
Server API Apache 2.0 Handler
Extensions API 20021010
Modules API 20020429
PHP API 20020918
-------------------------------------------------------------------------------------------------------------
View user's profileFind all posts by mike_wainSend private message
Veteran

Joined: 24 Jan 2006
Posts: 311
Reply with quote
Are you sure that the files are in-synch with the second server? The simplest check would be to put a syntax error in one of the files in question and run it - see what the line number is in the error message
View user's profileFind all posts by yfaktorSend private message


Joined: 09 Aug 2006
Posts: 26
Reply with quote
thanks for the reply.

yes I can add a debugbreak(); or a syntax error
and re run it in the debugger and it stops correctly.
comment that statement out - add a breakpoint to the line below it
and reupload it and re run it in the debugger and it again ignores the
breakpoint.

thanks in advance.

cheers
Mike
View user's profileFind all posts by mike_wainSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
please check if you have any php accelerating solution installed on the server.
memcache or eaccelerator may cause the problem.
If you need php accelerator that works friendly to the debugger, I'd highly recommend you to try NuSphere PhpExpress. It's free.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
thanks - how would i check? is it likely to be in phpinfo?


Joined: 09 Aug 2006
Posts: 26
Reply with quote
cheers
mike
View user's profileFind all posts by mike_wainSend private message
solved


Joined: 09 Aug 2006
Posts: 26
Reply with quote
helps if you put the "remote root directory" path using / and not \

Smile
View user's profileFind all posts by mike_wainSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Quote:
path using / and not \

it depends on the OS. If server runs unix/linux, it must be /, regarding windows it supports both / and \

Quote:
DBG php debugger, version 3.1.0

this must be updated to v3.1.9 (the most recent)

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
[resolved] Can't get debugger to recognise breakpoints
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