[resolved] Can't get debugger to recognise breakpoints |
|
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 ------------------------------------------------------------------------------------------------------------- |
||||||||||||
|
|
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 |
||||||||||||
|
Site Admin
|
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 |
thanks - how would i check? is it likely to be in phpinfo? |
|
cheers
mike |
||||||||||||
|
solved |
|
helps if you put the "remote root directory" path using / and not \
|
||||||||||||
|
Site Admin
|
it depends on the OS. If server runs unix/linux, it must be /, regarding windows it supports both / and \
this must be updated to v3.1.9 (the most recent) |
||||||||||||||||
_________________ The PHP IDE team |
[resolved] Can't get debugger to recognise breakpoints |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by