Page 1 of 1
How to debug my applet on a real card
Posted: Fri Jul 22, 2016 3:21 am
by pitbar
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.
Re: How to debug my applet on a real card
Posted: Fri Jul 22, 2016 5:51 am
by mabel
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.
Re: How to debug my applet on a real card
Posted: Fri Jul 22, 2016 6:01 am
by pitbar
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?
Re: How to debug my applet on a real card
Posted: Fri Jul 22, 2016 6:20 am
by mabel
The flexible method I mentioned may be the optimal approach.
Probably, you need specific and proprietary hardware to do what you need.