projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f009f10
)
allow setting debug flags via an environment variable (ARDOUR_DEBUG_FLAGS)
author
Paul Davis
<paul@linuxaudiosystems.com>
Fri, 13 Dec 2019 20:06:31 +0000
(13:06 -0700)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Fri, 13 Dec 2019 20:14:15 +0000
(13:14 -0700)
gtk2_ardour/main.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/main.cc
b/gtk2_ardour/main.cc
index 1e84fe541ae64ac0f8ce74a2bc6272115c825b46..ff45beff4267b45c052c7dbf0e285ded5aa875f6 100644
(file)
--- a/
gtk2_ardour/main.cc
+++ b/
gtk2_ardour/main.cc
@@
-358,6
+358,13
@@
int main (int argc, char *argv[])
exit (EXIT_FAILURE);
}
+ {
+ const char *adf;
+ if ((adf = g_getenv ("ARDOUR_DEBUG_FLAGS"))) {
+ PBD::parse_debug_options (adf);
+ }
+ }
+
cout << PROGRAM_NAME
<< VERSIONSTRING
<< _(" (built using ")