First, you need to be sure that the INT code is retained when you compile the class which implements the stored procedure. If you compile from Caché Studio 5, set the "Keep generated source code" checkbox on the Class tab of Tools\Options. For 3.x and 4.x users, set the checkbox on Compile Options in Object Architect. If you compile from the command line, add the "k" flag. Alternatively, add the "k" flag to the defaults for your namespace:
do GetEnvironment^%apiOBJ("defaultflags",.flags) if flags'["k" set flags=flags_"k" do SetEnvironment^%apiOBJ("defaultflags",flags)
Next, use Control Panel to try and identify the process which is hosting your ODBC connection. Adding extra columns using Options\Process Columns might help. When you know which one it is, right-click and choose Debug. Then submit another ODBC request from your client. As soon as the Caché process reaches an INT-code instruction, it should contact Serenji and break. Then you can start stepping.
Last reviewed: Nov 15, 2004
Copyright 1997, 2005 George James Software.