Dave,
Why don't you write a wrapper program that call the same routine that uniobject 
calls.
That way you can trace thro what caused the routine to go into debug mode & 
also debug it.
When your happy with, try the uniobjects call.
Ps. If you are trying to catch exception in the subroutine, you should set 
errors codes and propagate them back up to the calling routine(uniobjects) and 
handle them there.

Kishor

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Dave Reynolds
Sent: 04 December 2008 12:26
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] DEBUG mode on a UniObjects connections


Hi Brian,
Wrong answer(Grin). 
If I run the same thing under JBASE, and it drops into DEBUG, everything
is fine, and I can even step through the program a line at a time.
Oh, well, back to the drawing board. I wonder if I could use Process
viewer to see what is happening.

Many thanks for your help,



Dave
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brian Leach
Sent: 04 December 2008 11:45
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] DEBUG mode on a UniObjects connections

Hi Dave

A uniObjects subroutine call is a 'black box' RPC. It doesn't allow any
kind of user interaction to interrupt the call. If you're going into
debug, that will hang because it has nowhere from which to take input.

Sorry, but that's how it is designed.

Brian

Hi all,

I'm new to the list, and hope that someone may have the answer to a
problem which is causing me a lot of headaches at the moment.

I'm using VB6 and UniObjects to connect to a Universe Database.

I call DataBasic routines from the VB6 client.

All works fine, until there is a problem in the databasic code, which
sends it into DEBUG.

The client screen locks up, and my talking screenreader goes into sulk
mode, which normally means I have to reboot.

I wouldn't expect anyone on the list to solve the screenreader problem,
but sighted colleagues have reported similar experiences with this type
of connection.

Is this a bug in UniObjects, or did I set it up wrongly.

Many thanks for any ideas,







Dave
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


-----------------------------------------
**********************************************
The contents of this e-mail are subject to contract in all cases
and
William Hill PLC, its subsidiaries or affiliates make no
contractual
commitment save where confirmed by hard copy.

The contents of this e-mail do not necessarily represent the views
of William Hill PLC, its subsidiaries or affiliates. We accept no
liability, including liability for negligence, in respect of any
statement in this e-mail.

This e-mail and any files transmitted with it are confidential,
may
be subject to legal privilege and intended solely for the use of
the
individual or entity to which they are addressed. If you are not
the
intended recipient, you are hereby notified that any use or
dissemination of this communication is strictly prohibited. If you
have received this e-mail in error, please notify us immediately,
then delete this e-mail.

Please note that William Hill can accept no responsibility for
viruses and it is your responsibility to scan any emails and their
attachments.

This message was from William Hill PLC whose registered office is
Greenside House, 50 Station Road, Wood Green, London N22 7TP.
Company Registration Number: 4212563 England.
*********************************************
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to