Visual Studio - Debugging has stopped working

Visual Studio - Debugging has stopped working

Anonymous
Not applicable
2,710 Views
5 Replies
Message 1 of 6

Visual Studio - Debugging has stopped working

Anonymous
Not applicable

Suddenly I can no longer debug my VS Addin. (Addin is working, without debug.)

Does not seem to be related to my code. Tried to restore old version from repository which was working, but problem remains.

Windows 10, Inventor 2019, VS Community edition

 

Any idea, whats happening?

 

Faulting application name: Inventor.exe, version: 23.40.33094.0, time stamp: 0x5de8f6b9
Faulting module name: ntdll.dll, version: 10.0.17763.1192, time stamp: 0x5854f5da
Exception code: 0xc0000008
Fault offset: 0x00000000000a358a
Faulting process id: 0x3578
Faulting application start time: 0x01d6327291e16809
Faulting application path: C:\Program Files\Autodesk\Inventor 2019\Bin\Inventor.exe
Faulting module path: C:\WINDOWS\SYSTEM32\ntdll.dll
Report Id: 030b5ab3-6ad8-419c-bf8a-67b608c09e05
Faulting package full name: 
Faulting package-relative application ID: 

 

 

Microsoft Visual Studio Community 2019
Version 16.3.6
VisualStudio.16.Release/16.3.6+29418.71
Microsoft .NET Framework
Version 4.8.03761

Installed Version: Community

 

 

 

'Inventor.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll'. Symbols loaded.
'Inventor.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Program Files\Autodesk\Inventor 2019\Bin\WpfHost.dll'. 
'Inventor.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Program Files\Autodesk\Inventor 2019\Bin\InvAIRLookContent.dll'. 
'Inventor.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Program Files\Autodesk\Inventor 2019\Bin\InvIPC.dll'. 
'Inventor.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\WindowsBase\v4.0_4.0.0.0__31bf3856ad364e35\WindowsBase.dll'. Symbols loaded.
'Inventor.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll'. Symbols loaded.
'Inventor.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll'. Symbols loaded.
'Inventor.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_64\PresentationCore\v4.0_4.0.0.0__31bf3856ad364e35\PresentationCore.dll'. Symbols loaded.
'Inventor.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Program Files\Autodesk\Inventor 2019\Bin\InvUIModelBrowser.dll'. 
'Inventor.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Program Files\Autodesk\Inventor 2019\Bin\InvUIModelPropertyPanel.dll'. 
'Inventor.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Program Files\Autodesk\Inventor 2019\Bin\InvDockUI.dll'. 
'Inventor.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework\v4.0_4.0.0.0__31bf3856ad364e35\PresentationFramework.dll'. Symbols loaded.
'Inventor.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xaml\v4.0_4.0.0.0__b77a5c561934e089\System.Xaml.dll'. Symbols loaded.
'Inventor.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Program Files\Autodesk\Inventor 2019\Bin\AdWindows.dll'. 
'Inventor.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Users\CHRIST~1.LA\AppData\Local\Temp\VisualStudio.XamlDiagnostics.14512\Microsoft.VisualStudio.DesignTools.WpfTap.dll'. Symbols loaded.
'Inventor.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Program Files\Autodesk\Inventor 2019\Bin\InvTutorial.dll'. 
'Inventor.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Program Files\Autodesk\Inventor 2019\Bin\WpfAppPage.dll'. 
'Inventor.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Program Files\Autodesk\Inventor 2019\Bin\InvAIRLookResources.dll'. 
'Inventor.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Program Files\Autodesk\Inventor 2019\Bin\FlowRibbon.dll'. 
'Inventor.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll'. Symbols loaded.
'Inventor.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll'. Symbols loaded.
'Inventor.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\WindowsFormsIntegration\v4.0_4.0.0.0__31bf3856ad364e35\WindowsFormsIntegration.dll'. Symbols loaded.
'Inventor.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll'. Symbols loaded.
'Inventor.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\SMDiagnostics\v4.0_4.0.0.0__b77a5c561934e089\SMDiagnostics.dll'. Symbols loaded.
'Inventor.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Internals\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Internals.dll'. Symbols loaded.
The thread 0x5208 has exited with code 0 (0x0).
'Inventor.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Program Files\Autodesk\Inventor 2019\Bin\InvRibbonUIResources.dll'. 
'Inventor.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll'. Symbols loaded.
'Inventor.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Program Files\Autodesk\Inventor 2019\Bin\en-US\InvRibbonUIResources.resources.dll'. Module was built without symbols.
'Inventor.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Program Files\Autodesk\Inventor 2019\Bin\en-US\WpfAppPage.resources.dll'. Module was built without symbols.
'Inventor.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework.Aero2\v4.0_4.0.0.0__31bf3856ad364e35\PresentationFramework.Aero2.dll'. Symbols loaded.
'Inventor.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Program Files\Autodesk\Inventor 2019\Bin\AdUIModel.dll'. 
'Inventor.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Program Files\Autodesk\Inventor 2019\Bin\AdApplicationFrame.dll'. 
'Inventor.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Program Files\Autodesk\Inventor 2019\Bin\en-US\InvAIRLookContent.resources.dll'. Module was built without symbols.
'Inventor.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Program Files\Autodesk\Inventor 2019\Bin\InvAIRLookImages.dll'. Module was built without symbols.
'Inventor.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework-SystemXml\v4.0_4.0.0.0__b77a5c561934e089\PresentationFramework-SystemXml.dll'. Symbols loaded.
Exception thrown: 'System.IO.IOException' in PresentationFramework.dll
Exception thrown: 'System.IO.IOException' in PresentationFramework.dll
Exception thrown: 'System.IO.IOException' in PresentationFramework.dll
Exception thrown: 'System.IO.IOException' in PresentationFramework.dll
Exception thrown: 'System.IO.IOException' in PresentationFramework.dll
Exception thrown: 'System.IO.IOException' in PresentationFramework.dll
Exception thrown: 'System.IO.IOException' in PresentationFramework.dll
Exception thrown: 'System.IO.IOException' in PresentationFramework.dll
Exception thrown: 'System.IO.IOException' in PresentationFramework.dll
Exception thrown: 'System.IO.IOException' in PresentationFramework.dll
Exception thrown: 'System.IO.IOException' in PresentationFramework.dll
Exception thrown: 'System.IO.IOException' in PresentationFramework.dll
Exception thrown: 'System.IO.IOException' in PresentationFramework.dll
Exception thrown: 'System.IO.IOException' in PresentationFramework.dll
Exception thrown: 'System.IO.IOException' in PresentationFramework.dll
The program '[14512] Inventor.exe' has exited with code -1073741816 (0xc0000008) 'An invalid handle was specified'.

 

 

0 Likes
Accepted solutions (1)
2,711 Views
5 Replies
Replies (5)
Message 2 of 6

Anonymous
Not applicable
0 Likes
Message 3 of 6

tobias.orlow
Alumni
Alumni

Hi @Anonymous ,

 

Did you have some luck by uninstalling the Windows update for checking if it was the cause?

You could also try running the Inventor Reset Utility to see if the User Profile got somehow corrupted.

 

Opening Inventor regularly works as expected?

Another thing to try would be to open Inventor, uncheck all "Automatically load" boxes in the Addins panel and then try debugging it again in order to see if it's caused by a specific Addin.

 

Let me know if any of this helps.

 

Many thanks,

Tobias

Tobias Orlow
Designated Support Specialist
Customer Success Organization
Linkedin: www.linkedin.com/in/tobiasorlow/
0 Likes
Message 4 of 6

Anonymous
Not applicable

Thanks Tobias, but already been there.

 

Uninstalled the windows servicepacks.

Addin works fine when loading without debugging.

Reset Inventor

Tried to run with a different user

Updated Visual studio

 

nothing helps.

It still crashes on the ntdll.dll

😞

 

 

 

 

0 Likes
Message 5 of 6

tobias.orlow
Alumni
Alumni
Accepted solution

Workaround identified was to start Inventor and then attach to process via VS, this works well. 2020/2021 didn't throw the same exception on startup and work fine.

Tobias Orlow
Designated Support Specialist
Customer Success Organization
Linkedin: www.linkedin.com/in/tobiasorlow/
0 Likes
Message 6 of 6

infoQ82EV
Contributor
Contributor

Can you tell how to "attach to process" for debugging after starting? I am trying with inv 2021 and the programm at start" option which seems to not work and the addin seems to have a problem i would like to debug to get further information about the problem, but it just unloads directly and never entering the activate at all. Now that i found this post here describing just that I would like to give the workaround a try to maybe fix my problem on this also

0 Likes