This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
hi friends... my first post, i installed early php netbeans and make my first php file: <html> <head> </head> <body> echo "Hello"; $x=1; $x=$x+20; $x=$x5; $strsql="Select * from mytable where id=".$x; echo $strsql; </body> </html> before running the php page i setup xdebug in my php.ini when check the phpinfo(); it say something: This program makes use of the Zend Scripting Language Engine: Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies with Xdebug v2.1.0-dev, Copyright (c) 2002-2007, by Derick Rethans xdebug xdebug supportenabled Version 2.1.0-dev Supported protocolsRevision DBGp - Common DeBuGger Protocol $Revision: 1.130 $ GDB - GNU Debugger protocol $Revision: 1.87 $ PHP3 - PHP 3 Debugger protocol $Revision: 1.22 $ DirectiveLocal ValueMaster Value xdebug.auto_traceOffOff 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.idekeyMIGUELENRIQUEZL$no 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/tmp/tmp xdebug.profiler_output_namecachegrind.out.%pcachegrind.out.%p xdebug.remote_autostartOffOff xdebug.remote_enableOffOff xdebug.remote_handlerdbgpdbgp xdebug.remote_hostlocalhostlocalhost xdebug.remote_logno valueno value xdebug.remote_modereqreq xdebug.remote_port90009000 xdebug.show_exception_traceOffOff xdebug.show_local_varsOffOff xdebug.show_mem_deltaOffOff xdebug.trace_format00 xdebug.trace_options00 xdebug.trace_output_dir/tmp/tmp xdebug.trace_output_nametrace.%ctrace.%c xdebug.var_display_max_children128128 xdebug.var_display_max_data512512 xdebug.var_display_max_depth33 i think i have been configured xdebug. then next step: i setup a breakpoint in line: echo "Hello"; (with Ctrl+F8) andthen hit Ctrl+f5 and not stop on the breakpoint, only the webpage display direct to Firefox browser: HelloSelect * from mytable where id=16 also i have installed FF2 + xdebug addon + firebug addon also too i followed: http://www.netbeans.org/kb/docs/php/debugging.html when i go to run->Main Project it run and not stop in the break point other thing, at the right-bottom corner show me a message: Waiting for connection (netbeans-xdebug) if stopping (click on the "x") show me the next message: Are you sure you want to cancel Waiting For Connection (netbeans-xdebug)? click on YES button then say: There is no connection from xdebug detected withing 178 seconds. The reason could be: *xdebug is not installed *xdebug is not properly configured. then the question is how debug a php file in early php netbeans? wich need configure in early php netbeans? searched and searched in google but not luck.................. thanks
> also too i followed: http://www.netbeans.org/kb/docs/php/debugging.html xdebug.remote_enable=1 versus xdebug.remote_enableOffOff doesn't seem to be the same > also i have installed FF2 + xdebug addon + firebug addon for your example (no javascript code) you don't need client side (javascript) debugging and thus also no firebug - anyway do not check client-side debugging if you were prompted Definitely change value of xdebug.remote_enable (On or 1) and should work
Please, reopen if still have problems with xdebug.