Autodesk Inventor
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Debugging in Inventor 2012 with AddIn referenced through the .addin file.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Has anyone been able to set up their debugging environment for 2012 Inventor AddIns? I have folllowed instructions from the 2012 Inventor SDK and the AddIn is correctly used by the app. However I keep getting messages about invalid or nonexistent debugging info and my breakpoints are never hit. Where should the .pdb file for the addin be placed?
Solved! Go to Solution.
Re: Debugging in Inventor 2012 with AddIn referenced through the .addin file.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi,
In general, you should make sure that the pdb is in the same folder with the module. Please check the path of the addin module in your manifest file(.addin). If it is relative path, you should put the pdb to Inventor bin folder. If it is absolute path, you should put the pdb to the folder of the module.
Thanks,
Marshal

Marshal Tu
Sr SW Engineer
MFG
Autodesk, Inc.
Re: Debugging in Inventor 2012 with AddIn referenced through the .addin file.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Re: Debugging in Inventor 2012 with AddIn referenced through the .addin file.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi,
The error is telling you that you have a pointer to a COM object that went away. It may be an issue in your codes. Please check.
Thanks,
Marshal

Marshal Tu
Sr SW Engineer
MFG
Autodesk, Inc.
Re: Debugging in Inventor 2012 with AddIn referenced through the .addin file.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Re: Debugging in Inventor 2012
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Re: Debugging in Inventor 2012 with AddIn referenced through the .addin file.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
You will probably get more responses in the Inventor Customization forum.
Inventor 2012 Certified Professional
Please click "Accept as Solution" if this response answers your question.
-------------------------------------------------------------------------------------
Inventor Professional 2012 SP1
Windows XP Pro 32-bit, SP3
HP EliteBook 8730w; 4 GB RAM; Core™ 2 Duo T9400 2.53 GHz; Quadro FX2700M
SpaceExplorer/SpaceNavigator NB, driver 3.7.18
still waiting for a foreshortened radius dimensioning tool
Re: Debugging in Inventor 2012
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
The loading Mechanism has slightly changed in inventor 2012
Run wizards.exe in SDk Folder
a template will be added to ur VS 2010
to load an addin
copy the dll file to
\programdata\Autodesk \inventor 2012\addins
and copy the manifest(.addin) to the same directory
this should work
----------------------------------------------------------------------------------------------
Ravi Kumar MB,
i7 860 Dell Studio XPS Win 7 64 bit 8Gb RAM
Autodesk Product Design Suite Ultimate 2012
Email: ravikmb5@gmail.com , skype id: ravikmb5,
Re: Debugging in Inventor 2012
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
This is actually for a dll that is being triggered through iLogic.
Re: Debugging in Inventor 2012
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
A coworker of mine is having the same issue running completely different code. We are trying to debug Inventor 2012 64-bit with Visual Studios 2010 Professional. We are setting up our assemblies to fire a DLL to perform some automation. We can manually attach Visual Studio to the Inventor process and debug works fine. However, this is an inconvenient/unnecessary step when trying to debug.



