Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 11-27-2005
kovacm kovacm is offline
Registered User
 
Name: Michal Kovac
Organization: Charles University in Prague
Project: Ferda Data Mining
 
Join Date: Jan 2005
Posts: 60
Debugging Ice server or service

Hi,

in time I had Ice 2.1.2, when I executed my Ice application server in debugger and my code threw exception, debugger stoped application and showed exception.

In Ice 3.0.0 Ice catch this exception and shows it in console. The problem is, that I can not see the "application context" (variables,...) in place, where the exception occurs.

Is there any way, how can I Ice application server or IceBox service debug in debugger so debugger shows exceptions?

Thank you
Reply With Quote
  #2 (permalink)  
Old 11-27-2005
bernard's Avatar
bernard bernard is online now
ZeroC Staff
 
Name: Bernard Normier
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Palm Beach Gardens, FL
Posts: 816
Hi Michal,

I suspect this is a debugger configuration issue. For example with Visual Studio, you can break each time a C++ exception is raised, however that's not the default.
It would be useful to mention your compiler / OS / debugger environment.

Cheers,
Bernard
__________________
Bernard Normier
ZeroC, Inc.
Reply With Quote
  #3 (permalink)  
Old 11-27-2005
kovacm kovacm is offline
Registered User
 
Name: Michal Kovac
Organization: Charles University in Prague
Project: Ferda Data Mining
 
Join Date: Jan 2005
Posts: 60
than you,

I use Windows XP, VS 2005 (or Microsoft CLR debugger), C#. So I can set somewhere to stop each time exception is raised? I can not find where to set it, do you know?

Thanks
Reply With Quote
  #4 (permalink)  
Old 11-28-2005
bernard's Avatar
bernard bernard is online now
ZeroC Staff
 
Name: Bernard Normier
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Palm Beach Gardens, FL
Posts: 816
Ice for C# is not yet supported with Visual Studio 2005 (or .NET 2.0); see http://www.zeroc.com/platforms.html.

So it's not surprising you're encountering problems; I'd advise to stay with .NET 1.1 until we support this new version.

Cheers,
Bernard
__________________
Bernard Normier
ZeroC, Inc.
Reply With Quote
  #5 (permalink)  
Old 11-28-2005
kovacm kovacm is offline
Registered User
 
Name: Michal Kovac
Organization: Charles University in Prague
Project: Ferda Data Mining
 
Join Date: Jan 2005
Posts: 60
Hi,

I think this is not "platform problem" and I use Ice with C# 2.0 with Ice from June and I didn't find any C# 2.0 specific problem, because it is backward compatible (I think).
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to shutdown a service instead of a Icebox server? Deqing Help Center 6 05-17-2006 06:24 PM
Debugging in Python msw10100 Help Center 6 09-09-2005 08:05 PM
Can IcePack Service and server run in different hosts? eyexercise Help Center 11 12-19-2004 09:41 PM
problem debugging child processes galbe Help Center 2 04-05-2004 10:47 AM


All times are GMT -4. The time now is 11:14 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.