Skip to content
This repository was archived by the owner on Jun 19, 2024. It is now read-only.

Conversation

@ezverev
Copy link

@ezverev ezverev commented Jun 18, 2018

change <DebugType>full</DebugType> to <DebugType>portable</DebugType> for Debug|AnyCPU configuration

ezverev added 3 commits June 18, 2018 15:49
change <DebugType>full</DebugType> to <DebugType>portable</DebugType> for Debug|AnyCPU configuration
When launched without the mdb-optimizations option the IDE extension fails in Mono.Debugging.Soft.SoftDebuggerSession.LoadPdbFile

---------------------------
Microsoft Visual Studio
---------------------------
EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object.

   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)

   at Mono.Debugging.Soft.SoftDebuggerSession.LoadPdbFile(String assemblyFileName, String pdbFileName)

   at Mono.Debugging.Soft.SoftDebuggerSession.LoadDebugFile(String assemblyFileName, String debugFileName, Func`3 loadDebugFile)

   at Mono.Debugging.Soft.SoftDebuggerSession.CheckBetterMatch(TypeMirror type, String file, Int32 line, Int32 column, Location found)

   at Mono.Debugging.Soft.SoftDebuggerSession.FindLocationByMethod(MethodMirror method, String file, Int32 line, Int32 column, Boolean& insideTypeRange)

   at Mono.Debugging.Soft.SoftDebuggerSession.FindLocationByType(TypeMirror type, String file, Int32 line, Int32 column, Boolean& genericMethod, Boolean& insideTypeRange)

   at Mono.Debugging.Soft.SoftDebuggerSession.ResolveBreakpoints(TypeMirror type)

   at Mono.Debugging.Soft.SoftDebuggerSession.HandleTypeLoadEvents(TypeLoadEvent[] events)

   at Mono.Debugging.Soft.SoftDebuggerSession.HandleEventSet(EventSet es)

   at Mono.Debugging.Soft.SoftDebuggerSession.EventHandler()
---------------------------
OK   
---------------------------
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant