# Cloud Debugger V2 API - Module Google::Cloud::Debugger::V2::Breakpoint::Action (v0.6.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [0.6.0 (latest)](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-debugger-v2/latest/Google-Cloud-Debugger-V2-Breakpoint-Action)
- [0.5.0](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-debugger-v2/0.5.0/Google-Cloud-Debugger-V2-Breakpoint-Action)
- [0.4.0](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-debugger-v2/0.4.0/Google-Cloud-Debugger-V2-Breakpoint-Action)
- [0.3.5](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-debugger-v2/0.3.5/Google-Cloud-Debugger-V2-Breakpoint-Action)
Reference documentation and code samples for the Cloud Debugger V2 API module Google::Cloud::Debugger::V2::Breakpoint::Action.

Actions that can be taken when a breakpoint hits.
Agents should reject breakpoints with unsupported or unknown action values.

## Constants

### CAPTURE

**value:** 0  
Capture stack frame and variables and update the breakpoint.
The data is only captured once. After that the breakpoint is set
in a final state.

### LOG

**value:** 1  
Log each breakpoint hit. The breakpoint remains active until
deleted or expired.