简体   繁体   中英

See in which AppDomain an object is loaded

When inspecting an object in the debugger, is it possible to see in which AppDomain the object is loaded? I mean: without coding any properties or methods in the object that return the current AppDomain. The various windows in the Visual Studio menu (Debug > Windows) do not seem to show this information at the object level.

Visual studio -> debug -> windows -> modules

You can use SOS.dll for this, there's a good article on it on MSDN here

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