Breakpoints will not trigger when set in another .php script |
Guru master
|
The NuSphere DBG module checks cookies and query string parameters so that it knows if it is enabled or not. It would appear the file2.php is not seeing the cookies, which is possible for a variety of reasons and not necessarily any fault of DBG.
You can get file2.php to output the cookies to HTML to confirm if the cookies are set or not. I'm fairly sure cookies should be passed for a src resource. To check that the debugger is at least working for file2.php you can try two things: 1. In file2.php use the DebugBreak() statement at your breakpoint position. Once a DebugBreak() has been hit, DBG is activated, PhpED gets focus, and then normally additional PhpED breakpoints will also work. 2. Change your src to something like file2.php?DBGSESSID=1;d=1,p=0,c=1&rx1=$rx1&p1=$ser_L1&hc1=$ser_hc1 and see if your PhpED breakpoint works. |
||||||||||||
|
Guru master
|
Just an idea and I could be totally wrong, but if you only get breakpoints on the first page you visit from PhpED and never any other pages, then maybe also check for a cookie blocker. I don't think the PhpED integrated browsers block any cookies.
|
||||||||||||
|
|
Problem solved - somehow the "Debug sessions" checkbox in the Run & Debug - Settings - Default debugger settings window was unchecked.
Now, where do I download the latest debugger file? |
||||||||||||
|
Guru master
|
When PhpED is installed, a set of debugger modules is copied to %ProgramFiles%\nusphere\phped\debugger\server
You can also download SSL debugger modules from your NuSphere account, but for most people the above ones will probably be suitable. |
||||||||||||
|
Breakpoints will not trigger when set in another .php script |
|
||
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