Skip to content

Commit af8fb32

Browse files
committed
Added needed API for app extension debugging
1 parent 53bc735 commit af8fb32

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

Mono.Debugging.Soft/SoftDebuggerSession.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ void ConnectionStarting (IAsyncResult connectionHandle, DebuggerStartInfo dsi, b
380380
connection = connectionHandle;
381381

382382
if (ConnectionDialogCreator != null && attemptNumber == 0) {
383-
connectionDialog = ConnectionDialogCreator ();
383+
connectionDialog = ConnectionDialogCreator (dsi);
384384
connectionDialog.UserCancelled += delegate {
385385
EndSession ();
386386
};

Mono.Debugging/Mono.Debugging.Client/DebuggerSession.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ namespace Mono.Debugging.Client
4242
public delegate string TypeResolverHandler (string identifier, SourceLocation location);
4343
public delegate void BreakpointTraceHandler (BreakEvent be, string trace);
4444
public delegate IExpressionEvaluator GetExpressionEvaluatorHandler (string extension);
45-
public delegate IConnectionDialog ConnectionDialogCreator ();
45+
public delegate IConnectionDialog ConnectionDialogCreator (DebuggerStartInfo dsi);
4646

4747
public abstract class DebuggerSession: IDisposable
4848
{

Mono.Debugging/Mono.Debugging.Client/DebuggerStartInfo.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,5 +76,7 @@ public Dictionary<string, string> EnvironmentVariables {
7676
public bool UseExternalConsole { get; set; }
7777

7878
public bool CloseExternalConsoleOnExit { get; set; }
79+
80+
public bool RequiresManualStart { get; set; }
7981
}
8082
}

0 commit comments

Comments
 (0)