[xdebug-general] Re: I have one problem with wonderful function - xdebug_start_error_collection

From: Yannick Komotir <komkas[@]hotmail.com>
Date: Thu, 15 Dec 2011 14:37:18 +0100

--
Yannick Komotir
+243 81 059 87 37
Afrik dot Net RDC http://afrikdotnet.org/rdc
Microsoft Student Partner http://student-partners.com/members/Yannick.aspx?
Mon Blog http://yannick-k.blogspot.com/
/*
http://msdn.microsoft.com/fr-fr/netframework/default.aspx
*/
Date: Thu, 15 Dec 2011 01:49:01 +0400
Subject: [xdebug-general] Re: I have one problem with wonderful function - xdebug_start_error_collection
From: gwartur[@]gmail.com
To: xdebug-general[@]lists.xdebug.org
I am update xampp to 1.7.7xdebug version 2.1.1 but no effect.
2011/12/15 Artur Krivtsov <gwartur[@]gmail.com>
I'm sorry, this is phpinfo of my platformxdebug
xdebug supportenabled
Version 2.1.0rc1 
Supported protocolsRevision
DBGp - Common DeBuGger Protocol $Revision: 1.145 $ 
DirectiveLocal ValueMaster Value
xdebug.auto_traceOffOff
xdebug.collect_assignmentsOffOff
xdebug.collect_includesOnOn
xdebug.collect_params00
xdebug.collect_returnOffOff
xdebug.collect_varsOffOff
xdebug.default_enableOnOn
xdebug.dump.COOKIEno valueno value
xdebug.dump.ENVno valueno value
xdebug.dump.FILESno valueno value
xdebug.dump.GETno valueno value
xdebug.dump.POSTno valueno value
xdebug.dump.REQUESTno valueno value
xdebug.dump.SERVERno valueno value
xdebug.dump.SESSIONno valueno value
xdebug.dump_globalsOnOn
xdebug.dump_onceOnOn
xdebug.dump_undefinedOffOff
xdebug.extended_infoOnOn
xdebug.file_link_formatno valueno value
xdebug.idekeyuserno value
xdebug.manual_urlhttp://www.php.nethttp://www.php.net
xdebug.max_nesting_level100100
xdebug.overload_var_dumpOnOn
xdebug.profiler_aggregateOffOff
xdebug.profiler_appendOffOff
xdebug.profiler_enableOffOff
xdebug.profiler_enable_triggerOffOff
xdebug.profiler_output_dir******
xdebug.profiler_output_namexdebug_profile.%R::%uxdebug_profile.%R::%u
xdebug.remote_autostartOffOff
xdebug.remote_connect_backOffOff
xdebug.remote_cookie_expire_time36003600
xdebug.remote_enableOnOn
xdebug.remote_handlerdbgpdbgp
xdebug.remote_hostlocalhostlocalhost
xdebug.remote_logno valueno value
xdebug.remote_modereqreq
xdebug.remote_port90009000
xdebug.screamOffOff
xdebug.show_exception_traceOffOff
xdebug.show_local_varsOffOff
xdebug.show_mem_deltaOffOff
xdebug.trace_format00
xdebug.trace_options00
xdebug.trace_output_dir******
xdebug.trace_output_nametrace.%ctrace.%c
xdebug.var_display_max_children128128
xdebug.var_display_max_data512512
xdebug.var_display_max_depth33
2011/12/15 Artur Krivtsov <gwartur[@]gmail.com>
Hello dear authors of xdebug. Write your russian colleague
I find wonderful function collection in xdebug:
xdebug_start_error_collection 
xdebug_get_collected_errors 
xdebug_stop_error_collectionI try using this sunction in my project, but this is function not work,
effects such as if it is not. I read all docs and configs, but find only this 3 references.
My codeecho "before xdebug_start_error_collection\n";
xdebug_start_error_collection();echo "after xdebug_start_error_collection\n";echo $generate_notice;echo "after notice generate\n";xdebug_get_collected_errors();
echo "after xdebug_get_collected_errors";
My resultbefore xdebug_start_error_collectionafter xdebug_start_error_collection<br />
<font size='1'><table class='xdebug-error' dir='ltr' border='1' cellspacing='0' cellpadding='1'><tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Notice: Undefined variable: generate_notice in D:\work\rumb-software\htdocs\ru-wartur\www\public-html\index.php on line <i>22</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr><tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr>
<tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0004</td><td bgcolor='#eeeeec' align='right'>335136</td><td bgcolor='#eeeeec'>{main}(  )</td><td title='D:\work\rumb-software\htdocs\ru-wartur\www\public-html\index.php' bgcolor='#eeeeec'>..\index.php<b>:</b>0</td></tr>
</table></font>after notice generateafter xdebug_get_collected_errors
But!notice must layout after "after notice generate", as wrote in documentation.
My platformxampp 1.7.4 colection
Pleas help us with this problem becose at russian forums we do not know how do this, and at foreign internet too. This function described only in documentation, without setup comments. (may be need something change in config??? I do not find)
Thaks. I apologize for the trouble, xdebug is good product.
-- 
Best regards,
Artur Krivtsov,
http://wartur.ru/
-- 
Best regards,
Artur Krivtsov,
http://wartur.ru/
-- 
Best regards,
Artur Krivtsov,
http://wartur.ru/
 		 	   		  
Received on Thu Dec 15 2011 - 13:42:25 GMT

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