Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

'this' pointer is sometimes null when stepping through code in the debugger

$
0
0

I have run into a situation several times where an object's 'this' pointer is null when its value is viewed in the debugger. As a result, the values of properties and fields referenced off the bad 'this' pointer are not accessible. The code does not crash and I am able to step through the code but I can't tell if code is taking the correct branches because I cannot view the values referenced in conditional statements. Has anyone run into this before? Is this a known issue?


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>