Debugging code when it is included by $ret = include($t) |
Guru master
|
I think that, because the $t is a variable, it is impossible for the debugger to evaluate that breakpoint. It cannot determine in advance that the file you set the breakpoint in will be included thus the breakpoint is not set.
I think your best option is to add a DebugBreak(); line in the included file, that will force a break when it is encountered and has never failed me Hope that helps! |
||||||||||||
|
Site Admin
|
I'm not sure that I got you right. Suppose for a particular case $t has 'tableA.inc' value and you have 'tableA.inc' file in your system. You can set a breakpoint in this file and it will trigger the debugger. If it does not what happen in your case, you may want to check: a) that the file where you set breakpoint is the file that gets actually included when you check it by stepping in the debugger b) that the line where you set the breakpoint gets blue dot when you step with debugger in the file c) that you have no php opcode caches like eaccelerator and its successors. They cache files when you run them for the first time and if you do so without debugger, they will be cached without debugging opcodes so they can be debugged. |
||||||||||||||
_________________ The PHP IDE team |
Debugging code when it is included by $ret = include($t) |
|
||
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