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.
Created attachment 91288 [details] IDE log immediately after socket error I'm trying to debug an application that I have installed on my local machine, but the debugger is randomly generating socket errors and dying on me. When this happens, I get a message that if I have any watch variables, to remove them and try again, and if it still doesn't work to file a bug. I did, I did, and I am. I'll attach the IDE log separately. When this happens, I'm stepping through PHP code in local web server mode. I'll take a step (the last incident happened when I stepped out of a function; not sure of previous incidents) and nothing will happen, at least not visibly. So I wait a few seconds and then try clicking any of the step buttons again. Another few seconds passes, and then I get the error. It doesn't happen in the same place, nor does it happen every time. It does, however, happen often enough that I was convinced to file this bug report that I doubt will go anywhere :-). Note that I've seen this before, but the frequency is greater today, using the same version of NB. I'm also working on a new project, though, so that may have something to do with it. Product Version: NetBeans IDE 6.7.1 (Build 200907230233) Java: 1.6.0_15; Java HotSpot(TM) 64-Bit Server VM 14.1-b02-90 System: Mac OS X version 10.6.1 running on x86_64; MacRoman; en_US (nb) Userdir: /Users/bob/.netbeans/6.7 Cyrus:~ bob$ httpd -v Server version: Apache/2.2.11 (Unix) Server built: May 18 2009 12:37:03 Cyrus:~ bob$ php -c /etc/php.ini -i phpinfo() PHP Version => 5.3.0 System => Darwin Cyrus.local 10.0.0 Darwin Kernel Version 10.0.0: Fri Jul 31 22:47:34 PDT 2009; root:xnu-1456.1.25~1/RELEASE_I386 i386 [...] This program makes use of the Zend Scripting Language Engine: Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies with Xdebug v2.1.0-dev, Copyright (c) 2002-2009, by Derick Rethans [...] xdebug xdebug support => enabled Version => 2.1.0-dev Supported protocols => Revision DBGp - Common DeBuGger Protocol => $Revision: 1.138 $ GDB - GNU Debugger protocol => $Revision: 1.92 $ PHP3 - PHP 3 Debugger protocol => $Revision: 1.23 $ Directive => Local Value => Master Value xdebug.auto_trace => Off => Off xdebug.collect_assignments => Off => Off xdebug.collect_includes => On => On xdebug.collect_params => 0 => 0 xdebug.collect_return => Off => Off xdebug.collect_vars => Off => Off xdebug.default_enable => On => On xdebug.dump.COOKIE => no value => no value xdebug.dump.ENV => no value => no value xdebug.dump.FILES => no value => no value xdebug.dump.GET => * => * xdebug.dump.POST => * => * xdebug.dump.REQUEST => no value => no value xdebug.dump.SERVER => no value => no value xdebug.dump.SESSION => no value => no value xdebug.dump_globals => On => On xdebug.dump_once => On => On xdebug.dump_undefined => Off => Off xdebug.extended_info => On => On xdebug.file_link_format => no value => no value xdebug.idekey => bob => no value xdebug.manual_url => http://www.php.net => http://www.php.net xdebug.max_nesting_level => 100 => 100 xdebug.overload_var_dump => On => On xdebug.profiler_aggregate => Off => Off xdebug.profiler_append => Off => Off xdebug.profiler_enable => On => On xdebug.profiler_enable_trigger => On => On xdebug.profiler_output_dir => /Users/bob/Sites/ProfileData/ => /Users/bob/Sites/ProfileData/ xdebug.profiler_output_name => %s - %t => %s - %t xdebug.remote_autostart => Off => Off xdebug.remote_connect_back => Off => Off xdebug.remote_cookie_expire_time => 3600 => 3600 xdebug.remote_enable => On => On xdebug.remote_handler => dbgp => dbgp xdebug.remote_host => 127.0.0.1 => 127.0.0.1 xdebug.remote_log => /Users/bob/Sites/Logs/xdebug.txt => /Users/bob/Sites/Logs/xdebug.txt xdebug.remote_mode => req => req xdebug.remote_port => 19000 => 19000 xdebug.scream => Off => Off xdebug.show_exception_trace => Off => Off xdebug.show_local_vars => Off => Off xdebug.show_mem_delta => Off => Off xdebug.trace_format => 0 => 0 xdebug.trace_options => 0 => 0 xdebug.trace_output_dir => /tmp => /tmp xdebug.trace_output_name => trace.%c => trace.%c xdebug.var_display_max_children => 128 => 128 xdebug.var_display_max_data => 512 => 512 xdebug.var_display_max_depth => 3 => 3
Hi, i will let the developer to evaluate. However, I get this only when watches are set before debug session is started - this is not netbeans bug. Would you try debugging with nb6.8? you can get development build on bertram.netbeans.org/hudson/job/PHP-build. Thanks.
Can you attach the log file? File: /Users/bob/Sites/Logs/xdebug.txt
*** This bug has been marked as a duplicate of bug 173147 ***