?
Solved

Visuall C++ Disassembly Window

Posted on 2000-04-28
3
Medium Priority
?
590 Views
Last Modified: 2012-08-14
Hi.

Everytime my application causes an access violation, the dissassembly window pops up. Or when I erroneously press the f11 key instead of f10. Is there a way I can turn this off ? I don't want to see the dissasembly code. I just want to see the offending function.
Please Help
0
Comment
Question by:Walluce
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 22

Accepted Solution

by:
nietod earned 200 total points
ID: 2758963
This happens when there is no symbolic debug information for the code that is causing the error.  Like if the error occurs in a DLL compiled without debug symbols or if it occurs in the OS code and you haven't installed the debug version of the OS.    

There really isn't much you can do about it.   using programs and DLLs that have been compiled with debug information and Installing the debug version of the OS, available from MSDN, will help, but there is always some code somewhere that isn't going to have the debug symbols.
0
 

Author Comment

by:Walluce
ID: 2759009
I accept that, but can't I tell it NOT to bring up the disassembly window ? I am not going to change the windows code in assembly language anyway. I would like it to just show me the function in my program that caused the error. I really get frustrated when the assembly window comes up when I have not asked for it. It's a useful function, but bothersome. I have tried looking on the MS website, but I can't find anything. Is there anywhere on the site where I can ask a simple question like this, without being charged money ?

If you can, please answer these questions. I am, however accepting your answer, that I can not turn it off.
0
 
LVL 22

Expert Comment

by:nietod
ID: 2759048
>>  can't I tell it NOT to bring up the disassembly window ?
I've never seen a way.   I guess they can't image a progrmmer not wanting to know _something_ about where the error is.  (even if it is next to nothing.)

You can dock the assembly window and make it small, so when it pops up it wil not take up much space.   Actually I guess you coudl just make it small.

>> I would like it to just show me the
>> function in my program
>> that caused the error.
Its not that smart.  it only knows where the function occured, now whose fault it was.  (Like if you passed a bad parameter to the function.)

You might already know this, but when this happens, you can use the call-stack at the top of the variables window to move back up the call stack to get to the function in your program that called the functions that failed.   this is not done automatically, but it is easy enough to do manually, I know I do it a lot!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.
Suggested Courses
Course of the Month11 days, 3 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question