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?
Debuging exe of CC and getting variable values
Debuging exe of CC and getting variable values
- Attachments
-
- cc_question.PNG (219.74 KiB) Viewed 6134 times
Re: Debuging exe of CC and getting variable values
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)
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