Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
ParadoxDebuggerEngine.cs
Go to the documentation of this file.
1 using System;
2 using System.Net;
3 using Mono.Debugging.Soft;
4 using MonoDevelop.Debugger;
5 using MonoDevelop.Core.Execution;
6 using MonoDevelop.Debugger.Soft;
7 using Mono.Debugging.Client;
8 
9 namespace MonoDevelop.Debugger.Soft.Paradox
10 {
12  {
14  {
15  }
16 
17  public bool CanDebugCommand(ExecutionCommand cmd)
18  {
19  return cmd.CommandString.StartsWith("ParadoxDebug");
20  }
21  public DebuggerStartInfo CreateDebuggerStartInfo(ExecutionCommand cmd)
22  {
23  var dsi =
24  cmd.CommandString.EndsWith("Client")
25  ? new SoftDebuggerStartInfo(new SoftDebuggerConnectArgs("TestApp", IPAddress.Loopback, 13332))
26  : new SoftDebuggerStartInfo(new SoftDebuggerListenArgs("TestApp", IPAddress.Any, 13332));
27  return dsi;
28  }
29  public DebuggerSession CreateSession()
30  {
32  }
33  public ProcessInfo[] GetAttachableProcesses()
34  {
35  return new ProcessInfo[0];
36  }
37  }
38 }
39 
DebuggerStartInfo CreateDebuggerStartInfo(ExecutionCommand cmd)