Our Online Store have the new products: RFID antenna board. Currently it can work with JC10M24R and JCOP4 card chips.
Compared with normal cards, the antenna board module has a smaller size and fixed holes, which is easy to integrate in the IOT(Internet Of Things) project.

How to debug my applet on a real card

JavaCard Applet Development Related Questions and Answers.
pitbar
Posts: 22
Joined: Wed Dec 02, 2015 5:39 am
Points :93
Contact:

How to debug my applet on a real card

Post by pitbar » Fri Jul 22, 2016 3:21 am

I want to debug my java card applet on the real card. I mean I can set some breakpoints in my applet source code and the execution flow on a real card can stop when coming across these breakpoints. How can I do this? Could anyone give me some pointers? Any answer will be much appreciated.

User avatar
mabel
Posts: 237
Joined: Mon May 18, 2015 3:09 am
Points :1705
Contact:

Re: How to debug my applet on a real card

Post by mabel » Fri Jul 22, 2016 5:51 am

It seems that you can not debug your applet in the real card.

But there is a flexible method to reach your aim.

Add code to your card that will throw a known exception at a known point in the execution flow. When you see the status word for an exception, you know you have reached a certain point.

pitbar
Posts: 22
Joined: Wed Dec 02, 2015 5:39 am
Points :93
Contact:

Re: How to debug my applet on a real card

Post by pitbar » Fri Jul 22, 2016 6:01 am

Hello bro.

Thanks for your help!

But actually I want to monitor some values during the execution flow. What can i do? Is there any method?

User avatar
mabel
Posts: 237
Joined: Mon May 18, 2015 3:09 am
Points :1705
Contact:

Re: How to debug my applet on a real card

Post by mabel » Fri Jul 22, 2016 6:20 am

The flexible method I mentioned may be the optimal approach.

Probably, you need specific and proprietary hardware to do what you need.

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 89 guests

JavaCard OS : Disclaimer