"'LoaderLock' has detected a problem" when debugging with Map 2006

"'LoaderLock' has detected a problem" when debugging with Map 2006

Anonymous
Not applicable
1,568 Views
2 Replies
Message 1 of 3

"'LoaderLock' has detected a problem" when debugging with Map 2006

Anonymous
Not applicable
I create a new AutoCAD Managed C# project, with all default setting.
Build an starts to debug.
I got about a dozen of warnings saying:

Managed Debugging Assistant 'LoaderLock' has detected a problem in
'C:\Program Files\Autodesk Map 3D 2006\acad.exe'.
Additional Information: DLL 'C:\Program Files\Autodesk Map 3D
2006\FdoConfigUi.dll' is 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.

What's this?
Is it Map2006 that does something nasty.
I can't remember seeing this in my previuous attempts.

/Matt
0 Likes
1,569 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Go to VS menu Debug->Exceptions..., Expand "Managed Debuggung Assistants"
node, uncheck "Thrown" column for item "LoaderLock". Doing so means "I know
my debugging could cause Acad hanging. Do not warn me again, thanks."


"Matt" wrote in message
news:5516225@discussion.autodesk.com...
I create a new AutoCAD Managed C# project, with all default setting.
Build an starts to debug.
I got about a dozen of warnings saying:

Managed Debugging Assistant 'LoaderLock' has detected a problem in
'C:\Program Files\Autodesk Map 3D 2006\acad.exe'.
Additional Information: DLL 'C:\Program Files\Autodesk Map 3D
2006\FdoConfigUi.dll' is 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.

What's this?
Is it Map2006 that does something nasty.
I can't remember seeing this in my previuous attempts.

/Matt
0 Likes
Message 3 of 3

Anonymous
Not applicable
Yepp. That fixed it.
Thanks

/Matt


"Norman Yuan" wrote in message
news:5516492@discussion.autodesk.com...
Go to VS menu Debug->Exceptions..., Expand "Managed Debuggung Assistants"
node, uncheck "Thrown" column for item "LoaderLock". Doing so means "I know
my debugging could cause Acad hanging. Do not warn me again, thanks."


"Matt" wrote in message
news:5516225@discussion.autodesk.com...
I create a new AutoCAD Managed C# project, with all default setting.
Build an starts to debug.
I got about a dozen of warnings saying:

Managed Debugging Assistant 'LoaderLock' has detected a problem in
'C:\Program Files\Autodesk Map 3D 2006\acad.exe'.
Additional Information: DLL 'C:\Program Files\Autodesk Map 3D
2006\FdoConfigUi.dll' is 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.

What's this?
Is it Map2006 that does something nasty.
I can't remember seeing this in my previuous attempts.

/Matt
0 Likes