Google Answers Logo
View Question
 
Q: Debugging Visual Basic code in Visual C++ ( No Answer,   2 Comments )
Question  
Subject: Debugging Visual Basic code in Visual C++
Category: Computers > Software
Asked by: fatjoe10014-ga
List Price: $50.00
Posted: 04 Jan 2005 14:39 PST
Expires: 03 Feb 2005 14:39 PST
Question ID: 451914
I have an OCX control that was written in Visual Basic. Following the
instructions in the following KB article:

http://support.microsoft.com/kb/166275/EN-US/

I was able to run my component inside and EXE and monitor it in the
Visual C++ debugger. Which is great because you can see any exceptions
that occur under the hood that VB ignores and really get a chance to
optimize things.

However, I've found a problem and I need some help. There is one point
in my code that generates dozens and dozens of floating point
exceptions. These are uncaught by VB, but I'm sure they are slowing
down my code. The problem I'm facing is that when I set the C++
debugger to break on these exceptions, it always breaks somewhere in
an assembly void. :(

Is there a way to "step out" of this assembler or to map the address
somehow so I can easily get the last VB statement executed? I'm able
to easily set a breakpoint on a VB statement and then walk through the
assembler.....is there a way to reverse this process?

Please help....Very critical I lock down these and other errors that
occuring in the code.
Answer  
There is no answer at this time.

Comments  
Subject: Re: Debugging Visual Basic code in Visual C++
From: thegreatindian-ga on 07 Jan 2005 01:17 PST
 
Hi,
  If you could send your details through this. I could check,
afterwards i will reply.

Regards,
Indian.
Subject: Re: Debugging Visual Basic code in Visual C++
From: fatjoe10014-ga on 07 Jan 2005 07:41 PST
 
I'm not sure I understand what you're looking for.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy