简体   繁体   中英

how to inspect a c# (unsafe) pointer variable in visual studio debugger?

the pointer variable only shows as a hex address:

VS 调试器

how to make it expandable for watching the fields and sub-object (as in c++)?

NOTE: , I have tried both in VS2019 and Visual Studio for Mac , none of them support this. and googled a lot of keywords but there's no any related topics. wondering is there no one need this feature?

I did some testing and were always able to extend the pointer info, but i guess you can add a "watch" where you dereference the pointer. so try adding "*ip" to your watch please.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM