static bool ParseDebugFlags(DebuggerOptions options, string value)
{
if (value == null)
return false;
int pos = value.IndexOf (':');
if (pos > 0) {
string filename = value.Substring (0, pos);
value = value.Substring (pos + 1);
options.DebugOutput = filename;
}
DebugFlags flags;
if (!Report.ParseDebugFlags (value, out flags))
return false;
options.DebugFlags = flags;
return true;
}