Conditional breakpoint doesn't work

I created a WPF app. I put a breakpoint on a line. I went into the conditional dialog and put in “tablename = ‘VSDS_SURVEY_INSTRUMENTS’” and when run, it never stopped at that point even though the tablename WAS ‘VSDS_SURVEY_INSTRUMENTS’ because I could see it in the output.

I’m guessing the problem MIGHT be because the code was executing in an async backgroundworker thread and not the main executable thread.

the same BP works unconditionally?

yes. I’d want to try it again to be absolutely sure, but I’m pretty sure. I’ll test it out tomorrow. But my recollection is that I had another breakpont in that same routine that was not conditional and it worked.

ok. a complete test case would be appreciated.

Sorry to say I can’t reproduce the problem. I’ve changed my code around since then so either that changed things, OR, maybe I really didn’t put the breakpoint at the right place.

I guess best to forget about this one unless it happens to me again. Thanks anyway.

:frowning: damn.