Notifications
Clear all

[Closed] A couple of controller plugin questions

Tried that, but still not working. Everything in the Module window is either “Cannot find or open the PDB file” or “Binary was not built with debug information” as the symbol status, and my output window looks like this:

‘3dsmax.exe’: Loaded ‘C:\Program Files\Autodesk\3ds Max 2012\3dsmax.exe’, Cannot find or open the PDB file
‘3dsmax.exe’: Loaded ‘C:\Windows\System32
tdll.dll’, Cannot find or open the PDB file
‘3dsmax.exe’: Loaded ‘C:\Windows\System32\mscoree.dll’, Cannot find or open the PDB file
‘3dsmax.exe’: Loaded ‘C:\Windows\System32\kernel32.dll’, Cannot find or open the PDB file
‘3dsmax.exe’: Loaded ‘C:\Windows\System32\KernelBase.dll’, Cannot find or open the PDB file
‘3dsmax.exe’: Loaded ‘C:\Program Files\Autodesk\3ds Max 2012\GraphicsUtility.dll’, Cannot find or open the PDB file
‘3dsmax.exe’: Loaded ‘C:\Program Files\Autodesk\3ds Max 2012\maxutil.dll’, Cannot find or open the PDB file
‘3dsmax.exe’: Loaded ‘C:\Windows\System32\shfolder.dll’, Cannot find or open the PDB file
‘3dsmax.exe’: Loaded ‘C:\Windows\System32\shell32.dll’, Cannot find or open the PDB file
‘3dsmax.exe’: Loaded ‘C:\Windows\System32\msvcrt.dll’, Cannot find or open the PDB file
‘3dsmax.exe’: Loaded ‘C:\Windows\System32\shlwapi.dll’, Cannot find or open the PDB file
‘3dsmax.exe’: Loaded ‘C:\Windows\System32\gdi32.dll’, Cannot find or open the PDB file
‘3dsmax.exe’: Loaded ‘C:\Windows\System32\user32.dll’, Cannot find or open the PDB file
‘3dsmax.exe’: Loaded ‘C:\Windows\System32\lpk.dll’, Cannot find or open the PDB file
‘3dsmax.exe’: Loaded ‘C:\Windows\System32\usp10.dll’, Cannot find or open the PDB file
‘3dsmax.exe’: Loaded ‘C:\Windows\System32\mpr.dll’, Cannot find or open the PDB file
‘3dsmax.exe’: Loaded ‘C:\Program Files\Autodesk\3ds Max 2012\BugslayerUtil.dll’, Cannot find or open the PDB file
‘3dsmax.exe’: Loaded ‘C:\Windows\System32\psapi.dll’, Cannot find or open the PDB file
‘3dsmax.exe’: Loaded ‘C:\Windows\winsxs\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_08e61857a83bc251\msvcr90.dll’, Cannot find or open the PDB file
‘3dsmax.exe’: Loaded ‘C:\Windows\System32\advapi32.dll’, Cannot find or open the PDB file
‘3dsmax.exe’: Loaded ‘C:\Windows\System32\sechost.dll’, Cannot find or open the PDB file
‘3dsmax.exe’: Loaded ‘C:\Windows\System32\rpcrt4.dll’, Cannot find or open the PDB file
‘3dsmax.exe’: Loaded ‘C:\Windows\System32\ole32.dll’, Cannot find or open the PDB file
‘3dsmax.exe’: Loaded ‘C:\Windows\winsxs\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_08e61857a83bc251\msvcp90.dll’, Cannot find or open the PDB file
‘3dsmax.exe’: Loaded ‘C:\Windows\winsxs\amd64_microsoft.vc90.openmp_1fc8b3b9a1e18e3b_9.0.30729.6161_none_390d35aa0a1f21f9\vcomp90.dll’, Cannot find or open the PDB file
‘3dsmax.exe’: Loaded ‘C:\Program Files\Autodesk\3ds Max 2012\geom.dll’, Cannot find or open the PDB file
‘3dsmax.exe’: Loaded ‘C:\Windows\System32\D3DX9_43.dll’, Cannot find or open the PDB file
‘3dsmax.exe’: Loaded ‘C:\Windows\System32\imagehlp.dll’, Cannot find or open the PDB file
‘3dsmax.exe’: Loaded ‘C:\Program Files\Autodesk\3ds Max 2012\CommonRendererUI.dll’, Cannot find or open the PDB file
ETC
ETC
ETC

Is the pdb file that compiled from your hybrid build in the same folder as the compiled dlc plugin? If not move it there and see if it finds it. If that works then change the directory structure in your project properties so that it writes it to same folder.

…ah, the blind leading the blind– now if we could just find that ditch

I’ve generally had it putting the pdb in the same folder as the dlc, but it can’t find or read it there. The ONE time I was able to get the thing working properly, it ended up putting the pdb in a .x64 folder in the project directory. When I removed that folder, it stopped being able to debug, and when I put it back later, it didn’t fix it.

Also, I’m not sure if the pdb name is supposed to be just ControllerPlugin.pdb, or ControllerPlugin.dlc.pdb.

Maybe it would help if you posted a screenshot of your Project’s property page for where you are writing the PDB file to… in relation to where all of your intermediary files are being generated?

For the PDB file I’ve tried:
$(TargetDir)$(TargetName).pdb
C:\Program Files\Autodesk\3ds Max 2012\plugins\ControllerPlugin.pdb
C:\Program Files\Autodesk\3ds Max 2012\plugins\ControllerPlugin.dlu.pdb
.x64\ControllerPlugin.pdb
.x64\ControllerPlugin.dlu.pdb

For the intermediate directory I have tried:
$(Platform)$(Configuration)
x64$Configuration
.x64$Configuration

It might help if I know what I was SUPPOSED to be using…

Simply create a new temp Controller project and look at what the default path values are for the Hybrid configuration.

The default settings when I create a new project are

pdb file: C:\Program Files\Autodesk\3ds Max 2012\plugins\maxProject1.dlc.pdb

intermediate dir: .\Hybrid\

But when I try and debug it says “Unable to start program ‘C:\Program Files\Autodesk\3ds Max 2012\plugins\maxProject1.dlc’.

When I create a 3ds Max 2013 wizard controller project… the default program database file for the HybridUnicode x64 configuration is defaulted to:

$(ADSK_3DSMAX_x64_2013)\plugins\maxController1.dlc.pdb

…and under Debugging properties it looks for the 3ds Max executable here:

$(ADSK_3DSMAX_x64_2013)\3dsmax.exe

where: maxController1 is what I named my project and,
$(ADSK_3DSMAX_x64_2013) is just an Environment variable that should be created when you installed the 3ds Max 2013 SDK.

So those look similar to what you posted.

I’m also noticing that the errors are coming specifically from the Max directory. I.e. these are working:

‘3dsmax.exe’: Loaded ‘C:\Windows\System32
tdll.dll’, Symbols loaded (source information stripped).
‘3dsmax.exe’: Loaded ‘C:\Windows\System32\mscoree.dll’, Symbols loaded (source information stripped).

But these are not:

‘3dsmax.exe’: Loaded ‘C:\Program Files\Autodesk\3ds Max 2012\3dsmax.exe’, Cannot find or open the PDB file
‘3dsmax.exe’: Loaded ‘C:\Program Files\Autodesk\3ds Max 2012\GraphicsUtility.dll’, Cannot find or open the PDB file

Not sure if that is relevant or not.

In your Configuration Properties what do you have “Debugger Type” set to?

…and did you change any of the default debugging settings in the project properties?

Page 2 / 3