-
-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathDebuggerModels.cs
More file actions
50 lines (45 loc) · 1.67 KB
/
Copy pathDebuggerModels.cs
File metadata and controls
50 lines (45 loc) · 1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
namespace CodingWithCalvin.MCPServer.Shared.Models;
public class DebuggerStatus
{
public string Mode { get; set; } = string.Empty;
public bool IsDebugging { get; set; }
public string LastBreakReason { get; set; } = string.Empty;
public string CurrentProcessName { get; set; } = string.Empty;
public string CurrentFile { get; set; } = string.Empty;
public int CurrentLine { get; set; }
public string CurrentFunction { get; set; } = string.Empty;
}
public class BreakpointInfo
{
public string File { get; set; } = string.Empty;
public int Line { get; set; }
public int Column { get; set; }
public string FunctionName { get; set; } = string.Empty;
public string Condition { get; set; } = string.Empty;
public bool Enabled { get; set; }
public int CurrentHits { get; set; }
}
public class LocalVariableInfo
{
public string Name { get; set; } = string.Empty;
public string Value { get; set; } = string.Empty;
public string Type { get; set; } = string.Empty;
public bool IsValidValue { get; set; }
}
public class ExpressionResult
{
public string Expression { get; set; } = string.Empty;
public string Value { get; set; } = string.Empty;
public string Type { get; set; } = string.Empty;
public bool IsValidValue { get; set; }
}
public class CallStackFrameInfo
{
public int Depth { get; set; }
public string FunctionName { get; set; } = string.Empty;
public string FileName { get; set; } = string.Empty;
public int LineNumber { get; set; }
public string Module { get; set; } = string.Empty;
public string Language { get; set; } = string.Empty;
public string ReturnType { get; set; } = string.Empty;
}