SAP ABAP Class IF_ABDBG_ACT_FOR_ATTACH (Activation of ABAP Debugger for the "attach" scenario)
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | CL_ABDBG_ACT_FOR_ATTACH__TID | Activation of ABAP Dbger (TermId) for the "attach" scenario | 20110207 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | CL_ABDBG_ACT_FOR_ATTACH__USER | Activation of ABAP Debugger (User) for the "attach" scenario | 20110207 |
Properties
| Class | IF_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 | ||
| Created | 20110207 | 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 IF_ABDBG_ACT_FOR_ATTACH has no interface implemented.
Friends
Class IF_ABDBG_ACT_FOR_ATTACH has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | CHAR08 | 'DEBUGGEE' | CHAR08 | 20110218 | ||
| 2 | Constant | Public | Type reference (TYPE) | CHAR08 | 'PMORTEM' | CHAR08 | 20110218 | ||
| 3 | Constant | Public | Type reference (TYPE) | CHAR08 | 'PMORTDIA' | CHAR08 | 20130104 | ||
| 4 | Constant | Public | Type reference (TYPE) | INT4 | 2 | 20120102 | |||
| 5 | Constant | Public | Type reference (TYPE) | INT4 | 0 | Natural number | 20111118 | ||
| 6 | Constant | Public | Type reference (TYPE) | INT4 | 1 | Natural number | 20111118 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Connects current process as debugger | 20110207 | |
| 2 | Instance method | Public | Method | Delete (external) all breakpoints (new version) | 20111122 | |
| 3 | Instance method | Public | Method | Obsolete: Delete an (external) breakpoint | 20110207 | |
| 4 | Instance method | Public | Method | Delete (external) breakpoint (new version) | 20111122 | |
| 5 | Instance method | Public | Method | Obsolete: Delivers the breakpoints set so far | 20110207 | |
| 6 | Instance method | Public | Method | Get (external) breakpoints (new version) | 20111122 | |
| 7 | Instance method | Public | Method | Delivers waiting debugges | 20110207 | |
| 8 | Instance method | Public | Method | Gets ALL waiting debuggees ( User & TermId for monitoring ) | 20110207 | |
| 9 | Instance method | Public | Method | Obsolete: Set (external) breakpoint | 20110207 | |
| 10 | Instance method | Public | Method | Set (external) breakpoint (new version) | 20111118 | |
| 11 | Instance method | Public | Method | Start listener for "Breakpoint Notification" | 20110207 | |
| 12 | Instance method | Public | Method | Stop listener explicitely | 20110801 |
Events
Class IF_ABDBG_ACT_FOR_ATTACH has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | ATTRIBUTES_T | Public | See coding | 20111118 | begin of ATTRIBUTES_T,
flagactive type abap_bool, "currently transported but not active
system_debugging type abap_bool, "currently transported not not active
tag type string, "currently not transported by kernel
end of attributes_t
|
||
| 2 | BP_EXCEPTION_T | Public | See coding | 20120102 | begin of BP_EXCEPTION_T,
EXCEPTION(30) type c,
end of BP_EXCEPTION_t
|
||
| 3 | BP_LINE_T | Public | See coding | 20111118 | begin of BP_LINE_T,
progname type sycprog,
include type sycprog,
line type i,
end of BP_LINE_T
|
||
| 4 | BP_STATEMENT_T | Public | See coding | 20111118 | begin of BP_STATEMENT_T,
statement(30) type c,
end of BP_STATEMENT_T
|
||
| 5 | BREAKPOINTS_T | Public | See coding | 20111122 | breakpoints_t type hashed table of breakpoint_t WITH UNIQUE KEY fingerprint
|
||
| 6 | BREAKPOINT_DATA_T | Public | See coding | 20111122 | begin of BREAKPOINT_DATA_T,
kind type i,
BP type ref to data,
skipcnt type i, "currently not transported by kernel
condition type string, "currently not transported by kernel
end of breakpoint_data_t
|
||
| 7 | BREAKPOINT_T | Public | See coding | 20111122 | begin of BREAKPOINT_T,
fingerprint type fingerprint_t,
breakpoint_data type breakpoint_data_t,
attributes type attributes_t,
end of breakpoint_t
|
||
| 8 | FINGERPRINT_T | Public | See coding | 20111118 | FINGERPRINT_T(16) type x
|
Method Signatures
Method ATTACH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DEBUGGEE | Call by reference | Type reference (TYPE) | SYSUUID_C32 | Field DEBUGGEE_ID from exp. struct. of GET_WAITING_DEBUGGEES | 20110207 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | No "Attach" possible to debuggee | 20110207 |
Method DELETE_ALL_EXTD_BREAKPOINTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | BREAKPOINT_COUNT | Value transfer | Type reference (TYPE) | I | Number of breakpoints deleted | 20111122 |
Method DELETE_ALL_EXTD_BREAKPOINTS on class IF_ABDBG_ACT_FOR_ATTACH has no exception.
Method DELETE_BREAKPOINT 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 | Line breakpoint | 20110207 | |||
| 2 | BREAKPOINT_OUT | Call by reference | Type reference (TYPE) | EXT_BREAKPOINT | Line breakpoint (corrected line) | 20110207 | |||
| 3 | FLAG_CORRECTLINE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 'X' | SPACE prevents implicit correction of lines | 20110207 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Not a valid external breakpoint | 20110207 |
Method DELETE_EXTD_BREAKPOINT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FINGERPRINT | Call by reference | Type reference (TYPE) | FINGERPRINT_T | Breakpoint fingerprint, retrieved by get method | 20111122 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Not a valid external breakpoint | 20111122 |
Method GET_BREAKPOINTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | BREAKPOINTS | Call by reference | Type reference (TYPE) | EXT_BREAKPOINTS | Table of external breakpoints | 20110207 | |||
| 2 | BREAKPOINTS_SETTERINFO | Call by reference | Type reference (TYPE) | EXT_BREAKPOINTS_SETTERINFO | Table of external breakpoints and info about who set them | 20110207 | |||
| 3 | FLAG_ACTIVE | Call by reference | Type reference (TYPE) | CHAR1 | Contains 'X' if breakpoints set but inactive | 20110207 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | No external breakpoints exist | 20110207 |
Method GET_EXTD_BREAKPOINTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | BREAKPOINTS | Value transfer | Type reference (TYPE) | BREAKPOINTS_T | Table of all breakpoints set | 20111122 |
Method GET_EXTD_BREAKPOINTS on class IF_ABDBG_ACT_FOR_ATTACH has no exception.
Method GET_WAITING_DEBUGGEES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DEBUGGEES | Call by reference | Type reference (TYPE) | ABDBG_ACT_DEBUGGEES | Table of debuggees waiting for "attach" | 20110207 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | No waiting debuggees | 20110207 |
Method GET_WAITING_DEBUGGEES_MONITOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DEBUGGEES | Call by reference | Type reference (TYPE) | ABDBG_ACT_DEBUGGEES | Table of debuggees waiting for "attach" | 20110207 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | No waiting debuggees | 20110207 |
Method SET_BREAKPOINT 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 | Line Breakpoint | 20110207 | |||
| 2 | BREAKPOINT_OUT | Call by reference | Type reference (TYPE) | EXT_BREAKPOINT | Line Breakpoint (corrected line) | 20110207 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Source cannot be generated to set breakpoint | 20110207 | ||
| 2 | Breakpoint already exists | 20110207 | ||
| 3 | External debugging could not be activated | 20110207 | ||
| 4 | Not a valid external breakpoint | 20110207 |
Method SET_EXTD_BREAKPOINT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ATTRIBUTES | Call by reference | Type reference (TYPE) | ATTRIBUTES_T | Breakpoint attributes | 20111118 | |||
| 2 | BREAKPOINT | Call by reference | Type reference (TYPE) | BREAKPOINT_DATA_T | Breakpoint data | 20111121 | |||
| 3 | FINGERPRINT | Call by reference | Type reference (TYPE) | FINGERPRINT_T | Breakpoint fingerprint | 20111118 | |||
| 4 | FLAG_OVERWRITE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Overwrite existing breakpoint, if exists | 20111125 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Breakpoint already exists | 20111121 | ||
| 2 | External debugging could not be activated | 20111118 | ||
| 3 | Not a valid external breakpoint | 20111118 | ||
| 4 | The limit of 25 breakpoints is exceeded | 20111122 |
Method START_LISTENER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ACTIVATION | Call by reference | Type reference (TYPE) | ABDBG_LISTENER_ACTIVTATION | Listener act.: Config. for different debug. request kinds | 20110221 | |||
| 2 | TIME_OUT | Call by reference | Type reference (TYPE) | INT4 | Wait time, 1-600 seconds (other values lead to 600) | 20110207 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Cannot start listener | 20110207 | ||
| 2 | Listener returned with time-out | 20110207 |
Method STOP_LISTENER Signature
Method STOP_LISTENER on class IF_ABDBG_ACT_FOR_ATTACH has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Listener was not started before | 20110801 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in |