| Summary: | 'Step filters' cannot be enabled using Xdebug | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Bastian Feder <lapistano> |
| Component: | PDT | Assignee: | PHP Debug <php.debug-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | zulus |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
There are 2 items here. 1. There may be a problem with the filters page as I believe filters should work for the zend debugger. 2. Step filters are not honoured by the xdebug debugger. There is an enhancement bugzilla entry for this. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=262983 (In reply to comment #1) Hey, thanks for the quick answer and thanks for pin pointing me to the bug. I did search for an existing bug, but unfortunately did not find it. Preference page works correctly. Filters are saved. Xdebug support is requested in bug 262983 |
Go to Window > Preferences > PHP > Debug > Step Filters , enable it and and e.g. a directory to the list of filters. Press [Apply] and [Ok], then reopen the Preferences dialog. The Step filters are disabled again. Thinking this is only a display bug, I started a local debugging session and enable 'step filtering'. Seems this setting is still not active or gets ignored. If I use (F5) to step in every depth of the debugged code It also hits the filtered dirs. Unfortunately I also could not find any proper documentation on this topic to verify its behavior. I am using : $> uname Linux 2.6.32-24-generic-pae #42-Ubuntu SMP Fri Aug 20 15:37:22 UTC 2010 i686 GNU/Linux $> php -v Copyright (c) 1997-2009 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies with Xdebug v2.1.0, Copyright (c) 2002-2010, by Derick Rethans -- Eclipse for PHP Developers Version: Helios Release Build id: 20100617-1415