Get a value when debugging...

hi,

may i ask for help?

when i debugging and check my variable it is hidden for me, how to display it?

Thank you

Piotr

myData[theIndex].entity->__vfptr[1]

myData[theIndex] = {entity=0x000001b317e85940 <Information not available, no symbols loaded for TKG2d.dll> }

Dmitrii Pasukhin's picture

Hello.

You try to debug OCCT project using DRAW or external project, which link OCCT dlls?

And can you share your OS and compiler.

Best regards, Dmitrii,

gkv311 n's picture

myData[theIndex] = {entity=0x000001b317e85940 }

'No symbols loaded' means that this .DLL was build without Debug symbols, or these symbols (.pdb files in case of Visual Studio compiler) are inaccessible. Make sure to build OCCT with Debug target (or with BUILD_FORCE_RelWithDebInfo=ON option passed to CMake for Release target) and that your application is started with this debug build (%PATH% to correct folder / copy proper libraries).