JCOP Tools 3.1.1b: Debugger does not break, what am I doing wrong?

Hey everybody
I'm desperately trying to debug applets using the JCOP Tools 3.1.1b but when I start the applet in debug mode, the debugger does not break on the breakpoints I set. You might know the little ticks that appear on top of each breakpoint bullet in the editor. The strange thing is that these ticks do not even appear.
I tried various versions of eclipse (3.1.0, 3.1.1, 3.1.2) and WinXP as wells as Linux. Does anybody else have the same problem or even a solution?
Thanks
Jonas

hello,
here are few steps you should check:
- when you start the debug session JCOPShell will load the applet into the simulator. You have to first make sure the applet is loaded with debug info. JCOPShell should do that by default, but check on the trace that "upload" command is called with the -d option:
upload -d "G:\glut-wks\JC\bin\helloworld\helloworld.cap" - then JCOPShell will install the applet with the "install" command. At that stage only the install function (and of course the constructor of the Applet) will be called. So breakpoints located in other part of the code won't break. Check the trace because if install is not called no applet code will be running.
- after installation, applet must be first selected to get any of its code running. Use "/select |appletname". If you have a breakpoint at the beginning of the "process" method, it should break. if the Applet is not selected all future APDU will go to the cardmanager, and applet code won't be running.
hope this help :)
E.

Similar Messages

  • I have deleted users but the free space is not available what did I do wrong

    Not sure what has happened.  I deleted a user and it should have freed up about 150gb of hard drive space.  It hasn't, when I go to about this make and click on storage it is still showing 100gb of space for movies, and 40gb for other, and 10gb for music.  The admin which is all that is left has no files at all, yet it says the hard drive has those files.  I can't find them to delet, what am I missing?  Is there a hidden folder full of movies and music somewhere?  How do I reclaim all that hard drive space.

    Hi, did you empty the Trash yet?
    How much free space is on the HD, where has all the space gone?
    OmniDiskSweeper is likely the easiest/best, and is now free...
    http://www.omnigroup.com/applications/omnidisksweeper/download/
    And if needed, you can use Terminal to run it in admin mode to see files/folders your user can't see...
    http://www.macobserver.com/tmo/article/how_to_recover_missing_hard_drive_space/

  • Reply "accept" turns into "not accepted" What do we do wrong?

    This morning I tried to get into contact with my grandson through iChat Video. My call was seen on the other side and they accepted my call. But my computer showed that they failed to accept my call. Than came a "communication massage error"."An error message was sent to Apple."
    We than repeated the proceedure in the reverse direction. This time my grandson called, I received the call request and answered "accept". It registered as "did not accept call' "Communication error".
    Are we doing something wrong or a server is down?
    Thanks

    Hi zsuzsa,
    Try another Chat. When it fails, open the Details before sending the Log to Apple.
    Copy and paste here the bit between the last mention what the error number is and the third line of the Binary Images Part.
    3:41 PM Sunday; December 10, 2006

  • I have dloaded and reloaded firefox 7 b4 i had firefox 5 now after system restore and proxy setting changes an d default settings fire fox still will not open what am i doin wrong

    ater upgrading to firefox 7 from version 5 i cant open this web browser it worked b4 but after upgrade it will not open. i did system restore to go back to a time when it did work and i still have this problem.the message says website is too busy or proxy settings r wrong but i changed them every way possible.i uninstalled the program and reinstalled it with no success. even google chrome will give me same message is my pc infected? or is there a way to get firefox to be my primary web browser?my operating system is win7 vista i am currently backing up my files to a portable drive and my intension is to save files and reboot entire system and then d-load firefox again will this solve this issue?

    ater upgrading to firefox 7 from version 5 i cant open this web browser it worked b4 but after upgrade it will not open. i did system restore to go back to a time when it did work and i still have this problem.the message says website is too busy or proxy settings r wrong but i changed them every way possible.i uninstalled the program and reinstalled it with no success. even google chrome will give me same message is my pc infected? or is there a way to get firefox to be my primary web browser?my operating system is win7 vista i am currently backing up my files to a portable drive and my intension is to save files and reboot entire system and then d-load firefox again will this solve this issue?

  • Not sure what i've done wrong

    The problem is to allow a user to input 2 numbers... then allow the user to choose the mathematical operation performed. Ive used if statements but it seems after you chose what operation you want to use it skips the if statements and goes straight to the answer... which is always 0. any help is appreciated.
    import javax.swing.JOptionPane;
    public class Calculate1
    public static void main(String args[])
         int number1=0, number2=0, answer=0, choice1;
         String num1, num2, choice;     
         //Input Dialog boxes
    num1=JOptionPane.showInputDialog(null,
         "Enter the first number: ", "First number",
         JOptionPane.QUESTION_MESSAGE);
         num2=JOptionPane.showInputDialog(null,
         "Enter the second number: ", "Second number",
         JOptionPane.QUESTION_MESSAGE);
         //Convert values from string to int
         number1=Integer.parseInt(num1);
         number2=Integer.parseInt(num2);
         //Math operation input box
         choice=JOptionPane.showInputDialog
              ("To add your numbers, press A" +
              " \nTo subtract your numbers, press S" +
              " \nTo multiple your numbers, press M");
         if (choice == "a")
         answer = number1 + number2;
         else if (choice == "s")
         answer = number1 - number2;
         else if (choice == "m")
         answer = number1 * number2;
         // Answer statement to screen
    JOptionPane.showMessageDialog(null,
         "Your answer is " + answer, "Your answer",
              JOptionPane.INFORMATION_MESSAGE);
    System.exit (0);

    to illustrate aegons' reply, see this code
    public class TestStrings {
    public static void main(String[] args) {
      String test = args.length == 0 ? "TEST" : args[0];
      System.out.println("TEST".equals(test));
      System.out.println("TEST" == test);
    }this code here i haven't compiled nor run.
    but i assume that if you start it the way java TestStrings TEST, then it prints out:
    true
    false
    but if you run it without first parameter "TEST", then it might even print out:
    true
    true
    since internaly that "TEST" and variable test have pointers to the same memory region.
    but now if you run it with first parameter other than "TRUE", then it prints out:
    false
    false
    (which shouldn't surprise you)
    now there was a place where equation check with == could return true, that might seem convenient way for checking strings, but really it's not, because it works as we might excpect it, only with some JRE implementations and only in test programs that are quite small and hardcoded...
    i'm telling that because i don't want others to go wander off from their dayjob only because some sample programms make it look like they had implemented some fancy == handling in newer JRE/SDK
    (maybe it was interesting....)

  • HT1766 I ACCIDENTLY MISCODED MY PASSWORD TO OPEN MY PHONE/LOCKED!DO NOT KNOW WHAT KEY I HIT WRONG WHEN RESETTING

    my Iphone5 is locked ----numbers coded wrong

    Hi jljoy,
    Thanks for visiting Apple Support Communities.
    The steps at this link can help with accessing your iPhone if your passcode was entered incorrectly:
    iOS: Forgotten passcode or device disabled after entering wrong passcode
    http://support.apple.com/kb/HT1212
    Best,
    Jeremy

  • UCCE 8.5(2) web setup tool issue - HTTP Error 404.0 - Not Found

    Folks,
    I have installed UCCE 8.0(1a) along with 8.5(2) MR twice in a row. I dont receive any errors during my installation, the second time around I had all my prerequisites including OS patches, Visual Studio, SQL 2005 SP4 patching and everything written down from the first go around and was able to complete the install with zero errors.
    But once I complete the install and click on the Web Setup Tool I get a
    I am not sure what I am doing wrong, Apache is running, this is for my lab system and we just got our Production system installed a few months and I compared all my version with the Production system at work and they all look the same, only difference is that this is going to be a sprawler. But I havent even gotten to that part yet.
    I have attached images of the specs my Lab Server , any help is greatly appreciated, I am stumped at this point ..
    Hardware Specs and OS
    Installed Programs

    Folks, apologize for not following up on the responses, works gotten busy again. Anyways .. the requirement is described in the "Staging Guide for Cisco Unified ICM/Contact Center Enterprise & Hosted Release 8.x(y)" on Page 104.
    It states " Do not install Internet Information Services unless the server will host WebView or UnifiedICM multichannel options."
    One thing to note is that in Version 8.5 - Web View is no longer supported, which means - Do NOT Install IIS on your AW's HDS, DDS, Router or Logger or Rogger Servers since these use the Web Setup tool for installation and configuration.
    I would say dont install IIS on any of your ICM servers period !
    After some poking around and research I found out that Web Setup uses Apache Tomcat and the Web Setup does not like it when you have IIS running or installed on the same box.
    I fixed mine in my lab with Fresh install of the OS (from scratch). For those who cannot afford a fresh install and have this issue on a Production Box, Uninstalling IIS does not seem to fix the problem. Prior to my Fresh Install I tried Uninstalling it and it did not work.
    While I have not tried this trick out, I found out that having IIS and Apache creates some sort of conflict for port 80/ 443 on the server which results in these 40X errors that you see. Unfortunately Uninstalling IIS didnt seem to fix it in case. What I did find out is that there is some way of resolving the conflict and one way is to change the default port used by IIS (changing it from 80/443 to something else).
    I have not tried this out, But I have heard that this might work. Also to note - based on my uninstall of IIS which did not fix the problem, changes are that Apache Tomcat may need some tweaking as well.
    My guess is the default port used by IIS and Apache need to be worked on to resolve this issue on a production box. IF you can scarp the box and rebuild, then just dont install IIS and you should be fine.

  • I cannot activate copy text tool even though pdf file is not secured.

    I cannot activate copy text tool even though pdf file is not secured.

    What version of Acrobat are you using? Are you sure that the document contains any actual text, as opposed to an image of text?

  • Transact-SQL debugger not working in SQL Server 2008: "...debugger does not support SQL Server 2005 or earlier..."

    I have recently installed SQL Server 2008. When I try to execute a query against an Access database, I receive this debugging error:
    "Unable to start Transact-SQL debugger. The Transact-SQL debugger does not support SQL Server 2005 or earlier versions of SQL Server. (SQLEditors)"
    Nor will the query execute; I get a transport-level error 0. Any thoughts?

    Hi Davidmhjr,
    >>Unable to start the Transact-SQL Debugger. The Transact-SQL Debugger does not support SQL Server 2005 or earlier versions of SQL Server. (SQLEditors).
    Have you tried to restart the server once you have installed SQL Server 2008? As Naomi N mentioned please check the version of SQL Server you are using.
    If you tried to connect to SQL Server 2005 from SQL Server 2008 SSMS, you would not be able to debug and get this error, it happens because T-SQL debugger includes both server-side and client-side components. The server-side debugger components are installed
    with each instance of the SQL Server 2008 Database Engine. The client-side components are installed when you install the SQL Server 2008 client-side tools.
    So it works with SQL Server 2008 only so far. Another way is you can triy to use SQL Server 2005 SSMS to connect to SQL Server 2005.
    More information about configuration requirement to run T-SQL debugger as below, please refer:
    There are no configuration requirements to run the Transact-SQL debugger when SQL Server Management Studio is running on the same computer as the instance of the SQL Server Database Engine. However, to run the Transact-SQL debugger when SQL Server Management
    Studio is running on a different computer from the instance of the Database Engine, you must enable program and port exceptions by using the Windows Firewall Control Panel application on both computers.
    On the computer that is running the instance of the Database Engine, in Windows Firewall, specify the following information:
    •Add TCP port 135 to the exceptions list.
    •Add the program sqlservr.exe to the exceptions list. By default, sqlservr.exe is installed in C:\Program Files\Microsoft SQL Server\MSSQL10.InstanceName\MSSQL\Binn, where InstanceName is MSSQLSERVER for the default instance, and the instance name for
    any named instance.
    •If the domain policy requires network communications to be done through IPsec, you must also add UDP port 4500 and UDP port 500 to the exception list.
    On the computer that is running SQL Server Management Studio, in Windows Firewall, specify the following information:
    •Add TCP port 135 to the exceptions list.
    •Add program ssms.exe (SQL Server Management Studio) to the exceptions list. By default, ssms.exe is installed in C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE.
    Hope it is helpful.
    Regards, Amber zhang

  • JCOP Tools Problem Error code: 6985 (Conditions of use not satisfied)

    I have a problem with the JCOP tools. I am developing a very simple applet which does nothing at all. It is a "hello world" type applet so that I can get something working. It compiles ok, however as soon as I try to run it under the emulator I get an error.
    Status: Conditions of use not satisfied jcshell: Error code: 6985 (Conditions of use not satisfied) jcshell: Wrong response APDU: 6985
    This always happens when the jcshell issues the install command.
    The install command is:
    install -i 1234567890 -t -l -d -m -p -s -b -e -q C9#(1234567890) 1234567890 1234567890
    I must be doing something very basic incorrectly. I have tried searching the forums and internet and I haven't found anything. Any help would be appreciated.
    The code is this:
    package pt.microfil.test;
    import javacard.framework.*;
    import javacard.framework.ISO7816;
    import javacard.framework.ISOException;
    import javacard.framework.APDU;
    public class testcard extends Applet {
         final static byte CLASS = (byte) 0x80; // Class of the APDU commands
         final static byte INS_READ = (byte) 0x02; // instruction for the READ APDU command
         // this is the text string which will send back from the ICC to the IFD
         final static byte[] text = {(byte) 'e', (byte) 't', (byte) 's', (byte) ' ',
         (byte) 'g', (byte) 'e', (byte) 'h', (byte) 't', (byte) 's', (byte) ' ',
         (byte) 'd', (byte) 'e', (byte) 's', (byte) ' ',
         (byte) 'G', (byte) 'l', (byte) 'u', (byte) 'm', (byte) 'p'};
         public static void install(byte[] bArray, short bOffset, byte bLength) {
              // GP-compliant JavaCard applet registration
              //new testcard().register(bArray, (short) (bOffset + 1), bArray[bOffset]);
              new testcard().register();
         public static void install() {
              new testcard().register();
         public void process(APDU apdu) {
              byte[] cmd_apdu = apdu.getBuffer(); // the cmd_apdu variable is used because of performance reasons
              if (cmd_apdu[ISO7816.OFFSET_CLA] == CLASS) {  // it is the rigth class
              switch(cmd_apdu[ISO7816.OFFSET_INS]) {      // check the instruction byte
              case INS_READ: // it is a READ instruction
              // check if P1=P2=0
              if ((cmd_apdu[ISO7816.OFFSET_P1] != 0) || (cmd_apdu[ISO7816.OFFSET_P2] != 0)) {
              ISOException.throwIt(ISO7816.SW_WRONG_P1P2);
              } // if
              // check if P3=length of the text field
              short le = (short)(cmd_apdu[ISO7816.OFFSET_LC] & 0x00FF); // calculate Le (expected length)
              short len_text = (short)text.length; // the len_text variable is used because of performance reasons
              if (le != len_text) {
              ISOException.throwIt((short)(ISO7816.SW_CORRECT_LENGTH_00 + len_text)); // give the expected length back to the IFD
              } // if
              apdu.setOutgoing(); // set transmission to outgoing data
              apdu.setOutgoingLength((short)len_text); // set the number of bytes to send to the IFD
              apdu.sendBytesLong(text, (short)0, (short)len_text);
              break;
              default : // the instruction in the command apdu is not supported
              ISOException.throwIt(ISO7816.SW_INS_NOT_SUPPORTED);
              } // switch
              } // if
              else {         // the class in the command apdu is not supported
              ISOException.throwIt(ISO7816.SW_CLA_NOT_SUPPORTED);
    }

    i also found this error and i change the package name and applet id.it is not changing.now i got same error.
    cm>  install -i 6d796170702e617070  -q C9#() 6d797061636b616765 6d796170702e617070
    jcshell: Error code: 6985 (Conditions of use not satisfied)
    jcshell: Wrong response APDU: 6985
    Unexpected error; aborting execution
    how can i solve the problem??

  • I can not create interface [Eclipse - JCOP Tools Problem]

    Hello Dear All,
    I have a problem about Eclipse and I want to demonstrate it with an example.Let's say there are two applets, called A and B. I want to share a function of A applet with B applet. To do it, I create an interface(File -> New -> Other -> Interface) and then, a problem occured. For all open projects in eclipse, eclipse shows this error message: "Unsupported Java compiler: Class files with version: 50.0 [Major.minor] are not yet supported by JCOP Tools."
    I worked on this situation too much however I could not solve this problem, I need your help.
    (I use last version of Eclipse and JCOP Tools)
    Thanks in Advance,
    Kindly Regards
    Selcuk

    JCOP Tools does not support Java 6 yet. Reason is the CAP file converter. Just set the Java compiler compliancy in Eclipse to 1.5 and you should be fine.

  • My photoshop CS5 does not show a tool sidebar as my CS3 does.  How do I bring this up?

    My photoshop CS5 does not show a tool sidebar as my CS3 does.  How do I bring this up?

    Window>Workspace>Essentials (Default)
    "Window" is a menu title in the Menu Bar.

  • Keyer edge tool does not work. What am I doing wrong?

    When I am trying to soften the edge on my green screened image I try to use what they call the edge tool.
    But it does nothing to the edge of the image, it makes the entire keyed image more transparent or more opaque...  this is totally useless... I thought I remembered this working in a previous version but maybe not...
    what am I doing wrong? Or is it just not working correctly.
    Thanks for any help.
    FCPX 10.0.5  OSX 10.6.8

    Do you see the Multifox item to open a new window in the File of Firefox menu?
    You will see a "New Identity Profile" (Ctrl+Alt+M) in the "Firefox > New Tab" menu and in the File menu (press F 10 if the menu bar is hidden) and in the context menu if you right-click a link.<br />
    Choosing that menu entry will open a new window with a new set of cookies marked multifox-profile-2 in the cookie manager.
    It is possible that there is a problem with the file(s) that store the extensions registry.
    Delete the files extensions.* (e.g. extensions.sqlite, extensions.ini, extensions.cache) and compatibility.ini in the Firefox profile folder to reset the extensions registry.
    *https://support.mozilla.org/kb/Profiles
    New files will be created when required.
    See "Corrupt extension files":
    *http://kb.mozillazine.org/Unable_to_install_themes_or_extensions
    *https://support.mozilla.org/kb/Unable+to+install+add-ons
    If you see disabled, not compatible, extensions in "Tools > Add-ons > Extensions" then click the Tools button at the left side of the Search Bar (or click the "Find Updates" button in older Firefox versions) to check if there is a compatibility update available.
    If this hasn't helped then also try to delete the addons.sqlite file.

  • JCOP Tools "This package has not been built"

    Hello,
    I'm using the Eclipse with JCOP Tools 3.1.1 and sometimes the .cap file is not built and the upload of the Applet fails when running the project
    cm> upload ".../workspace.1j.../myapp.cap"
    jcshell: Cannot read </../../myapp.cap>: java.util.zip.ZipException: error in opening zip fileThe "CAP File Properties" view in Eclipse says "This package has not been built" but I don't know how to force the build of the package. I tried to clean, manually/automatically build the project but it just won't get build :(
    Any ideas ?
    Thanks.
    Tex

    well nevermind, when this happens I just build the .cap alone:
    cd myproject/bin
    ..../java_card_kit-2_2_1/bin/converter -out CAP -applet 0x01:0x02:0x03:0x04:0x05:0x2E:0x61:0x70:0x70 com.test.MyApplet com.test 0x01:0x02:0x03:0x04:0x05 1.0 Tex

  • Hi, I am trying to blur the background in Prem Pro CC I have made a mask using the free draw bezier tool but it does not track forward.  What am I doing wrong?

    Hi, I am trying to blur the background in Prem Pro CC I have made a mask using the free draw bezier tool but it does not track forward.  What am I doing wrong?

    Hi Kevin
    I found a YouTube clip explaining how to blur the background with free draw bezier tool and it also said to invert the mask, but it still does not track forward. I really hope there is a solution.
    Steph

Maybe you are looking for

  • Print appointment iCal 3.0.1

    Hello, I would like to print only one appointment in ical. Neither a whole day, nor the week or month. At the moment I copy the appointment in Pages (drag and drop) and print it from there. That is very complicated. Is there any solution to print app

  • 24" IMAC Display Too Bright

    I am still doing DD on changing from WinTel to Apple. I have viewed both the 20 inch and 24 inch models at a local reseller. I have heard of several complaints that the 24" is too bright. Is there any validity to this complaint? Can the Brightness be

  • Load chain auto reaction method

    Hi All, In Bw 3.5   load chain is configured , if load fails an automatic mail is triggered with log message, now i want to change the mail id  of the sender . I had checked in RZ20 BW monitor->process chain and selected the failed one and  checked t

  • Safari and Internet Explorer won't run on my iMac G4 anymore (OS 10.2.8)

    I cant get Safari or Internet Explorer (IE) to work on my iMac anymore. I can get iTines downloads and standard updates, but Safari and IE won't work - usually Safari will open (IE will usually not open completely - hangs up and must be force quit).

  • Nikon D700 NEF on iPhoto 09

    I am running Snow Leopard and iLife 09. I was able to import all the pictures, but for some reason I can't edit any of the images. The metadata is picked up for the most part, but none of the editing functions work. For instance when I crop an image,