Debugging plugins

Hi
 
When I debug a plugin, I quite often get the exception below when pressing a key:
 
"Message: Attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image initialization function since doing so can cause the application to hang."
 
Any idea of why and how to avoid it?
 
Thanks
--Jakob
]]>

1 comment
Comment actions Permalink

Hello Jakob,

I think that the most plausible thing is to disable this warning: Debug|Exceptions|Managed
Debugging Assistants|Loader Lock.


Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


Hi

When I debug a plugin, I quite often get the exception below when
pressing a key:

"Message: Attempting managed execution inside OS Loader lock. Do not
attempt to run managed code inside a DllMain or image initialization
function since doing so can cause the application to hang."

Any idea of why and how to avoid it?

Thanks
--Jakob



0

Please sign in to leave a comment.