Debug a JVM Cobol application


I have some trouble when i try to "debug" an application in Visual COBOL. 

I looked in the documentation but I havn't found a solution. When I run my application, I give it a buffer of several thousand character, i run it on java like this :

Reference ref = new Reference();

ref.bytes = "000A003 [....] 030303030".getBytes();

MyProgram program = new MyProgram();


But now, i want to debug my Cobol using Visual Cobol, but i don't know how to pass this buffer to my program.

How can i do it ?