https://bugs.documentfoundation.org/show_bug.cgi?id=97432
Bug ID: 97432 Summary: Breakpoints ignore when macro first run Product: LibreOffice Version: 5.1.0.2 rc Hardware: x86-64 (AMD64) OS: Linux (All) Status: UNCONFIRMED Severity: normal Priority: medium Component: BASIC Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: t...@tim-passingham.co.uk Created attachment 122274 --> https://bugs.documentfoundation.org/attachment.cgi?id=122274&action=edit Test database When a breakpoint is set in a BAsic Macro, the first time the routine is executed the breakpoint is ignored. This can be baffling at times. Open the attached database. Open the macros: Tools, Macros, Organise Macros, LibreOffice Basic Under testbreakpoint.odb, Standard, Module1 select the TestBreakpoint macro and Edit. Put a breakpoint on the line: oCodeRun.Text = "Code Run" Leave the Macro page open and go back to the BASE home page for this database and open the Table1 Form. Press the button marked 'Press'. Look at the Macro page - the breakpoint has not been executed, but the code has been, and the field below the Press button contains 'Code Run', proving that the macro has been executed without a breakpoint. Now press the button marked 'Press' again. Look at the Macro page - the breakpoint has been executed this time and code is halted. -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs