Debugging included files |
Site Admin
|
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. |
||||||||||||
_________________ The PHP IDE team |
|
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? :
|
||||||||||||||||
|
Site Admin
|
Sorry I lost the point. What problem are you trying to solve?
Scripts are not parsed until you load them. Right. So what? You set a breakpoint. When corresponding file is loaded it is parsed by PHP. When corresponding line is executed, breakpoint will trigger. Blue dots -- should they appear or not, do not prevent you from setting the breakpoints. They only show where real breaks may appear. If you set a breakpoint and it does not trigger, it may be resulted from either of the following conditions: - execution didn't reach your line -- either file was not loaded at all or corresponding function wasn't called - debug session didn't start -- because you didn't supply DBGSESSID (neither directly nor through the IDE) - script byte codes were cached by opcode cache. Wizard always suggests to turn it off, so I assume that's not the case because you always follow recommendations, don't you? |
||||||||||||
_________________ The PHP IDE team |
Debugging included files |
|
||
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