天天看點

SAP Cloud for Customer Cloud(C4C)Application Studio裡的代碼調試

和其他IDE使用方式一樣,首先在需要設定斷點的代碼行數前面輕按兩下,設定斷點:

SAP Cloud for Customer Cloud(C4C)Application Studio裡的代碼調試

使用菜單Debug->Start Debugging,切換成調試模式:

SAP Cloud for Customer Cloud(C4C)Application Studio裡的代碼調試

看到Show output from:Debug裡,顯示了提示資訊:

Debugger has been started for user WANGJERRY1:

SAP Cloud for Customer Cloud(C4C)Application Studio裡的代碼調試

之後,一旦使用該user在UI上操作,隻要該UI操作會觸發我們設定斷點的ABAP script 檔案的執行,則斷點會自動觸發:

SAP Cloud for Customer Cloud(C4C)Application Studio裡的代碼調試

可以和其他IDE一樣,使用Cloud Application Studio提供的調試工具,比如檢視變量值,檢視callstack,Step Out,Step Over等等。

SAP Cloud for Customer Cloud(C4C)Application Studio裡的代碼調試

更多Jerry的原創文章,盡在:“汪子熙”: