[Gambas-user] Programmatic / Scriptable way to set breakpoints

Jussi Lahtinen jussi.lahtinen at gmail.com
Sat Aug 24 22:38:33 CEST 2019


For scenario number two, change the declaration of the variable to property
and set the breakpoint in write event.

Jussi

On Sat, Aug 24, 2019 at 4:25 PM KKing <kicking177 at gmail.com> wrote:

> Is there or could there be a way to set breakpoints programmatically?
>
> Scenario number one:
>
> Because of how my code is currently fashioned, I have catch statements
> at end of most routines and prepare output to a trace log from error
> object content. While I'm debugging issues it would be really useful to
> have breakpoints set automatically on the the first line after the catch
> statement (in all classes and modules)
>
>
> Scenario number two:
>
> If I establish a variable is being populated incorrectly, being able to
> set a breakpoint on any occurrence of where it is be set (not comparison
> of) would be handy rather than having to manually search for all of
> these and setting breakpoints manually on each and every.
>
> K.
>
>
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20190824/284e14be/attachment.html>


More information about the User mailing list