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

Ian Norton-Badrul ian.norton-badrul at thales-esecurity.com
Tue Jan 4 14:23:23 EST 2011


Hi Jonathan,

I am getting the exact same thing using 2.4.1, any luck getting around
it?

Ian

On Fri, Oct 08, 2010 at 05:03:38PM +0100, Jonathan Shore wrote:
> 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
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list

-- 
Ian Norton
Software Engineer
+44 1223 723 600

Thales e-Security Limited is incorporated in England and Wales with company
registration number 2518805. Its registered office is located at 2 Dashwood
Lang Road, The Bourne Business Park, Addlestone, Nr. Weybridge, Surrey KT15
2NX.

The information contained in this e-mail is confidential. It may also be
privileged. It is intended only for the stated addressee(s) and access to it by
any other person is unauthorised. If you are not an addressee or the intended
addressee, you must not disclose, copy, circulate or in any other way use or
rely on the information contained in this e-mail. Such unauthorised use may be
unlawful. If you have received this e-mail in error, please inform us
immediately on +44 (0)1223 723600 and delete it and all copies from your
system.  Commercial matters detailed or referred to in this e-mail are subject
to a written contract signed for and on behalf of Thales e-Security Limited.                                 


More information about the Monodevelop-list mailing list