Debuging exe of CC and getting variable values

Feel free to ask any question here
Post Reply
Ingsayyad
Posts: 97
Joined: Fri Oct 25, 2013 9:17 am

Debuging exe of CC and getting variable values

Post by Ingsayyad »

I need to debug CC to get values of different variables to learn CC.

I build CloudCompare project in VS2017 which starts "CC.exe" from Install directory.
I opened a file. Now I want to do some action, e.g., increase the point size/ subsample/ transform the pointcloud etc.
I want to set some break point somewhere in the code (e.g., mainwindow.cpp) to stop the debuging and to get values of some variables (pointnumbers, current point size, file size, etc.). How can I do it?
Attachments
cc_question.PNG
cc_question.PNG (219.74 KiB) Viewed 6140 times
daniel
Site Admin
Posts: 7713
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Debuging exe of CC and getting variable values

Post by daniel »

Well, it seems you have set a breakpoint already in Visual Studio. But if it appears like that, it means that Visual has not been able to find the debug symbols, etc.

Make sure:
- you have compiled the project with the 'INSTALL' project since the last modification
- you have made the 'Debug\Command' field of the project settings (for the 'Debug' configuration) point to the installed debug version of CloudCompare.exe (should be in {CMAKE_INSTALL_PREFIX}/CloudCompare_debug)
Daniel, CloudCompare admin
Post Reply