In the past (version 2006) I've been able to debug a Visual C DLL, which I'm calling from Matlab, by starting Matlab.exe from the Visual C environment. Matlab.exe then loads the DLL, and I can set breakpoints in the DLL functions to debug my code. With the new 2010 and 2011 versions, Matlab.exe stops running before Matlab appears, so the Visual C debugger thinks it has finished. Is there another method of connecting to Matlab so that a DLL can be debugged? Thanks for any ideas.
MATLAB: Debugging Visual C++ DLL used with Matlab
dll
Related Question
- Debug functions inside C/C++ shared library loaded using “loadlibrary”
- Error using calllib, unable to load C/C++ libraries
- Do I get a missing module error when I try to use LOADLIBRARY on a DLL in MATLAB 7.13 (R2011b)
- How to debug a MATLAB 6.5 (R13) MEX file in MSVC
- How to start Matlab from command prompt and wait for the application to return
- How to debug a MATLAB 7.1 (R14SP3) MEX-file in Microsoft Visual Studio 6.0
Best Answer