mrlnc / HelloSTK2

Updated buildchain for SIM STK applets
21 stars 5 forks source link

Applet debugging #4

Open micahflack opened 4 months ago

micahflack commented 4 months ago

I was trying to adapt some older applets for sysmoISIM-SJA2 cards, and this buildchain seems to work, but I was wondering how do y'all debug your applets?

The .CAP file is generated, shadysim-ISIM is able to load/install the applet, and it appears active/selectable under the applet list. When I navigate to the SIM Toolkit app and select our applet from the menu it doesn't launch. Or, I should say that the expected results aren't visible.

Does everyone use Eclipse plug-ins for debugging or some kind of javacard simulator? I'm trying to find something that allows me to do on-card debugging either from the desktop or, preferably, the phone.

mrlnc commented 2 months ago

(I'll leave this open for anybody to join the conversation. I don't know.)

martinpaljak commented 2 months ago

With simtrace or similar tooling.