Debugging CC to understand the source code

All about Windows versions
Post Reply
cincinatee
Posts: 6
Joined: Tue Nov 08, 2016 1:47 pm

Debugging CC to understand the source code

Post 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!
daniel
Site Admin
Posts: 7332
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Debugging CC to understand the source code

Post by daniel »

You have to use breakpoints and 'step by step' execution mode:
https://msdn.microsoft.com/en-us/library/y740d9d3.aspx
Daniel, CloudCompare admin
Post Reply