SAP ABAP Interface IF_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 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
Interface IF_ABDBG_ACT_FOR_ATTACH  
Short Description Activation of ABAP Debugger for the "attach" scenario    
General Data
Package SABP_DEBUG_EXT   External Activation of ABAP Debugger 
Created 20110207   SAP 
Last changed 20130531   SAP 
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 IF_ABDBG_ACT_FOR_ATTACH Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
Interface IF_ABDBG_ACT_FOR_ATTACH has no interface.
Friends
Interface IF_ABDBG_ACT_FOR_ATTACH has no friend.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 ACTKIND_DEBUGGEE Constant Public Type reference (TYPE) CHAR08 'DEBUGGEE' CHAR08 20110218
2 ACTKIND_POSTMORTEM Constant Public Type reference (TYPE) CHAR08 'PMORTEM' CHAR08 20110218
3 ACTKIND_POSTMORTEM_DIALOG Constant Public Type reference (TYPE) CHAR08 'PMORTDIA' CHAR08 20130104
4 BPK_EXCEPTION Constant Public Type reference (TYPE) INT4 2 20120102
5 BPK_SRCLINE Constant Public Type reference (TYPE) INT4 0 Natural number 20111118
6 BPK_STATEMENT Constant Public Type reference (TYPE) INT4 1 Natural number 20111118
Methods
# Method Level Visibility Method type Description Created on
1 ATTACH Instance method Public Method Connects current process as debugger 20110207
2 DELETE_ALL_EXTD_BREAKPOINTS Instance method Public Method Delete (external) all breakpoints (new version) 20111122
3 DELETE_BREAKPOINT Instance method Public Method Obsolete: Delete an (external) breakpoint 20110207
4 DELETE_EXTD_BREAKPOINT Instance method Public Method Delete (external) breakpoint (new version) 20111122
5 GET_BREAKPOINTS Instance method Public Method Obsolete: Delivers the breakpoints set so far 20110207
6 GET_EXTD_BREAKPOINTS Instance method Public Method Get (external) breakpoints (new version) 20111122
7 GET_WAITING_DEBUGGEES Instance method Public Method Delivers waiting debugges 20110207
8 GET_WAITING_DEBUGGEES_MONITOR Instance method Public Method Gets ALL waiting debuggees ( User & TermId for monitoring ) 20110207
9 SET_BREAKPOINT Instance method Public Method Obsolete: Set (external) breakpoint 20110207
10 SET_EXTD_BREAKPOINT Instance method Public Method Set (external) breakpoint (new version) 20111118
11 START_LISTENER Instance method Public Method Start listener for "Breakpoint Notification" 20110207
12 STOP_LISTENER Instance method Public Method Stop listener explicitely 20110801
Events
Interface 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 Importing 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 CX_ABDBG_ACTEXT_CANNOT_ATTACH 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 Returning BREAKPOINT_COUNT Value transfer Type reference (TYPE) I Number of breakpoints deleted 20111122

Method DELETE_ALL_EXTD_BREAKPOINTS on Interface 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 Importing BREAKPOINT Call by reference Type reference (TYPE) EXT_BREAKPOINT Line breakpoint 20110207
2 Exporting BREAKPOINT_OUT Call by reference Type reference (TYPE) EXT_BREAKPOINT Line breakpoint (corrected line) 20110207
3 Importing FLAG_CORRECTLINE Call by reference Type reference (TYPE) ABAP_BOOL 'X' SPACE prevents implicit correction of lines 20110207
# Exception Resumable Description Created on
1 CX_ABDBG_ACTEXT_ILLEGAL_BP 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 Importing FINGERPRINT Call by reference Type reference (TYPE) FINGERPRINT_T Breakpoint fingerprint, retrieved by get method 20111122
# Exception Resumable Description Created on
1 CX_ABDBG_ACTEXT_ILLEGAL_BP 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 Exporting BREAKPOINTS Call by reference Type reference (TYPE) EXT_BREAKPOINTS Table of external breakpoints 20110207
2 Exporting BREAKPOINTS_SETTERINFO Call by reference Type reference (TYPE) EXT_BREAKPOINTS_SETTERINFO Table of external breakpoints and info about who set them 20110207
3 Exporting FLAG_ACTIVE Call by reference Type reference (TYPE) CHAR1 Contains 'X' if breakpoints set but inactive 20110207
# Exception Resumable Description Created on
1 CX_ABDBG_ACTEXT_NO_EXTBPS 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 Returning BREAKPOINTS Value transfer Type reference (TYPE) BREAKPOINTS_T Table of all breakpoints set 20111122

Method GET_EXTD_BREAKPOINTS on Interface 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 Exporting DEBUGGEES Call by reference Type reference (TYPE) ABDBG_ACT_DEBUGGEES Table of debuggees waiting for "attach" 20110207
# Exception Resumable Description Created on
1 CX_ABDBG_ACTEXT_NO_DEBUGGEES 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 Exporting DEBUGGEES Call by reference Type reference (TYPE) ABDBG_ACT_DEBUGGEES Table of debuggees waiting for "attach" 20110207
# Exception Resumable Description Created on
1 CX_ABDBG_ACTEXT_NO_DEBUGGEES No waiting debuggees 20110207

Method SET_BREAKPOINT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing BREAKPOINT Call by reference Type reference (TYPE) EXT_BREAKPOINT Line Breakpoint 20110207
2 Exporting BREAKPOINT_OUT Call by reference Type reference (TYPE) EXT_BREAKPOINT Line Breakpoint (corrected line) 20110207
# Exception Resumable Description Created on
1 CX_ABDBG_ACTEXT_BP_NO_GEN_SRC Source cannot be generated to set breakpoint 20110207
2 CX_ABDBG_ACTEXT_DUPLICATE_BP Breakpoint already exists 20110207
3 CX_ABDBG_ACTEXT_EXTBP_NOACT External debugging could not be activated 20110207
4 CX_ABDBG_ACTEXT_ILLEGAL_BP 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 Importing ATTRIBUTES Call by reference Type reference (TYPE) ATTRIBUTES_T Breakpoint attributes 20111118
2 Importing BREAKPOINT Call by reference Type reference (TYPE) BREAKPOINT_DATA_T Breakpoint data 20111121
3 Exporting FINGERPRINT Call by reference Type reference (TYPE) FINGERPRINT_T Breakpoint fingerprint 20111118
4 Importing FLAG_OVERWRITE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Overwrite existing breakpoint, if exists 20111125
# Exception Resumable Description Created on
1 CX_ABDBG_ACTEXT_DUPL_EXTDBP Breakpoint already exists 20111121
2 CX_ABDBG_ACTEXT_EXTBP_NOACT External debugging could not be activated 20111118
3 CX_ABDBG_ACTEXT_ILLEGAL_BP Not a valid external breakpoint 20111118
4 CX_ABDBG_ACTEXT_TOO_MANY_BPS 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 Importing ACTIVATION Call by reference Type reference (TYPE) ABDBG_LISTENER_ACTIVTATION Listener act.: Config. for different debug. request kinds 20110221
2 Importing 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 CX_ABDBG_ACTEXT_LIS_NOTSTARTED Cannot start listener 20110207
2 CX_ABDBG_ACTEXT_LIS_TIMEOUT Listener returned with time-out 20110207

Method STOP_LISTENER Signature

Method STOP_LISTENER on Interface IF_ABDBG_ACT_FOR_ATTACH has no parameter.
# Exception Resumable Description Created on
1 CX_ABDBG_ACTEXT_LIS_NOTSTARTED Listener was not started before 20110801
History
Last changed by/on SAP  20130531 
SAP Release Created in 802