"Cloak" Files From Debugging

General discussion on Zend Studio
Post Reply
ellswrth
Posts: 4
Joined: Thu Oct 01, 2009 8:43 pm

"Cloak" Files From Debugging

Post by ellswrth » Sat Mar 16, 2013 9:08 pm

I have an older version of Zend Studio, 7.2.1.

I would like to be able to configure some files (third party components - i.e. Krumo) from being debugged so that if they are included in a script they are just executed and the debugger continues at the next statement.

Code: Select all

if ($_SESSION ['authAdmin']) { // debugging information
	 include_once '../krumo/class.krumo.php'; // <-- DON'T DEBUG THIS LINE
	 krumo ( $GLOBALS ); // <-- OR THIS ONE}
}
Is there a way in which this can be accomplished?

Thanks in advance ...

totalsupport
Posts: 123
Joined: Thu Aug 20, 2009 2:38 pm

Re: "Cloak" Files From Debugging

Post by totalsupport » Wed Mar 20, 2013 6:11 pm

Use F6 to prevent the debugger going 'into' a function/method/include/etc and just execute it.

If you want to skip (and just execute) a whole bunch of lines/statements, just go the line where you want te debugger to stop again, place your cursor there and press CTRL-R ("run to line").

ellswrth
Posts: 4
Joined: Thu Oct 01, 2009 8:43 pm

Re: "Cloak" Files From Debugging

Post by ellswrth » Wed Mar 20, 2013 7:22 pm

Thanks - those two I was aware of, I was hoping for something else where I could set a flag that indicates "don't debug anything here"

Post Reply