[MonoDevelop] F# addin

Lluis Sanchez Gual slluis.devel at gmail.com
Mon Mar 22 12:16:21 EDT 2010


If the fsc process is hung, there is a way of seeing where is it hung.
Start MD from a terminal and make it compile a project. Once the fsc
process is running, find out what's its process id, and in a terminal
run: 'kill -QUIT id'. This will print the stack traces of the process.
Notice that the traces will be printed in the MD terminal, not in the
terminal where you ran 'kill'.

El dg 21 de 03 de 2010 a les 01:42 -0500, en/na Vasili I. Galchin va
escriure:
> Hi Nikhil,
> 
>     If you want to help me at this point, you can am make suggestions
> on why I am not getting a process exit event from fsc
> 
> ...MonoDevelop.Core.Execution:ProcessWrapper.cs =>
> 
>                 public void WaitForOutput (int milliseconds)
>                 {
>                         CheckDisposed ();
>                         WaitForExit (milliseconds);   <<<< why am I
> potentially not getting this event??
>                         WaitHandle.WaitAll (new WaitHandle[]
> {endEventOut});  << OR maybe this??
>                 }
> 
>                 public void WaitForOutput () <<<<<
>                 {
>                         WaitForOutput (-1);    <<<<< no timeout!!!!!
>                 }
> 
> 
> The above method (the lower overloaded method) is called from
> FSharpBindingCompilerManager.cs (my version of the CSharp .cs!):
> 
> LoggingService.LogInfo("KICK OFF FSC!!");  // WNH
> 
>                         MonoDevelop.Core.Execution.ProcessWrapper pw =
> Runtime.ProcessService.StartProcess (pinfo, outwr, errwr, null);
> LoggingService.LogInfo("Kicked off!");  // WNH
>                         pw.WaitForOutput();
> LoggingService.LogInfo("after wait!");  // WNH    <<<< I never receive this
> 
> 
> I am currently using:
> 
> MonoDevelop 2.2.2
> 
> Mono 2.4.3.2
> 
> fsc: 2.0 build 1.9.9.9
> 
> 
> Vasili
> 
> 
> 
> On 3/19/10, nikhil sarda <diff.operator at gmail.com> wrote:
> > Hi,
> > I would be really interested in collaborating with you on the F# addin.
> > Could you pass on the code to me so I can take a look?
> > Thanks a lot
> > Nikhil Sarda
> >
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list




More information about the Monodevelop-list mailing list