RE: [ROOT] root exceptions in win2k

From: Philippe Canal (pcanal@fnal.gov)
Date: Thu Feb 27 2003 - 16:26:15 MET


Hi Ed,

Currently the windows version of CINT is compiled enabling the exception
wrapping.  The only (currently) to disable this feature is recompile ROOT
and cint after modifying the file cint/inc/G__ci.h around line 256.  You
will need to comment out the line
	#define G__STD_EXCEPTION
in the G__WIN32 section.

Cheers,
Philippe.

-----Original Message-----
From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Ed Oltman
Sent: Friday, February 21, 2003 4:18 PM
To: Roottalk@Pcroot. Cern. Ch
Subject: [ROOT] root exceptions in win2k


Hello,
 I am using root 3.03/9a on win2k with compiled root code (VC++ 6).  When
errors in my DLL occur, I get messages like:

Error: C++ exception caught FILE:C:\DOCUME~1\eoltman\LOCALS~1\Temp\1511
LINE:1
*** Interpreter error recovered ***

When I look in C:\Documents and Settings\eoltman\Local Settings\Temp, I see
lots of files: 1507,1506,1505,etc... but no 1511 (note: the reported
exception is not always 1511, but what ever it is, I NEVER see the file in
my temp directory)

Question: Is there another way  I can get info about exceptions?  For some
errors, when I run my dll in the debugger, no exceptions occur - sometimes
the exception only occurs outside the debugger.  Is there a way to disable
exception handling?  With exceptions unhandled I could then launch the
debugger and learn something..  Thanks.

Ed Oltman



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:09 MET