Debugging 3DSMax Plugins
Members - Reputation: 222
Posted 30 December 2012 - 09:05 AM
For whatever reason visual studio does not detect that my plugin is loaded or hit breakpoints when I attach despite the fact that the plugin extension shows up in the export list and it says its loaded in the plugin manager.
What's the trick to debugging max plugins with visual studio? Because somewhere during the export it's crashing and it would be nice to be able to debug it.
Crossbones+ - Reputation: 1846
Posted 30 December 2012 - 09:13 AM
For whatever reason, I've never had luck attaching with a debugger to debug our plugin after Max is running. Instead, I always launch Max from the debugger, and that works fine. If you've never done this: you can open any EXE using the 'Open Project' dialog in Visual Studio (so just pick 3dsmax.exe), then when you choose 'Start Debugging' it will launch the program with the debugger already attached. HTH!
Crossbones+ - Reputation: 5571
Posted 30 December 2012 - 09:25 AM