cancel
Showing results for 
Search instead for 
Did you mean: 

Debugger getting detached in SAP SAM

Srinivasreddy_b
Explorer
0 Kudos

Hello Experts,

While debugging in VS code, suddenly the debugger getting detached in SAP SAM 2310 version, my colleagues are also facing the same issue. The application is loading from the Mobile services not from the local repository.

 

Thanks and Regards,

Srinivas

Srinivasreddy_b
Explorer
0 Kudos

Hello Bill,

We found that the MDK extension for VS code is causing the issue. Current MDK extension version(1.27.2) is having issues. I have rolled it back to 1.27.0, then the debugger is attaching and working fine.

Thanks for the quick response.

 

Regards,

Srinivas

View Entire Topic
Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Are you debugging SAM app running device or emulator? iOS or Android?

Did you update the MDK extension for VSC to latest version? 1.27.2 

Srinivasreddy_b
Explorer
0 Kudos

Hello Jitendra,

Thanks for the quick response.

MDK extension for VSC is 1.27.2

We are debugging using Mac simulator.

We created the client by downloading latest S/W's from SAP Software Center, still the application is launching/loading from Mobile services and debugger is getting detached immediately.

Kindly help us.

Regards,

Srinivas 

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos
I assume by Mac Simulator you mean an iOS simulator? Are you trying to launch the client from within VSCode or attach to it already running from a terminal?
Srinivasreddy_b
Explorer
0 Kudos

Hello Bill,

Thanks for the response.

yeah, iOS simulator.

Am launching the client from within VSCode. We already build a client using create-client.command and added the App root in the settings section in VS Code, when start debugging, it will open the client that we build and then the debugger gets attached.

Regards,

Srinivas

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos
Also what version of MDK are you running with the client and what version of XCode are you using?
Srinivasreddy_b
Explorer
0 Kudos
Hello Bill, We found that the MDK extension for VS code is causing the issue. Current MDK extension version(1.27.2) is having issues. I have rolled it back to 1.27.0, then the debugger is attaching and working fine. Thanks for the quick response. Regards, Srinivas
bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos
That's interesting because for me the exact opposite is true. Using 1.27.0 I get disconnected but under 1.27.2 it works for me