Bug 42778

Summary: IDE: Breakpoints Pass Count doesn't work
Product: LibreOffice Reporter: Niklas Johansson <sleeping.pillow>
Component: BASICAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: 3.4.3 release   
Hardware: Other   
OS: All   
Whiteboard: BSA
i915 platform: i915 features:

Description Niklas Johansson 2011-11-10 03:32:12 UTC
Problem description: 

Steps to reproduce:
1. Open the Basic IDE (Alt+F11)
2. create a new macro something like
Sub testBreakpointsPassCount
    For i = 0 To 5
        MsgBox i
    Next
End Sub
3. Put a breakpoint on the middle row with the text "MsgBox i" Go to Manage Breakpoints and put in a number (for example 2) in "Pass Count"
4. Press OK
5.Open up Manage Breakpoints again and you'll see that your breakpoint is all messed up

Current behavior:
Your breakpoint moves or it will work as a normal breakpoint and stop the first time

Expected behavior:
It should pass the breakpoint the number of times entered without stopping and the stop the next time

Platform (if different from the browser): 
Seen the behavior with Mac OS X 10.5.8, LibreOffice 3.4.3
and with Win 7 64-bit, LibreOffice 3.4.4
              
Browser: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
Comment 1 Niklas Johansson 2011-11-10 09:41:46 UTC
Works as expected in LibreOffice 3.3.3 and LibreOffice 3.3.4 on Windows XP.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.