Browse files

Fixed debugger trying to load symbol filed with the double extension …

….mdb.mdb.
  • Loading branch information...
1 parent 5f4e191 commit 95237af7eacb1f3b116e42434c3a3857ed6014aa Thorsten Tarrach committed Jun 28, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 symbolwriter/MonoSymbolFile.cs
View
4 symbolwriter/MonoSymbolFile.cs
@@ -457,12 +457,12 @@ protected MonoSymbolFile (string filename, Mono.Cecil.ModuleDefinition module)
public static MonoSymbolFile ReadSymbolFile (Mono.Cecil.ModuleDefinition module)
{
- return ReadSymbolFile (module, module.FullyQualifiedName);
+ return ReadSymbolFile (module, module.FullyQualifiedName + ".mdb");
}
public static MonoSymbolFile ReadSymbolFile (Mono.Cecil.ModuleDefinition module, string filename)
{
- string name = filename + ".mdb";
+ string name = filename;
return new MonoSymbolFile (name, module);
}

0 comments on commit 95237af

Please sign in to comment.