Red Gate forums :: View topic - Unhandled .NET exception in memory profiler
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Memory Profiler 8
ANTS Memory Profiler 8 forum

Unhandled .NET exception in memory profiler

Search in ANTS Memory Profiler 8 forum
Post new topic   Reply to topic
Jump to:  
Author Message
ct



Joined: 12 Aug 2014
Posts: 3

PostPosted: Tue Aug 12, 2014 11:39 am    Post subject: Unhandled .NET exception in memory profiler Reply with quote

The .NET memory profiler version 8.2 crashed while profiling with an unhandled .NET exception (but the profiled process did not crash).

Now, trying to start the profiler against the same process id reports "ANTS Memory Profiler couldn't attach to the process you selected, because another profiler is already attached to this process".

How can I clear that "flag"?
Back to top
View user's profile Send private message
jessica.ramos



Joined: 23 Apr 2012
Posts: 235

PostPosted: Wed Aug 13, 2014 4:26 pm    Post subject: Reply with quote

Hello,

Thanks for your post!

ANTS needs to set the COR_PROFILER and COR_ENABLE_PROFILING environment variables to profile your application. To clear these leftover variables from the session that ended badly, could you kindly open your registry (regedit) and search for any COR_ENABLE_PROFILING=1 and COR_PROFILER={a GUID} key pairs? Please delete them, restart your application, and you should be able to profile again. Please let us know should any issues persist!

Thanks,
_________________
Jessica Ramos
Technical Support
Red Gate Software Ltd.
Back to top
View user's profile Send private message
ct



Joined: 12 Aug 2014
Posts: 3

PostPosted: Fri Aug 15, 2014 12:24 pm    Post subject: Reply with quote

Thanks - I have not tried it, but I will the next time the app fails.
Back to top
View user's profile Send private message
jessica.ramos



Joined: 23 Apr 2012
Posts: 235

PostPosted: Fri Aug 15, 2014 4:20 pm    Post subject: Reply with quote

No worries, please let us know if any issues persist!
_________________
Jessica Ramos
Technical Support
Red Gate Software Ltd.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group