2
Vote

Double.Parse error on non-English locales

description

The viewer crashes during PDB load on locales where decimal separator is not a dot (e.g. Polish locale uses a comma). To overcome the problem, add a second argument to all four Double.Parse calls in Atom.cs:
 
double x = Double.Parse(pdbLine.Substring(30, 8), System.Globalization.CultureInfo.InvariantCulture);
(etc.)
 
Best regards,
BB

comments