From 8ab4832cc506f948a29620833fe411a07d353bb6 Mon Sep 17 00:00:00 2001 From: Peter Lohrmann Date: Thu, 20 Mar 2014 09:07:38 -0700 Subject: [PATCH] Update qtcreator.md Add information about launching and debugging projects from within QtCreator since the default Run configuration is not valid. --- qtcreator/qtcreator.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/qtcreator/qtcreator.md b/qtcreator/qtcreator.md index 0e19829..6f70aca 100644 --- a/qtcreator/qtcreator.md +++ b/qtcreator/qtcreator.md @@ -51,3 +51,19 @@ You should now be able to click in bottom left "Type to locate" control (or hit Note that you can use the "--usemake" flag with mkvolg.sh if you don't want to use Ninja. If you do this, remove the "3>&1 1>&2 2>&3" redirections also. + +### Launching and Debugging projects ### + +The default 'Run configuration' called "VoglProj" that QtCreator adds will not be associated with any binary and therefore cannot be executed. The directions below show how to launch the 64-bit vogleditor. + +* Within the tab, switch to the "Run" settings + * Under "Run", "Run configuration:" click "Add", select "Custom Executable" + * Click "Rename..." and customize this run configuration with an appropriate name (eg, "vogleditor64") + * For the Executable:, enter: %{buildDir}/../vogl_build/bin/vogleditor64 + * For the Arguments:, you may optionally enter a path to a trace file + * Run in terminal does not need to be enabled for vogleditor, but is useful (required?) for other binaries + +* Hit [F5] to start debugging + +This approach allows you to configure mutliple run configurations that (for example) each launch the vogleditor64 with a different trace file as a parameter, or you can have another configuration that launches vogleditor32, or voglreplay64 with parameters to debug why a replay or trim is not working properly. + -- 2.43.0