Module

Breakpoint

There's no documentation for this item.

Modules
CommandBundle
Classes
DRbService
FailedAssertError These exceptions will be raised on failed asserts if Breakpoint.asserts_cause_exceptions is set to true.
Constants
Version
Public Attributes
asserts_cause_exceptions Whether an Exception should be raised on failed asserts in non-$DEBUG code or not. By default this is disabled.
drb_service
optimize_asserts Whether asserts should be ignored if not in debug mode. Debug mode can be enabled by running ruby with the -d switch or by setting $DEBUG to true.
Public Methods
activate_drb Will run Breakpoint in DRb mode. This will spawn a server that can be attached to via the breakpoint-client command whenever a breakpoint is executed. This is useful when you are debugging CGI applications or other applications where you can’t access debug sessions via the standard input and output of your application.
assert This asserts that the block evaluates to true. If it doesn’t evaluate to true a breakpoint will automatically be created at that execution point.
breakpoint This will pop up an interactive ruby session at a pre-defined break point in a Ruby application. In this session you can examine the environment of the break point.
deactivate_drb Deactivates a running Breakpoint service.
handle_breakpoint
use_drb? Returns true when Breakpoints are used over DRb. Breakpoint.activate_drb causes this to be true.
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.