Page 1 of 1

Debugging CC to understand the source code

Posted: Mon Nov 14, 2016 8:26 am
by cincinatee
I have compiled and was able to launch it in debug mode, thanks to this post >>> http://www.danielgm.net/cc/forum/viewtopic.php?t=992
In Visual Studio 2013, I have built INSTALL project, set CloudCompare as StartUp Project and debug it. I can use the generated cloudcompare GUI instance as normal.

But how do i visualise control flow through different methods and its local variables?
It might be a silly question but I'm new to VS.

Thanks!

Re: Debugging CC to understand the source code

Posted: Mon Nov 14, 2016 9:50 pm
by daniel
You have to use breakpoints and 'step by step' execution mode:
https://msdn.microsoft.com/en-us/library/y740d9d3.aspx