[MonoDevelop] File name has not been set

rob321 robsmessages at gmail.com
Thu Jan 7 21:54:11 EST 2010


Hi there,

I am experiencing the same problem as a guy on this forum post:
http://go-mono.com/forums/#nabble-td21992667

I am running mono develop on Mac OS X 10.5.7. I have written a console
application and I am trying to debug it by entering values in the
Console.ReadLine() method.

I have therefore selected "Run on external console" and "Pause console
output" under the run drop down tab in the Project Options so I can do data
entry in the console terminal during debug mode.

I run in debug and I get the following popup in mono develop. Any ideas what
I need to do to "Set" the File Name:

File name has not been set
System.InvalidOperationException: File name has not been set
  at System.Diagnostics.Process.Start_common
(System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process
process) [0x0009e] in
/private/tmp/monobuild/build/BUILD/mono-2.6.1/mcs/class/System/System.Diagnostics/Process.cs:1196 
  at System.Diagnostics.Process.Start () [0x0002c] in
/private/tmp/monobuild/build/BUILD/mono-2.6.1/mcs/class/System/System.Diagnostics/Process.cs:1204 
  at MonoDevelop.Core.Execution.ProcessWrapper.Start () [0x00006] in
/Users/michael/Mono/monodevelop-2.2/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Execution/ProcessWrapper.cs:26 
  at (wrapper remoting-invoke-with-check)
MonoDevelop.Core.Execution.ProcessWrapper:Start ()
  at MonoDevelop.Core.Execution.ProcessService.StartConsoleProcess
(System.String command, System.String arguments, System.String
workingDirectory, IDictionary`2 environmentVariables, IConsole console,
System.EventHandler exited) [0x000c2] in
/Users/michael/Mono/monodevelop-2.2/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Execution/ProcessService.cs:199 
  at
MonoDevelop.Debugger.Soft.SoftDebuggerSession+<OnRun>c__AnonStorey4.<>m__1
(System.Diagnostics.ProcessStartInfo info) [0x00065] in
/Users/michael/Mono/monodevelop-2.2/main/src/addins/MonoDevelop.Debugger.Soft/MonoDevelop.Debugger.Soft/SoftDebuggerSession.cs:107 
  at Mono.Debugger.VirtualMachineManager.BeginLaunch
(System.Diagnostics.ProcessStartInfo info, System.AsyncCallback callback,
Mono.Debugger.LaunchOptions options) [0x00111] in
/Users/michael/Mono/mono-2-6/mcs/class/Mono.Debugger.Soft/Mono.Debugger/VirtualMachineManager.cs:82 
  at MonoDevelop.Debugger.Soft.SoftDebuggerSession.OnRun
(Mono.Debugging.Client.DebuggerStartInfo startInfo) [0x001a4] in
/Users/michael/Mono/monodevelop-2.2/main/src/addins/MonoDevelop.Debugger.Soft/MonoDevelop.Debugger.Soft/SoftDebuggerSession.cs:117 
  at Mono.Debugging.Client.DebuggerSession+<Run>c__AnonStorey5.<>m__1 ()
[0x00000] in
/Users/michael/Mono/monodevelop-2.2/main/src/core/Mono.Debugging/Mono.Debugging.Client/DebuggerSession.cs:175 
-- 
View this message in context: http://old.nabble.com/File-name-has-not-been-set-tp27027710p27027710.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.



More information about the Monodevelop-list mailing list