Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
DPSLCBpm general_init went OK.
Tue Aug 15 09:52:01 GMT-08:00 2006: Server ready
 Interrupt <-- CTRL-Y

MCC> debug
%DEBUG-I-SSINOTSET, system service interception is not setup, defaulting to nost
atic watchpoints
%DEBUG-I-NOGLOBALS, some or all global symbols not accessible

         OpenVMS Alpha Debug64 Version V7.3-200


DBG> set image aidashr
DBG>
LI06  BPM FDBK MBCD stat = 00000000, expected = 49930000.  CR= 4, MO=19.
DBG> set modu dpslcbpm_jni_helper
DBG> set sco DPSLCBPM
LI06  BPM FDBK MBCD stat = FFA30002, expected = 39930000.  CR= 3, MO=19.
DBG> set sco DPSLCBPM_BPMACQ
DBG> set break DPSLCBPM_BPMACQ
DBG> go

When debugging the dpslc*_jni.c module the names of the routines are very long, since they're constructed by JNI and include the whole aida package name. In this case use the debugger's "sho sym *routineprefix*" to search for the symbol corresponding to the routine's name.  The name may well have been truncated, so start with the first few letters of the name that you'd expect. Once you have the name you can use the usual set break <name>.

Now, when a client (possibly from unix) asks for some data from the server, the VMS code will break at the specified location in your VMS terminal session.