-
March 13th, 2005, 10:35 AM
#1
Junior Member
Vc++ Debugging tips
hi all,
I am doing my project in vc++ and I am facing problems in Debugging.
It would be nice of u guys if u can suggest some Debugging tools or some tips regarding how to proceed toward debugging a Vc++ program.
I am facing this problem when i start debugging It stops and gives following message:
First-chance exception in IDS.exe: 0xC0000005: Access Violation
and when i click OK in message box it leads to me diassembly part.
Could u plss suggest me some tips regarding how to go on debugging vc++ programs.
And most important thing I am using VC++ 6.0
Thanx to all for ur time.
-
March 13th, 2005, 05:05 PM
#2
Re: Vc++ Debugging tips
Originally posted here by davinci
hi all,
I am doing my project in vc++ and I am facing problems in Debugging.
It would be nice of u guys if u can suggest some Debugging tools or some tips regarding how to proceed toward debugging a Vc++ program.
I am facing this problem when i start debugging It stops and gives following message:
First-chance exception in IDS.exe: 0xC0000005: Access Violation
and when i click OK in message box it leads to me diassembly part.
Could u plss suggest me some tips regarding how to go on debugging vc++ programs.
And most important thing I am using VC++ 6.0
Thanx to all for ur time.
I use VC++ 6.0 all the time and have never received this message. However, upon googling I found this.
This is a brief preview of the symptom and cause (site also has a fix):
SYMPTOMS
When you debug a default Microsoft Foundation Class Library (MFC) AppWizard-generated program, the output window may display the following error message:
First-chance exception in <SomeApp>.exe (KERNEL32.DLL): 0xC0000005: Access Violation.
CAUSE
The Encompass Monitor or EncMonitor service is preinstalled on some systems. This service starts Monitor.exe and is loaded before the user logs on to the system. Monitor.exe performs the same function as the performance monitor Alert and Logging facility. With this utility, you can generate alerts and log data. This service causes the first-chance exception that is displayed in the output window.
-
March 13th, 2005, 06:08 PM
#3
Junior Member
But I am not using MFC at all.
-
March 13th, 2005, 06:39 PM
#4
You can safely ignore a lot of first-chance exceptions. Does your program execute? Why don't you post your code? You should be able to continue your program. Your debugger is probably just set up to get these types of violations.
-
March 13th, 2005, 06:48 PM
#5
If the only tool you have is a hammer, you tend to see every problem as a nail.
(Abraham Maslow, Psychologist, 1908-70)
-
March 13th, 2005, 07:14 PM
#6
Junior Member
sec_ware,
That was quite helpfull and helped a lot .
My programm is running but it gives some exceptions sometimes .
It has now become pretty long so it would be difficult to post here.
Remove 1 bug and u get 100 more. Programmers life is just like that
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|