A variable changes value at break point without doing anything

Trädvy Permalänk
Medlem
Plats
Stockholm
Registrerad
Nov 2010

A variable changes value at break point without doing anything

Debug multithread Application Visual Studio 2015
I have got a peculiar problem. In my multithreaded application I have an argument which cannot be null. I set a breakpoint there and then run the application. It then hits the breakpoint and the argument is null. I then just set the curser elsewhere and then go back to the null argument which now is now set to string.
Has anybody any ideas what this can be?