[xdebug-general] Re: NOTICE messages

From: Derick Rethans <derick[@]xdebug.org>
Date: Mon, 11 Jun 2007 08:50:06 +0200 (CEST)

Hello Damjan,

On Sat, 2 Jun 2007, Damjan Cvetko wrote:

> I'm developing a dbgp plugin for notepad++. My question is, how do I
> get those notice and warning messages, that may be produced when PHP
> code is executed. Do I have to redirect stderr? Or is there a message
> with more structured reply (file, line, notice type, message...)

What you should do in this case is set breakpoints for those
"exceptions". You can do that like this:

breakpoint_set -t exception -x "Notice" -i 9
breakpoint_set -t exception -x "Warning" -i 9

Use the same name as exception as the prefix in PHP's error message.


Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org
Received on Mon Jun 11 2007 - 08:50:06 BST

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST