I'm using AIR2 NativeProcess API to communicate to Java process, but I don't know how to debug Java process when AIR send something to java process input, I want to continue debugging in Java (Eclipse).
Is that somehow possible?
I'm using AIR2 NativeProcess API to communicate to Java process, but I don't know how to debug Java process when AIR send something to java process input, I want to continue debugging in Java (Eclipse).
Is that somehow possible?
Since NativeProcess writes to stdin, I guess the most simplest thing to do would be tracing that out in your Java program same as you would do with any other input?
Have a read to Interacting with NativeProcess, there's an example of doing this, although for a C program.
HTH
Juan