<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Breakpoints ignore when macro first run"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=97432#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Breakpoints ignore when macro first run"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=97432">bug 97432</a>
from <span class="vcard"><a class="email" href="mailto:himajin100000@gmail.com" title="himajin100000@gmail.com">himajin100000@gmail.com</a>
</span></b>
<pre>What I learned from I created with my own debug build, it seems:
<a href="https://opengrok.libreoffice.org/xref/core/basic/source/classes/sbxmod.cxx?r=91937535#1160">https://opengrok.libreoffice.org/xref/core/basic/source/classes/sbxmod.cxx?r=91937535#1160</a>
<a href="https://opengrok.libreoffice.org/xref/core/basctl/source/basicide/baside2.cxx?r=62f3f3d9#1297">https://opengrok.libreoffice.org/xref/core/basctl/source/basicide/baside2.cxx?r=62f3f3d9#1297</a>
<a href="https://opengrok.libreoffice.org/xref/core/basctl/source/basicide/breakpoint.cxx?r=16da5e2c#73">https://opengrok.libreoffice.org/xref/core/basctl/source/basicide/breakpoint.cxx?r=16da5e2c#73</a>
<a href="https://opengrok.libreoffice.org/xref/core/basic/source/classes/sbxmod.cxx?r=91937535#1537">https://opengrok.libreoffice.org/xref/core/basic/source/classes/sbxmod.cxx?r=91937535#1537</a>
SbiRuntime is initialized here and set to pRun
<a href="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#1010</a>
<a href="https://opengrok.libreoffice.org/xref/core/basic/source/classes/sbxmod.cxx?r=91937535#1029">https://opengrok.libreoffice.org/xref/core/basic/source/classes/sbxmod.cxx?r=91937535#1029</a>
RunGuard's only use is as below
<a href="https://opengrok.libreoffice.org/xref/core/basic/source/classes/sbxmod.cxx?r=91937535#1168">https://opengrok.libreoffice.org/xref/core/basic/source/classes/sbxmod.cxx?r=91937535#1168</a>
and at least to me, the following code is never run
<a href="https://opengrok.libreoffice.org/xref/core/basic/source/classes/sbxmod.cxx?r=91937535#1538">https://opengrok.libreoffice.org/xref/core/basic/source/classes/sbxmod.cxx?r=91937535#1538</a>
======
Mystery still remains in my mind, though. Why the breakpoints worked in the
second run?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>