2 using System.Collections.Generic;
4 namespace Mono.Debugger.Soft
6 public enum StepDepth {
12 public enum StepSize {
18 * Filter which kinds of methods to skip during single stepping
21 public enum StepFilter {
24 /* Since protocol version 2.20 */
25 /* Methods which have the [DebuggerHidden] attribute */
26 /* Before protocol version 2.26, this includes [DebuggerStepThrough] as well */
28 /* Since protocol version 2.26 */
29 /* Methods which have the [DebuggerStepThrough] attribute */
30 DebuggerStepThrough = 4,
33 public sealed class StepEventRequest : EventRequest {
35 ThreadMirror step_thread;
40 internal StepEventRequest (VirtualMachine vm, ThreadMirror thread) : base (vm, EventType.Step) {
42 throw new ArgumentNullException ("thread");
43 CheckMirror (vm, thread);
44 this.step_thread = thread;
45 Depth = StepDepth.Into;
49 public override void Enable () {
50 var mods = new List <Modifier> ();
51 mods.Add (new StepModifier () { Thread = step_thread.Id, Depth = (int)Depth, Size = (int)Size, Filter = (int)Filter });
55 public new ThreadMirror Thread {
61 public StepDepth Depth {
71 public StepSize Size {
81 public StepFilter Filter {