nfordbscndrd Well-Known Member Licensed User Longtime User May 10, 2011 #1 Something like: If A = B Then Stop This isn't urgent, since I'm now using If A = B Then MsgBox("Stop on line ####","") but then I have to find the line. (The reason is that if I have to put a break point into a sub that gets called 100 times and I'm only interested in breaking under certain conditions, I have to sit there pressing F5 100 times until the conditions come up.)
Something like: If A = B Then Stop This isn't urgent, since I'm now using If A = B Then MsgBox("Stop on line ####","") but then I have to find the line. (The reason is that if I have to put a break point into a sub that gets called 100 times and I'm only interested in breaking under certain conditions, I have to sit there pressing F5 100 times until the conditions come up.)
nfordbscndrd Well-Known Member Licensed User Longtime User May 10, 2011 #2 It just dawned on me this morning that instead of If A = B Then MsgBox("Stop","") I could put B4X: If A = B Then MsgBox("Stop,"") end if and put a break point on the MsgBox line to get a conditional break.
It just dawned on me this morning that instead of If A = B Then MsgBox("Stop","") I could put B4X: If A = B Then MsgBox("Stop,"") end if and put a break point on the MsgBox line to get a conditional break.