Mr-BlueSummers
07-04-2007, 06:37 AM
It's been a long time, but I'm once again trying to get a 3dsMax SDK based plug-in to debug using Visual Studio. I'm starting to think this is some kind of Autodesk trick to get students to just kill themselves.
I would like this thread to be the Be-All-End-All thread about getting Visual Studio and 3dsMax to play well together. Here're my steps so far:
1. Install the SDK alongside the 3dsMax root folder.
2. Open a sample-code project from the SDK installation, say ASCIIEXP under the import/export folder.
3. Set a breakpoint somewhere, say asciiexp.cpp @ L212
4. Build it to debug using a hybrid configuration.
5. Specify the use of .../<root>/3dsMax.exe
**KABOOM**<<Debugging information for '3dsmax.exe' cannot be found or does not match. No symbols loaded.>>
I'm under the impression that this means that 3dsMax has no way of telling VS when it has hit a breakpoint, meaning no debugging. :sad:
6. Rebuild the solution without running it through the 3dsMax.exe process.
7. Copy over the entire Hybrid folder into the stdplugs, and remove the ASCII DLL to prevent conflicts.
8. Restart 3dsMax and try to export. The module is gone- no errors, but no ASCII Export.
9. Try attaching the process from Visual Studio while 3dsMax is running on allegedly loading that "Hybrid" folder on startup. Still nothing.
10. Restart 3dsM and try to attach to process one more time for good measure. Still nothing.
Any thoughts? Has anyone actually gotten this to work?
Thanks!
I would like this thread to be the Be-All-End-All thread about getting Visual Studio and 3dsMax to play well together. Here're my steps so far:
1. Install the SDK alongside the 3dsMax root folder.
2. Open a sample-code project from the SDK installation, say ASCIIEXP under the import/export folder.
3. Set a breakpoint somewhere, say asciiexp.cpp @ L212
4. Build it to debug using a hybrid configuration.
5. Specify the use of .../<root>/3dsMax.exe
**KABOOM**<<Debugging information for '3dsmax.exe' cannot be found or does not match. No symbols loaded.>>
I'm under the impression that this means that 3dsMax has no way of telling VS when it has hit a breakpoint, meaning no debugging. :sad:
6. Rebuild the solution without running it through the 3dsMax.exe process.
7. Copy over the entire Hybrid folder into the stdplugs, and remove the ASCII DLL to prevent conflicts.
8. Restart 3dsMax and try to export. The module is gone- no errors, but no ASCII Export.
9. Try attaching the process from Visual Studio while 3dsMax is running on allegedly loading that "Hybrid" folder on startup. Still nothing.
10. Restart 3dsM and try to attach to process one more time for good measure. Still nothing.
Any thoughts? Has anyone actually gotten this to work?
Thanks!
