Supressing/replacing the debugger (OpenInsight 32-bit Specific)
At 30 APR 2004 04:33:35AM David Salvesen wrote:
We are investigating using remote engines. However, one of the problems is that if an engine hits the debugger we cannot know what it is saying. All we want to do is return an error to our client (Delphi not OI) and probably restart the engine.
Is there a way to do this or do we need to consider replacing the debugger dll with one of our own (and if so is there any info to guide us in doing so)? (I couldn't find anything here on the subject but maybe I wasn't looking correctly.)
At 30 APR 2004 05:56AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:
David,
You need to ensure that you turn off the debugger in the environment settings (see the set_Env() in the online help, or use the DB Manager ) - this way any errors will be reported via the set_Status() method which means you can pick them up via the PROC_ERROR code in the RevWait/RevPoll loop.
Of course, this assumes that you're using the RevSend/RevWait method in your Delphi code, if you're using another method then please let us know and we can take it from there.
World leaders in all things RevSoft