I have some native C DLL files that I call from the Managed C ++ class library ("Rem"). In the "Rem" class library, I have one native C ++ class (api) and one managed C ++ class (API).
A managed class (API) is now called from a C # console application (will later be used in a web application).
When debugging, I can just execute my own code.
My problem is that when I debug, I do not see the values of any variables except simple types declared locally.
Function parameters are not available in the debugger, and if I try to add them as Watch, it just says: "error: identifier" schema_name "out of scope" ("schema_name" is the name of the variable)
Any structures simply show the value "{...}", both in the fast watch and in the Watch-window. 
If I try to add a clock to a field in the structure, I get the value "error:" entryList.numItems "does not exist"
The material I tried:
I tried to create a console application in Managed C ++ and debug the same from it.
I tried unchecking the Tools-> Options-> Debugging-> General-> Managed C ++ Compatibility Mode checkbox, then I couldn’t enter the code at all (for breakpoints no characters were loaded)
In the C # console application project, I went to Properties-> Debug and checked the “Enable native code debugging” checkbox (and unchecked)
In the C ++ class library, I went to "Properties-> Debugging-> Type of debugger and tried" Mixed "," Native "," Managed "and" Auto ".
Any suggestions on what I'm doing wrong?
henriksen
source share