Why don't we add just memcheck by default and let the user add more actions if he wants to?<br><br><div class="gmail_quote">On Sun, May 3, 2009 at 12:25 PM, Andreas Pakulat <span dir="ltr"><<a href="mailto:apaku@gmx.de">apaku@gmx.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<br>
I've started to port the valgrind plugin to the launch framework and<br>
came across a decision on which I'd like some input. Basically its how<br>
to best integrate the various valgrind tools that are available.<br>
<br>
Right now the solution is to have 1 launcher for each tool, and they all<br>
support the profile mode. This has the benefit of having 1 action in the<br>
gui to start a valgrind run, on the downside this means when you want to<br>
switch from memory-profiling to say callgrind you'll need to adjust that<br>
in the launch configuration (as there's only 1 active launcher per<br>
launch mode per launch configuration).<br>
<br>
The other option is to create new launch modes for each of the tools,<br>
i.e. profile (memory), profile (function calls), profile (threading)...<br>
The obvious downside is an explosion of gui actions in the<br>
menus/toolbars, while on the upside you can easily switch between<br>
running a memory-profile and a calling-profile.<br>
<br>
Opinions?<br>
<br>
Andreas<br>
<font color="#888888"><br>
--<br>
You will gain money by a speculation or lottery.<br>
<br>
_______________________________________________<br>
KDevelop-devel mailing list<br>
<a href="mailto:KDevelop-devel@kdevelop.org">KDevelop-devel@kdevelop.org</a><br>
<a href="https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel" target="_blank">https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel</a><br>
</font></blockquote></div><br>