[MonoDevelop] MonoDevelop 1.9 (Unstable) problems
olivier dufour
olivier.duff at gmail.com
Sun Jul 13 07:23:20 EDT 2008
Hi,
I have the same issue on suse 11.0 with the debugger :
"The selected execution mode is not supported in the mono platform"
I have found in monodevelop code that it come from
context.ExecutionHandlerFactory.CreateExecutionHandler
I see that in Monodevelop.IDE.Addin.xml:
<Extension path = "/MonoDevelop/Core/ExecutionModes">
<Mode id="Debug" _name="Debug"
class="MonoDevelop.Ide.Debugging.DebugExecutionHandlerFactory"/>
</Extension>
So, I read the code of DebugExecutionHandlerFactory
public IExecutionHandler CreateExecutionHandler (string platformId)
{
if (IdeApp.Services.DebuggingService.CanDebugPlatform (platformId))
return new DebugExecutionHandler (platformId);
else
return null;
}
So jump to DebuggingService:
public bool CanDebugPlatform (string platform)
{
return GetFactoryForPlatform (platform) != null;
}
GetFactoryForPlatform:
foreach (TypeExtensionNode node in AddinManager.GetExtensionNodes
(FactoriesPath)) {
IDebuggerEngine factory = (IDebuggerEngine) node.GetInstance ();
if (factory.CanDebugPlatform (platform))
return factory;
}
return null;
So, this seems to lead to an infinite loop but not sure.
Maybe it is link to the fact it di not find the MonoDevelop.Ide.addin.xml.
Where MonoDevelop.Ide.addin.xml must be in parallel environment.
Cheers,
Olivier
--
View this message in context: http://www.nabble.com/MonoDevelop-1.9-%28Unstable%29-problems-tp18414989p18428398.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.
More information about the Monodevelop-list
mailing list