SAP ABAP Class CL_ABDBG_ACT_FOR_ATTACH (Activation of ABAP Debugger for the "attach" scenario)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-ABA-LA (Application Component) Syntax, Compiler, Runtime
⤷
SABP_DEBUG_EXT (Package) External Activation of ABAP Debugger
⤷
⤷
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_ABDBG_ACT_FOR_ATTACH__TID | Activation of ABAP Dbger (TermId) for the "attach" scenario | 20111118 |
| 2 | Inheritance (c INHERITING FROM c_ref) | CL_ABDBG_ACT_FOR_ATTACH__USER | Activation of ABAP Debugger (User) for the "attach" scenario | 20111118 |
Properties
| Class | CL_ABDBG_ACT_FOR_ATTACH | |
| Short Description | Activation of ABAP Debugger for the "attach" scenario | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SABP_DEBUG_EXT | External Activation of ABAP Debugger |
| Created | 20111118 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class CL_ABDBG_ACT_FOR_ATTACH has no interface implemented.
Friends
Class CL_ABDBG_ACT_FOR_ATTACH has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Protected | Type reference (TYPE) | I | 30 | Max. number of breakpoints possible | 20111123 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | 20120116 | ||
| 2 | Static method | Public | Method | Compute fingerprint from given breakpoint | 20111121 | |
| 3 | Static method | Public | Method | Can you use the attach feature at all (kernel support) ? | 20120131 | |
| 4 | Static method | Public | Method | For line based BPs: check, if line is executable | 20111201 | |
| 5 | Static method | Public | Method | Has the current request been activated for "ATTACH" before? | 20120329 | |
| 6 | Static method | Protected | Method | Delete outdated breakpoints in table abdbg_extdbps | 20111122 | |
| 7 | Static method | Protected | Method | De-serialize DB entry abdbg_extdbps-attributes to attributes | 20111122 | |
| 8 | Static method | Protected | Method | De-serialize DB entry abdbg_extdbps-breakpoint to bp | 20111121 | |
| 9 | Static method | Protected | Method | Gets correct start line from line breakpoints | 20111118 | |
| 10 | Static method | Protected | Method | Can line chosen for breakpoint be executed? | 20111118 | |
| 11 | Static method | Protected | Method | Checks if we need to generate the current program | 20120314 | |
| 12 | Static method | Protected | Method | Serialize attributes to string (to store in ABDBG_EXTDBPS) | 20111121 | |
| 13 | Static method | Protected | Method | Serialize BP data to string (to store in ABDBG_EXTDBPS) | 20111121 |
Events
Class CL_ABDBG_ACT_FOR_ATTACH has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | LISTENERS_T | Public | See coding | 20120116 | listeners_t TYPE STANDARD TABLE OF listener_t WITH DEFAULT KEY
|
||
| 2 | LISTENER_T | Public | Type reference (TYPE) | ABDBG_LISTENER | 20120116 | |
|
| 3 | TEXT_ATTRIBUTES_T | Private | See coding | 20111121 | begin of TEXT_ATTRIBUTES_t,
flag_active type abap_bool,
system_debugging type abap_bool,
end of TEXT_ATTRIBUTES_t
|
||
| 4 | TEXT_BREAKPOINT_DATA_T | Private | See coding | 20111122 | begin of TEXT_BREAKPOINT_DATA_t,
kind(10) type c,
program type sy-repid,
include type sy-repid,
line(12) type c,
statement(30) type c,
exception(30) type c,
end of TEXT_BREAKPOINT_DATA_t
|
Method Signatures
Method GET_ACTIVE_LISTENERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | LISTENERS | Value transfer | Type reference (TYPE) | LISTENERS_T | 20120116 |
Method GET_ACTIVE_LISTENERS on class CL_ABDBG_ACT_FOR_ATTACH has no exception.
Method GET_FINGERPRINT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | BREAKPOINT_IN | Call by reference | Type reference (TYPE) | IF_ABDBG_ACT_FOR_ATTACH=>BREAKPOINT_DATA_T | 20111121 | ||||
| 2 | FINGERPRINT | Value transfer | Type reference (TYPE) | IF_ABDBG_ACT_FOR_ATTACH=>FINGERPRINT_T | 20111121 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Not a valid external breakpoint | 20111121 |
Method IS_DEBUGGER_ATTACH_SUPPORTED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_SUPPORTED | Value transfer | Type reference (TYPE) | SAP_BOOL | Boolean Variable (X=True, Space=False) | 20120131 |
Method IS_DEBUGGER_ATTACH_SUPPORTED on class CL_ABDBG_ACT_FOR_ATTACH has no exception.
Method IS_EXTDBP_POSITION_EXECUTABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | BREAKPOINT_IN | Value transfer | Type reference (TYPE) | IF_ABDBG_ACT_FOR_ATTACH=>BREAKPOINT_DATA_T | Breakpoint to be checked | 20111201 | |||
| 2 | BREAKPOINT_OUT | Value transfer | Type reference (TYPE) | IF_ABDBG_ACT_FOR_ATTACH=>BREAKPOINT_DATA_T | Corrected breakpoint | 20111201 | |||
| 3 | FLAG_LINE_CORRECTED | Value transfer | Type reference (TYPE) | ABAP_BOOL | 'X', if correctiion has been done, SPACE otherwise | 20111201 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Source cannot be generated to set breakpoint | 20111201 | ||
| 2 | Not a valid external breakpoint | 20111201 |
Method IS_REQ_ACTIVATED_FOR_ATTACH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_ACTIVATED | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20120329 |
Method IS_REQ_ACTIVATED_FOR_ATTACH on class CL_ABDBG_ACT_FOR_ATTACH has no exception.
Method __DELETE_OUTDATED_BPS Signature
Method __DELETE_OUTDATED_BPS on class CL_ABDBG_ACT_FOR_ATTACH has no parameter.
Method __DELETE_OUTDATED_BPS on class CL_ABDBG_ACT_FOR_ATTACH has no exception.
Method __DESERIALIZE_ATTRIBUTES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ATTRIBUTES_OUT | Value transfer | Type reference (TYPE) | IF_ABDBG_ACT_FOR_ATTACH=>ATTRIBUTES_T | 20111122 | ||||
| 2 | SERIALIZED_ATTRIBUTES | Call by reference | Type reference (TYPE) | STRING | 20111122 |
Method __DESERIALIZE_ATTRIBUTES on class CL_ABDBG_ACT_FOR_ATTACH has no exception.
Method __DESERIALIZE_BREAKPOINTDATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | BREAKPOINT_OUT | Value transfer | Type reference (TYPE) | IF_ABDBG_ACT_FOR_ATTACH=>BREAKPOINT_DATA_T | 20111121 | ||||
| 2 | SERIALIZED_BREAKPOINT | Call by reference | Type reference (TYPE) | STRING | Serialized Breakpoint, like abdbg_extdbps->breakpoint | 20111121 |
Method __DESERIALIZE_BREAKPOINTDATA on class CL_ABDBG_ACT_FOR_ATTACH has no exception.
Method __GET_BP_POSITION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | BREAKPOINT | Call by reference | Type reference (TYPE) | EXT_BREAKPOINT | HTTP Breakpoint | 20111118 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Source cannot be generated to set breakpoint | 20111118 | ||
| 2 | Not a valid external breakpoint | 20111118 |
Method __IS_CONT_EXECUTABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONT | Call by reference | Type reference (TYPE) | RCONT | Structure of ABAP processing control block | 20111118 | |||
| 2 | IS_EXECUTABLE | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20111118 |
Method __IS_CONT_EXECUTABLE on class CL_ABDBG_ACT_FOR_ATTACH has no exception.
Method __IS_PROGRAM_LOADED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | LOADED | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20120314 | ||||
| 2 | PROGRAM | Call by reference | Type reference (TYPE) | PROGNAME | ABAP Program Name | 20120314 |
Method __IS_PROGRAM_LOADED on class CL_ABDBG_ACT_FOR_ATTACH has no exception.
Method __SERIALIZE_ATTRIBUTES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ATTRIBUTES_IN | Call by reference | Type reference (TYPE) | IF_ABDBG_ACT_FOR_ATTACH=>ATTRIBUTES_T | 20111121 | ||||
| 2 | SERIALIZED_ATTRIBUTES | Value transfer | Type reference (TYPE) | STRING | Serialized attributes, like abdbg_extdbps->attributes | 20111121 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Not a valid external breakpoint | 20111121 |
Method __SERIALIZE_BREAKPOINTDATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | BREAKPOINT_IN | Call by reference | Type reference (TYPE) | IF_ABDBG_ACT_FOR_ATTACH=>BREAKPOINT_DATA_T | 20111121 | ||||
| 2 | SERIALIZED_BREAKPOINT | Value transfer | Type reference (TYPE) | STRING | Serialized Breakpoint, like abdbg_extdbps->breakpoint | 20111121 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Not a valid external breakpoint | 20111121 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 804 |