ABAP Forum
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

VSCode ADT ABAP debugging does not work

htammen
Active Contributor
0 Likes
154

Hi,

I installed VSCode on a Windows 11 machine and added the "ABAP Development Tools for VS Code" extension.
Then I created a destination to our OnPremise S/4HANA System and added the destination as Folder to Workspace.

I can edit my ABAP source code and can activate it. So it works fine and the connection to my S/4 system is established.

But I cannot debug at all. What can be the reason?

When I work with Eclipse ADT on the same machine everything works fine.

Best regards 
Helmut

 

 

Hi,

I installed VSCode on a Windows 11 machine and added the "ABAP Development Tools for VS Code" extension.
Then I created a destination to our OnPremise S/4HANA System and added the destination as Folder to Workspace.

I can edit my ABAP source code and can activate it. So it works fine and the connection to my S/4 system is established.

But I cannot debug at all. What can be the reason?

When I work with Eclipse ADT on the same machine everything works fine.

Best regards 
Helmut

 

 

3 REPLIES 3
Read only

anupkumarbharti
Discoverer
0 Likes
131

My Recommendation is to check this :

  1. Verify the version of the ABAP Development Tools for VS Code extension.
  2. Review the extension's documentation and feature matrix to confirm whether ABAP debugging is currently supported.
  3. Check the VS Code Output and Developer Tools Console for debugger-related error messages.
  4. Compare the backend requirements for VS Code debugging against your SAP S/4HANA release.

Since debugging works successfully in Eclipse ADT on the same workstation and system, I would first verify whether the current VS Code ABAP extension actually supports ABAP debugging for your SAP release. In many cases, the limitation is with the VS Code extension rather than the SAP system configuration.

Read only

0 Likes
59

I want to do debugging for another user as the one I'm connected to in VSCode.
In VSCode I connect to the system with my developement user.
In my Fiori Launchpad I login with a business user.

I want to set a breakpoint for this business user. This is possible in Eclipse ADT but I haven't found something similar in VSCode ADT.

Read only

0 Likes
25

Hi @htammen : At the moment, the VS Code ADT debugger appears to support debugging only for the session/user associated with the debugging connection. I have not found evidence that external breakpoints for another user are currently supported, unlike Eclipse ADT.