<div dir="ltr"><div>For scenario number two, change the declaration of the variable to property and set the breakpoint in write event.</div><div><br></div><div>Jussi<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Aug 24, 2019 at 4:25 PM KKing <<a href="mailto:kicking177@gmail.com">kicking177@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Is there or could there be a way to set breakpoints programmatically?<br>
<br>
Scenario number one:<br>
<br>
Because of how my code is currently fashioned, I have catch statements <br>
at end of most routines and prepare output to a trace log from error <br>
object content. While I'm debugging issues it would be really useful to <br>
have breakpoints set automatically on the the first line after the catch <br>
statement (in all classes and modules)<br>
<br>
<br>
Scenario number two:<br>
<br>
If I establish a variable is being populated incorrectly, being able to <br>
set a breakpoint on any occurrence of where it is be set (not comparison <br>
of) would be handy rather than having to manually search for all of <br>
these and setting breakpoints manually on each and every.<br>
<br>
K.<br>
<br>
<br>
----[ Gambas mailing-list is hosted by <a href="https://www.hostsharing.net" rel="noreferrer" target="_blank">https://www.hostsharing.net</a> ]----<br>
</blockquote></div>