Debugging Mex file using Visual studio 2010

1 Ansicht (letzte 30 Tage)
chess
chess am 2 Jul. 2016
Kommentiert: Walter Roberson am 3 Jul. 2016
Hi I have written a mex file and I would like to debug it using visual studio 2010. I followed steps mentioned in Mathwork website :
I should mention that I can compile mex with -g code successfully but when I insert the breakpoint it says: the breakpoint cannot be currently hit. No symbols have been loaded for this document.
Then when I run the mex code from Matlab, it does not create any break point and it does not do the debugging. When I go to debug--> windows--> module--> next to matlab says cannot find or open the PDB file.
Can anyone please help me to solve this problem.
  8 Kommentare
Walter Roberson
Walter Roberson am 3 Jul. 2016
I understand that there is a German language forum, and that there is a stackoverflow forum.
Note: you asked your question on a Saturday of a summer holiday weekend in Canada (July 1 -- Canada Day) and USA (July 4 -- Independence Day), the first weekend after the elementary and secondary schools finished for the year. A lot of people are away for the weekend.
Walter Roberson
Walter Roberson am 3 Jul. 2016
Have you considered the option of posting your source and describing the error you are encountering?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu MATLAB Compiler finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by