0

I cant see in code when a Tbitbtn change the value from enabled=true to =false.

Can I use the address of the bitbtn and add that a address breakpoint with condition bitbtn.enabled=false?

Or how to to do?

Whenever bitbtn.enabled become false I want the program to stop..

maths
  • 13
  • 3
  • 1
    That's called a conditional breakpoint. Right-click on your breakpoint, then Breakpoint Properties. There you'll see a Condition box. – John Easley Feb 17 '23 at 17:09
  • See: https://stackoverflow.com/questions/14164631/how-to-define-a-breakpoint-whenever-an-object-field-value-changes – Brian Feb 17 '23 at 17:12
  • The disabling is happening in the code somewhere I cant see where it is. So the breakpoint must be detecting when memory change, not when line is passed – maths Feb 18 '23 at 05:39
  • You want an event-driven debugger. – Freddie Bell Feb 21 '23 at 06:43

0 Answers0