[Bug 719684] New: xdebug will not break on a breakpoint set inside a function
https://bugzilla.novell.com/show_bug.cgi?id=719684 https://bugzilla.novell.com/show_bug.cgi?id=719684#c0 Summary: xdebug will not break on a breakpoint set inside a function Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: x86-64 OS/Version: openSUSE 11.4 Status: NEW Severity: Major Priority: P5 - None Component: Apache AssignedTo: bnc-team-apache@forge.provo.novell.com ReportedBy: reg@seowebsales.com QAContact: qa@suse.de Found By: --- Blocker: --- Created an attachment (id=452401) --> (http://bugzilla.novell.com/attachment.cgi?id=452401) phpinfo() output User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110613 SUSE/3.6.18-0.2.1 Firefox/3.6.18 I can't tell you any more than the title really. I set a breakpoint anywhere inside a function and the xdebug won't stop. If I set a breakpoint right on a function definition line it always breaks like it should. E.g.: Given the 5 lines of code below the only place a breakpoint would work is line 1. 1 function muchomenu_edit_item($form, &$form_state, $type, $item, $menu) { 2 if ($type == 'add' || empty($item)) { 3 $menu_id = isset($menu['id']) ? $menu['id'] : 0; 4 } 5 } My setup is I am using remote debugging the client being netbeans. I can't see this having anything to do with newbeans since it does break and xdebug does show everything working right when I tail the log file it creates. I made numerous changes to the xdebug configuration switches and got no change. I will put the current setup below. Also, I'll attach a phpinfo() output so you can see the full php configuration. The one difference being is that the output you will see from phpinfo() will show xcahce enabled. When I was using xdebug xcache was disabled since optimizers can interfere with xdebug. Reproducible: Always Steps to Reproduce: 1. 2. 3. Actual Results: As I described. Expected Results: Breakpoint stop code execution wherever a breakpoint is allowed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=719684 https://bugzilla.novell.com/show_bug.cgi?id=719684#c1 --- Comment #1 from Reg Proctor <reg@seowebsales.com> 2011-09-22 08:32:02 UTC --- Alomost forgot, current xdebug options: File Edit Options Buffers Tools Conf Help zend_extension = "/usr/lib64/php5/extensions/xdebug.so" ;xdebug.allowed_clients = xdebug.auto_trace = 1 xdebug.cli_color = 1 xdebug.collect_includes = 1 xdebug.collect_params = 3 xdebug.collect_return = 1 xdebug.collect_vars = 1 xdebug.coverage_enable = 1 xdebug.default_enable = 1 ;xdebug.dump.COOKIE = ;xdebug.dump.ENV = ;xdebug.dump.FILES = ;xdebug.dump.GET = ;xdebug.dump_globals = 1 ;xdebug.dump_once = 1 ;xdebug.dump.POST = ;xdebug.dump.REQUEST = ;xdebug.dump.SERVER = ;xdebug.dump.SESSION = ;xdebug.dump_undefined = 0 xdebug.extended_info = 1 ;xdebug.file_link_format = xdebug.idekey = netbeans-xdebug ;xdebug.manual_url = http://www.php.net ;xdebug.max_nesting_level = 100 ;xdebug.profiler_aggregate = 0 ;xdebug.profiler_append = 0 ;xdebug.profiler_enable = 0 ;xdebug.profiler_enable_trigger = 0 xdebug.profiler_output_dir = "/tmp/xdebug" ;xdebug.profiler_output_name = crc32 ;xdebug.remote_autostart = 0 xdebug.remote_enable = 1 ;xdebug.remote_handler = dbgp xdebug.remote_host = 192.168.17.153 xdebug.remote_log = /var/log/xdebug.log ;xdebug.remote_mode = req ;xdebug.remote_port = 9000 xdebug.show_exception_trace = 1 xdebug.show_local_vars = 1 xdebug.show_mem_delta = 1 ;xdebug.trace_format = 0 ;xdebug.trace_options = 0 xdebug.trace_output_dir = "/tmp/xdebug" ;xdebug.trace_output_name = crc32 ;xdebug.var_display_max_children = 128 ;xdebug.var_display_max_data = 512 xdebug.var_display_max_depth = 5 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=719684 https://bugzilla.novell.com/show_bug.cgi?id=719684#c2 Reg Proctor <reg@seowebsales.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #2 from Reg Proctor <reg@seowebsales.com> 2011-11-13 00:42:50 UTC --- This was fixed through one the numerous PHP fixes that have been coming through. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com