Setting a breakpoint if variable changes?
Posted: Sun Oct 09, 2022 2:45 pm
Is it possible to set a breakpoint on a specific variable when it changes the value?
Thanks.
Saso
Thanks.
Saso
http://www.purebasic.com
https://www.purebasic.fr/english/
Code: Select all
Global i, var
CallDebugger
For i = 1 To 100
If i = 10
var = 1
EndIf
Next
I've been using Purbasic since 2005. I've seen it for a while, but I tried it for the first time.STARGÅTE wrote: Sun Oct 09, 2022 6:08 pm![]()
I've been using PureBasic since 2004, but I saw this feature for the first time today.
Good to know, thanks.
I use Watchlist all the time. But in my case I would have to press F8/F11... to many times because I am not sure when change happens.BarryG wrote: Sun Oct 09, 2022 10:22 pm Another fantastic debugging feature is the Watchlist. This is a window that shows real-time updates of any variables that you nominate, so you can see them as they change without needing to use the Debug() command everywhere.