dmitri wrote: |
Breakpoints work fine in included files regardless of their level of inclusion, regardless the other function is called or not. As soon as the line with breakpoint is executed, it will trigger and break in the IDE.
The only thing you have to keep in mid is you have to start debugging in the IDE or break into IDE through DebugBreak() or use any other way to start *debug* session with the IDE. Otherwise the IDE is not aware of the script you want to debug, therefore no breakpoints will be set, therefore no breakpoints will trigger. |
Ok, this is what I am doing, but as I told in my message above, some scripts appears to be not parsed until effectively executed
(that is, I consider them parsed when I can see dots in the column on the left).
But I am thinking to one thing.
May it be a problem if the name of some included scripts are the result of an expression?
Like this? :
// In a previously included script:
define('SUFFIX', '_test');
// or
define('SUFFIX', '_production');
// In the script included by the previous one :
require_once('SomeIncludedScript'.SUFFIX.'.inc.php'); |
Gingko