Hi!
I have complied the cloudcompare, I want to write some new plugin, but I don't know how to debug it? Please give me some suggestions, Thank you.
debug the new plugin
Re: debug the new plugin
What do you mean: do you want to develop a new plugin or do you want to debug it?
If it's about development, look at the document at the project root (designing_a_new_qCC_plugin.rtf). There's also some posts on the forum that can help.
Otherwise... you should seek information on how to use a debugger (either Visual's one or gdb on Linux). But that's not the best place to start ;)
If it's about development, look at the document at the project root (designing_a_new_qCC_plugin.rtf). There's also some posts on the forum that can help.
Otherwise... you should seek information on how to use a debugger (either Visual's one or gdb on Linux). But that's not the best place to start ;)
Daniel, CloudCompare admin
Re: debug the new plugin
Hi daniel!
Thank you first, my mean is I want to devlop some new plugins on CC, but I don't know how to debug it? I use the vs2010, please give help me. I want to how many points the CC can display?
Thank you.
Thank you first, my mean is I want to devlop some new plugins on CC, but I don't know how to debug it? I use the vs2010, please give help me. I want to how many points the CC can display?
Thank you.
Re: debug the new plugin
Not sure I understand what you mean by "debug" here. Is your plugin already developed?
Otherwise, the number of points that can be stored only depends on your memory capacity (max 90 M. per Gb). You can then display all of them... but even with a high end graphic card, don't expect to keep a good framerate over 200 M..
Otherwise, the number of points that can be stored only depends on your memory capacity (max 90 M. per Gb). You can then display all of them... but even with a high end graphic card, don't expect to keep a good framerate over 200 M..
Daniel, CloudCompare admin
Re: debug the new plugin
Hi daniel!
I have developed the plugin, but I want to know the change of variable confused step by step. How can I do it?
I have developed the plugin, but I want to know the change of variable confused step by step. How can I do it?
Re: debug the new plugin
Well I guess you could get more information on a Visual Studio forum:
- Compile the program in DEBUG mode (compile the INSTALL project in fact - see the 'Working with Visual Studio' section of the compilation instructions: http://www.cloudcompare.org/doc/wiki/in ... on_Windows)
- Run the program with debugging enabled (F5)
- Place "breakpoints" anywhere you want to start your 'step by step' exploration (see http://msdn.microsoft.com/en-us/library/y740d9d3.aspx) and use the F10 key to run the program step by step, etc.
Daniel, CloudCompare admin
Re: debug the new plugin
daniel wrote:Well I guess you could get more information on a Visual Studio forum:
- Compile the program in DEBUG mode (compile the INSTALL project in fact - see the 'Working with Visual Studio' section of the compilation instructions: http://www.cloudcompare.org/doc/wiki/in ... on_Windows)
- Run the program with debugging enabled (F5)
- Place "breakpoints" anywhere you want to start your 'step by step' exploration (see http://msdn.microsoft.com/en-us/library/y740d9d3.aspx) and use the F10 key to run the program step by step, etc.
I couldn't debug as you said . I got this error when use F5.
If I generate just the INSTALL project, it compile without stop.
Re: debug the new plugin
With Visual you have to set the default startup project. Right click on the 'CloudCompare' project and set it as 'Startup project' ('Définir comme projet de démarrage' en français).
But be sure to 'compile' the install project anyway and set the default executable of the 'CloudCompare' project as the installed one.
But be sure to 'compile' the install project anyway and set the default executable of the 'CloudCompare' project as the installed one.
Daniel, CloudCompare admin