Debugging Java ACPs Tips
Since many ACPs require specific communications between Magik and the running ACP process, you must debug the process after it has been started with Magik. To do this, you need to start the Java Virtual Machine (JVM), which is started with java (or java.exe), with certain flags to make the process available to the debugger. The following steps need to be done in order to correctly start the JVM. This process can be used to start and debug the java process on a remote host as well.
- Compile your java file using the -g (debug) option.
- You must run java (or java.exe) from the Java Developers Kit (JDK) directory, not the Java Runtime Environment (JRE) directory. To do this, you need to set the SW_ACP_PATH appropriately.
- You need to add the following options to the ACP’s command slot:
-Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,server=y,address=3999,suspend=n
The above address is the port to which you will attach, the transport is how you will attach, there is a shared memory option for WIndows platforms only, but I have not used it.
- Start the ACP.
- Start your Java Debugger.
- Select Attach through your debugger (for “Forte for Java”, it is located at Debu->Attach…)
- Select Connection type to be “Socket Attach”
- Enter the Host that the java process is running.
- For the Port number, enter the address that you assigned in the ACP command slot.
- Set your break points in your debugger.
- Continue the java process in magik.
Also if you are using Java 1.5 or above you will need to ask GE for a patch to fix the extra information that the new releases seem to put on the stream. The error will be in the verify_connection() method and will say something about a bad stream. You can contact us at info@field-csi.com to get the patch also.

levitra
levitra
fluconazole 150
fluconazole 150
ciprofloxacin dexamethasone
ciprofloxacin dexamethasone
doxycycline for dogs
doxycycline for dogs
bnf levothyroxine
bnf levothyroxine
propecia
propecia
lisinopril 20 mg tablet
lisinopril 20 mg tablet
cefixime
cefixime
dapoxetine hydrochloride 60 mg
dapoxetine hydrochloride 60 mg
ursodiol
ursodiol
metoprolol succinat
metoprolol succinat
gimoti
gimoti
ivermectin cream
ivermectin cream
where to buy viagra
where to buy viagra
vardenafil price
vardenafil price
mobic generic
mobic generic
mirtazapine 30mg
mirtazapine 30mg
diflucan generico
diflucan generico
generic antibiotics
generic antibiotics
doxycycline vibramycin
doxycycline vibramycin
zoloft no prescription
zoloft no prescription
metoprolol
metoprolol
augmentin antibiotic
augmentin antibiotic
lasix for dogs cost
lasix for dogs cost
macrobid antibiotic cost
macrobid antibiotic cost
flagyl medication
flagyl medication
dexlansoprazole prices
dexlansoprazole prices
clozaril
clozaril