Class: DAP::SteppingGranularity

Inherits:
Enum
  • Object
show all
Defined in:
lib/dap/stepping_granularity.rb

Overview

The granularity of one ‘step’ in the stepping requests ‘next’, ‘stepIn’, ‘stepOut’, and ‘stepBack’.

Constant Summary collapse

STATEMENT =

The step should allow the program to run until the current statement has finished executing. The meaning of a statement is determined by the adapter and it may be considered equivalent to a line. For example ‘for(int i = 0; i < 10; i++)’ could be considered to have 3 statements ‘int i = 0’, ‘i < 10’, and ‘i++’

new('statement')
LINE =

The step should allow the program to run until the current source line has executed

new('line')
INSTRUCTION =

The step should allow one instruction to execute (e.g. one x86 instruction)

new('instruction')

Method Summary

Methods inherited from Enum

from, #to_s, #to_wire