exception debugging in Visual C++ 2008 Express



Hi all,

I am using Visual C++ Express 2008 and I am having an exception and I
am trying to find it via debugging...

Whenever it occurs, VS tells me that "there is no source code
available to view", and it switched to "disassembly code" then I got
completely lost.

The call stack is also a complete mess and I couldn't figure out which
portion of the code is raising the exception.

After a whole day's struggling with it, I've found the exception was
actually simple:

Here is the code:

if (a.size() != b.size())
throw Constructor("a must have same size as b", "myclass");

Because it's a huge project and many people are working on it, and
also because I am new,

I spent so much time on finding it and I got it through trial and
error.

My question is: is there a way to see the error message "a must have
same size as b" in Visual Studio?

Because I couldn't see it, so I spent so much time trial and error...

If I could see the error message, it could be much easier...

Any other thoughts on debugging tools for C++ using Visual Studio?

Please also give me some pointers on productivity tools in Visual
studio for working with C++?

Thanks a lot!
.



Relevant Pages

  • RE: Biztalk 2006 Tutorial 3
    ... There are some known issues w/ the tutorials. ... Below is the error message that appears in the event ... Exception type: ServiceCreationException ... md, Objectargs, Object server, Int32 methodPtr, Boolean fExecuteInContext, ...
    (microsoft.public.biztalk.general)
  • RE: Concerns about exception string revealing internals/data about
    ... exceptions could return certain information as part of the error message. ... exception occurs in my program, is it possible that the exception error ... built in ADO objects in Visual Studio for Microsoft SQL Server. ... the build-in controls in SQL Server2000 or .Net winform/Asp.net controls? ...
    (microsoft.public.dotnet.framework.clr)
  • Re: Concerns about exception string revealing internals/data about
    ... Sorry in last post I meant an "unhandled" exception should never be shown to ... exceptions could return certain information as part of the error message. ... built in ADO objects in Visual Studio for Microsoft SQL Server. ... the build-in controls in SQL Server2000 or .Net winform/Asp.net controls? ...
    (microsoft.public.dotnet.framework.clr)
  • RE: Cant open Websites With VS2008
    ... Faulting module name: SHELL32.dll, version: 6.1.7100.0, time stamp: 0x49eea6b3 ... If it is Vista or 2008, please open Visual Studio as administrator first. ... please we need the following log and exception ... Microsoft Online Community Support ...
    (microsoft.public.vsnet.general)
  • RE: Biztalk 2006 Tutorial 3
    ... Below is the error message that appears in the event ... Exception type: ServiceCreationException ... Microsoft.BizTalk.XLANGs.BTXEngine.BTXSession._createOrRehydrateRealService(Guid& instanceId, IBTMessage currMsg) ... md, Objectargs, Object server, Int32 methodPtr, Boolean fExecuteInContext, ...
    (microsoft.public.biztalk.general)