views:

106

answers:

2

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?

A: 

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

Zárate
It would be much easier if it could be possible to debug flex and java in parallel, trace just doesn't have that power, right?
dede