[MonoDevelop] NullReferenceException when starting debug (C++ / gdb)

Jonathan Shore jonathan.shore at gmail.com
Fri Oct 8 12:03:38 EDT 2010


Hi, 

I installed MonoDevelop 2.4 (and gdb debugging extension) from source.   In attempting to debug a trivial C++ program, receive the following exception:

System.NullReferenceException: Object reference not set to an instance of an object
  at MonoDevelop.Core.Execution.ProcessService.StartConsoleProcess (System.String command, System.String arguments, System.String workingDirectory, IDictionary`2 environmentVariables, IConsole console, System.EventHandler exited) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Core.Execution.ProcessService.StartConsoleProcess (System.String command, System.String arguments, System.String workingDirectory, IConsole console, System.EventHandler exited) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Debugger.Gdb.GdbSession.OnRun (Mono.Debugging.Client.DebuggerStartInfo startInfo) [0x00000] in <filename unknown>:0 
  at Mono.Debugging.Client.DebuggerSession+<Run>c__AnonStorey6.<>m__2 () [0x00000] in <filename unknown>:0 

I have gdb, g++, etc. accessible in my path.    When this exception occurs, the whole env goes down, as is unhandled.

Ideas?

Thanks

Jonathan


More information about the Monodevelop-list mailing list