NAME
DBGp::Client::Response - documentation for DBGp response objects
DESCRIPTION
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" have transaction_id
and command
accessors.
All response objects have an is_error
accessor, which only returns true for error responses.
RESPONSES
init
Implemented by DBGp::Client::Response::Init
. See also connection initialization in the DBGp spec.
Accessors:
- fileuri
- parent
- idekey
- thread
- appid
- protocol_version
- hostname
- language
error
Implemented by DBGp::Client::Response::Error
. See also debugger engine errors in the DBGp spec.
Accessors:
- code
- apperr
- message
feature_set
Implemented by DBGp::Client::Response::FeatureSet
. See also feature_set in the DBGp spec.
Accessors:
- success
- feature
run, step_into, step_over, step_out, stop,detach
Implemented by DBGp::Client::Response::Step
. See also continuation commands in the DBGp spec.
Accessors:
- reason
- status
- filename
-
Might or might not be present (Xdebug extension not in the specification)
- lineno
-
Might or might not be present (Xdebug extension not in the specification)
OTHER OBJECTS
Lists other objects that are part of the response object structure but are not response objects.
breakpoint
Implemented by DBGp::Client::Response::Breakpoint
. See also breakpoints in the DBGp spec.
Accessors:
- id
- type
- state
- filename
- lineno
- function
- exception
- hit_value
- hit_condition
- hit_count
- expression
property
Implemented by DBGp::Client::Response::Property
. See also properties, variables and values in the DBGp spec.
Accessors:
- name
- fullname
- constant
- type
- children
- address
- pagesize
- page
- classname
- key
- facet
- numchildren
-
It always returns
0
unlesschildren
is true - value
-
The decoded value of scalar properties (typically useful when
children
is false). - childs
-
Array of
DBGp::Client::Response::Property
objects. Returns an empty array unlesschildren
is true).
AUTHOR
Mattia Barbon <mbarbon@cpan.org>
LICENSE
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.