Recently I started learning Java Card development using eclipse v4.2 and the JCDE eclipse plugins with JCDK 2.2.2. (windows 10 64x)
I am trying to run a simulation with Jcwde. however when i run the simulation, Eclipse console does not show the output that says it has established a connection nor does register any inputs as commands.
enter image description here
the console in eclipse should be looking like this:
enter image description here
If i go to the JCDK and run the Apdutool.bat after i start the simulation in eclipe. i can connect to the Virtual card; input my commands and run simple applets by sending command APDUs.
its also worth noting that if the first command i type in the apdutool.bat is not powerup the simulation ends in Eclipse. (see next image)
enter image description here
So Eclipse clearly is registering my inputs but no displaying them in the console.
also note that when i create a simple Java application that displays on the console like System.out.println("testing console"). the console displays the message with no issues. so the problem should be with eclipse console and the cmd.
i tried eclipse 4.2.3; eclipse 4.2 64x and 32x with different JDKs but all were the same.
Related
I want to run a terminal command just before a debug configuration starts on Eclipse.
I heard about CDT launch Groups, but couldnt get around it fully. I need to just run a normal terminal command, nothing fancy.
The aim is to copy some stuff over to the execution path before actually starting the debugging.
I managed to do this via "Launch Groups" in the CDT. Creating 2 groups, one as a c/C++ Application which calls a shell script that includes the command I want to run. And then the normal debug configuration I wanted to execute.
So I'm working on two machines and they both have Eclipse and Pydev on them. The first machine has a console that has a prompt where I can type in and execute commands when I run on:
The second machine doesn't have the same prompt and I can't figure out how to get it:
I've been looking around online and the closest piece of advice I found is that I need to find the console button on the menu bar next to the tabs and select to show/hide the prompt, but as you can see it's doesn't show up on the second machine. Does anyone know how to I can get the console prompt on the second machine?
Found the issue. I was using PyDev 2.8.2 which didn't support the prompt, I updated to 4.5.4 (higher versions don't show up in my eclipse) and now I'm able to see it.
By default projects run in Eclipse that has console output will bring focus to the console window and display the output there.
Eclipse has a Local Terminal option. Is there a configuration that will activate this as the output destination for a running project?
Before upgrading to Neon I was using an ansi plugin for the console, which isn't installing properly in this current version (ansi-escape-console). While it might be a temporary glitch, now is a good time to learn how to use the Local Terminal alternative.
I'm trying to have the ansi escape codes displayed in scripts like:
#!/bin/bash
RED='\033[0;31m'
NC='\033[0m'
printf "Hello... ${RED}This is red highlighted text ${NC}.\n"
Update: I was able to get the ANSI Escape in Console plugin from the Marketplace installed. I still would like to know how to specify the output to the Local Terminal view as an option.
There is a difference between the Console view and the Terminal view.
Console View
The console view is a facility for the output of the applications running in IDE of eclipse (for test and debugging).
Terminal View
The Terminal View is a terminal emulator for access to the local computer's shell.
While I wanted to see the Ansi Color output and other escaped sequences of the IDE console running programs, this is done using the Marketplace upgrade of the ANSI Escape on Console plugin.
I am having some problems with the IntelliJ IDE where it does not stop at breakpoints.
I am running an SBT application with Play 2 framework.
It doesn't matter if I am in an async block or not, the breakpoint doesn't show a "v" inside the red circle and doesn't stop at that breakpoint.
The code reaches that position because I am using a simple print command that I see in the logs.
I tired with run configuration of Play2.
I also tried running the SBT from console and connecting to it with remote debugging.
None of them worked
just to make things clear i tried restarting intellij and the computer (OSX operating system)
This is a real problem. Any ideas?
Try execute "sbt compile" and then run your project on debug mode.
I am writing a small FLTK (GUI) program on windows 7 using Eclipse Kepler. My "int main()" function is not even set to receive any command line arguments, yet every time I build the program exe and run it a command line pops up being the GUI interface.
Does anyone know how to suppress this? I do not need a console display for any input or output etc. as this is all controlled via the GUI interface.
Thanks.
It has nothing to see with eclipse. It's a standard behaviour of c++ applications on Windows. Look for console on this page. You will find how to disable it.