Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 327967

Summary: 'Use Step Filters' button wont be enabled after starting with toggle off
Product: z_Archived Reporter: Toshihiro Izumi <euthanasia_waltz>
Component: PDTAssignee: PHP Debug <php.debug-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: zulus
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
See Also: https://git.eclipse.org/r/156211
https://git.eclipse.org/r/156274
https://git.eclipse.org/c/pdt/org.eclipse.pdt.git/commit/?id=0478a2b4da49fe6657ef0918453eef2c57a00160
Whiteboard:

Description Toshihiro Izumi CLA 2010-10-16 02:40:34 EDT
Steps to reproduce:

Example 1

1. Preferences > PHP > Debug > Step Filtering, check 'Use Step Filters'.
2. Start debugging.
3. When stopped at first line, toggle off 'Use Step Filters' button.
4. Continue (to the end).
5. Start debugging again.
6. When stopped at first line, 'Use Step Filters' button is disabled and it cannot be enabled.

Example 2

1. Preferences > PHP > Debug > Step Filtering, check 'Use Step Filters'.
2. Start debugging with breakpoints.
3. When stopped at first line, toggle off 'Use Step Filters' button.
4. Continue (to the breakpoint).
5. When stopped at breakpoint, 'Use Step Filters' button is disabled and it cannot be enabled.


see
org.eclipse.php.internal.debug.core.zend.model.PHPDebugTarget.supportsStepFilters()
see also
org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget.supportsStepFilters()

(maybe the button should be disabled if there is no enabled filter?)
Comment 1 Eclipse Genie CLA 2020-01-20 12:44:30 EST
New Gerrit change created: https://git.eclipse.org/r/156211
Comment 2 Eclipse Genie CLA 2020-01-21 11:33:59 EST
New Gerrit change created: https://git.eclipse.org/r/156274