DBGp::Client::Response - documentation for DBGp response objects
Brief description of all possible response objects; they are thin wrappers around the XML returned by the DBGp client, you should refer to the DBGp protocol specification for the meaning of the various values.
Unless specified, the values returned by the various accessors is the raw value provided by the debugger.
All responses, except for "init", "stream" and notify have transaction_id and command accessors.
transaction_id
command
All response objects have an is_error accessor, which only returns true for error responses; is_internal_error returns true for error responses coming from the debugger (for example for a broken connection).
is_error
is_internal_error
Implemented by DBGp::Client::Response::Init. See also connection initialization in the DBGp spec.
DBGp::Client::Response::Init
Accessors:
Implemented by DBGp::Client::Response::Error. See also debugger engine errors in the DBGp spec.
DBGp::Client::Response::Error
Implemented by DBGp::Client::Response::Step. See also status in the DBGp spec.
DBGp::Client::Response::Step
Implemented by DBGp::Client::Response::FeatureGet. See also feature_get in the DBGp spec.
DBGp::Client::Response::FeatureGet
Implemented by DBGp::Client::Response::FeatureSet. See also feature_set in the DBGp spec.
DBGp::Client::Response::FeatureSet
Implemented by DBGp::Client::Response::Step. See also continuation commands in the DBGp spec.
Might or might not be present (Xdebug extension not in the specification)
Implemented by DBGp::Client::Response::BreakpointSet. See also breakpoint_set in the DBGp spec.
DBGp::Client::Response::BreakpointSet
Implemented by DBGp::Client::Response::BreakpointGetUpdateRemove. See also breakpoint_get in the DBGp spec.
DBGp::Client::Response::BreakpointGetUpdateRemove
A "breakpoint" object (see below).
(Optional) A "breakpoint" object (see below). Not documented in the DBGp spec.
Implemented by DBGp::Client::Response::BreakpointGetUpdateRemove. See also breakpoint_remove in the DBGp spec.
(Optional) A "breakpoint" object (see below).
Implemented by DBGp::Client::Response::BreakpointList. See also breakpoint_list in the DBGp spec.
DBGp::Client::Response::BreakpointList
An array of "breakpoint" objects (see below).
Implemented by DBGp::Client::Response::StackDepth. See also stack_depth in the DBGp spec.
DBGp::Client::Response::StackDepth
Implemented by DBGp::Client::Response::StackGet. See also stack_get in the DBGp spec.
DBGp::Client::Response::StackGet
An array of frame objects; each object has the following attributes:
frame
Implemented by DBGp::Client::Response::ContextNames. See also context_names in the DBGp spec.
DBGp::Client::Response::ContextNames
An array of context objects; each object has the following attributes:
context
Implemented by DBGp::Client::Response::ContextGet. See also context_get in the DBGp spec.
DBGp::Client::Response::ContextGet
An array of "property" objects (see below).
Implemented by DBGp::Client::Response::Typemap. See also typemap_get in the DBGp spec.
DBGp::Client::Response::Typemap
An array of type objects; each object has the following attributes:
type
Implemented by DBGp::Client::Response::PropertyGet. See also property_get, property_set, property_value in the DBGp spec.
DBGp::Client::Response::PropertyGet
A "property" object (see below).
Implemented by DBGp::Client::Response::PropertySet. See also property_get, property_set, property_value in the DBGp spec.
DBGp::Client::Response::PropertySet
Implemented by DBGp::Client::Response::PropertyValue. See also property_get, property_set, property_value in the DBGp spec.
DBGp::Client::Response::PropertyValue
Decoded value string.
Implemented by DBGp::Client::Response::Source. See also source in the DBGp spec.
DBGp::Client::Response::Source
Implemented by DBGp::Client::Response::Redirect. See also stdout, stderr and stdin in the DBGp spec.
DBGp::Client::Response::Redirect
Implemented by DBGp::Client::Response::Break. See also break in the DBGp spec.
DBGp::Client::Response::Break
Implemented by DBGp::Client::Response::Eval. See also eval in the DBGp spec.
DBGp::Client::Response::Eval
An optional "property" object (see below).
Implemented by DBGp::Client::Response::Interact. See also interact - interactive shell in the DBGp spec.
DBGp::Client::Response::Interact
Implemented by DBGp::Client::Response::Stream.
DBGp::Client::Response::Stream
decoded content
Implemented by DBGp::Client::Response::Notification. See also Notifications in the DBGp spec.
DBGp::Client::Response::Notification
Lists other objects that are part of the response object structure but are not response objects.
Implemented by DBGp::Client::Response::Breakpoint. See also breakpoints in the DBGp spec.
DBGp::Client::Response::Breakpoint
Implemented by DBGp::Client::Response::Property. See also properties, variables and values in the DBGp spec.
DBGp::Client::Response::Property
It always returns 0 unless children is true
0
children
The decoded value of scalar properties (typically useful when children is false).
Array of DBGp::Client::Response::Property objects. Returns an empty array unless children is true).
Mattia Barbon <mbarbon@cpan.org>
Copyright (c) 2015 Mattia Barbon. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install DBGp::Client, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBGp::Client
CPAN shell
perl -MCPAN -e shell install DBGp::Client
For more information on module installation, please visit the detailed CPAN module installation guide.