From 23d693cd061041b8dd0a78c7cd058a331f76e253 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 10 Sep 2011 01:23:59 -0700 Subject: Add an option to trap device errors in a debugger --- alsoftrc.sample | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'alsoftrc.sample') diff --git a/alsoftrc.sample b/alsoftrc.sample index baf0930b..b4ce9a40 100644 --- a/alsoftrc.sample +++ b/alsoftrc.sample @@ -150,6 +150,14 @@ #layout_61CHN = fl=-30, fr=30, fc=0, sl=-90, sr=90, bc=180 #layout_71CHN = fl=-30, fr=30, fc=0, sl=-90, sr=90, bl=-150, br=150 +## trap-alc-error: +# Generates a SIGTRAP signal when an ALC device error is generated, on systems +# that support it. This helps when debugging, while trying to find the cause +# of a device error. On Windows, a breakpoint exception is generated. +# Optionally, the __ALSOFT_TRAP_ALC_ERROR env var may be set before running +# the app instead. +#trap-alc-error = false + ## trap-al-error: # Generates a SIGTRAP signal when an AL context error is generated, on systems # that support it. This helps when debugging, while trying to find the cause -- cgit v1.2.3