https://bugzilla.novell.com/show_bug.cgi?id=361847


           Summary: External console not working
           Product: MonoDevelop
           Version: 0.18 (Beta 3)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: debugger
        AssignedTo: mono-bugs@lists.ximian.com
        ReportedBy: [EMAIL PROTECTED]
         QAContact: mono-bugs@lists.ximian.com
          Found By: ---


The external console used for testing doesn't work.

Steps:
1. Create a new C# console project (defaults to "hello world!")
2. Set to use external console for debugging (under
project->options->configurations->debug)
3. Run

Expected result:
The program should run in the external console and write "hello world!"

Actual result:
I get an error:
Can not execute "/Users/ariel/test/test/bin/Debug/test.exe".
ApplicationName='xterm', CommandLine=' -title "MonoDevelop External Console" -e
"cd /Users/ariel/test/test/bin/Debug ; 'mono' --debug
\"/Users/ariel/test/test/bin/Debug/test.exe\"  ; echo; read -p 'Press any key
to continue...' -n1;"', CurrentDirectory='/Users/ariel/test/test/bin/Debug',
PATH='/usr/bin:/bin:/usr/sbin:/sbin'.

Details:
Exception occurred: ApplicationName='xterm', CommandLine=' -title "MonoDevelop
External Console" -e "cd /Users/ariel/test/test/bin/Debug ; 'mono' --debug
\"/Users/ariel/test/test/bin/Debug/test.exe\"  ; echo; read -p 'Press any key
to continue...' -n1;"', CurrentDirectory='/Users/ariel/test/test/bin/Debug',
PATH='/usr/bin:/bin:/usr/sbin:/sbin'

System.ComponentModel.Win32Exception: ApplicationName='xterm', CommandLine='
-title "MonoDevelop External Console" -e "cd /Users/ariel/test/test/bin/Debug ;
'mono' --debug \"/Users/ariel/test/test/bin/Debug/test.exe\"  ; echo; read -p
'Press any key to continue...' -n1;"',
CurrentDirectory='/Users/ariel/test/test/bin/Debug',
PATH='/usr/bin:/bin:/usr/sbin:/sbin'
  at System.Diagnostics.Process.Start_noshell
(System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process
process) [0x00000] 
  at System.Diagnostics.Process.Start_common
(System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process
process) [0x00000] 
  at System.Diagnostics.Process.Start () [0x00000] 
  at MonoDevelop.Core.Execution.ProcessWrapper.Start () [0x00000] 
  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) [0x00000] 
  at MonoDevelop.Core.Execution.NativePlatformExecutionHandler.Execute
(System.String command, System.String arguments, System.String
workingDirectory, IDictionary`2 environmentVariables, IConsole console)
[0x00000] 
  at MonoDevelop.Core.Execution.MonoPlatformExecutionHandler.Execute
(System.String command, System.String arguments, System.String
workingDirectory, IDictionary`2 environmentVariables, IConsole console)
[0x00000] 
  at MonoDevelop.Projects.DotNetProject.DoExecute (IProgressMonitor monitor,
MonoDevelop.Projects.ExecutionContext context) [0x00000] 

Note: projects run fine in the embedded console, but I need the external one
for input.
iMac G5 PPC


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to