[Libreoffice-bugs] [Bug 97432] Breakpoints ignore when macro first run

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Dec 11 19:22:27 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=97432

--- Comment #9 from himajin100000 at gmail.com ---
What I learned from I created with my own debug build, it seems:

https://opengrok.libreoffice.org/xref/core/basic/source/classes/sbxmod.cxx?r=91937535#1160
https://opengrok.libreoffice.org/xref/core/basctl/source/basicide/baside2.cxx?r=62f3f3d9#1297
https://opengrok.libreoffice.org/xref/core/basctl/source/basicide/breakpoint.cxx?r=16da5e2c#73

https://opengrok.libreoffice.org/xref/core/basic/source/classes/sbxmod.cxx?r=91937535#1537

SbiRuntime is initialized here and set to pRun

https://opengrok.libreoffice.org/xref/core/basic/source/classes/sbxmod.cxx?r=91937535#1010

https://opengrok.libreoffice.org/xref/core/basic/source/classes/sbxmod.cxx?r=91937535#1029

RunGuard's only use is as below

https://opengrok.libreoffice.org/xref/core/basic/source/classes/sbxmod.cxx?r=91937535#1168

and at least to me, the following code is never run
https://opengrok.libreoffice.org/xref/core/basic/source/classes/sbxmod.cxx?r=91937535#1538

======
Mystery still remains in my mind, though. Why the breakpoints worked in the
second run?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20191211/91b1f718/attachment.htm>


More information about the Libreoffice-bugs mailing list