473,386 Members | 1,610 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

how to debug crashed VC Project

tom
Hello,

I have a VC++ .NET project crashed at run time.
Does anybody know how to run debug in .NET that I can get to the line
where the program crashes?

Thanks.
Nov 17 '05 #1
1 1158
Do you have a debugger installed on the computer running the crushing app? if so a message box should appear, through this msgbox you should be able to attach the debugger...
ELSE ( concerning you have a debugger installed )
You could also:
1. Start your application through Debug->Start, this will require you to specify the executable to be debugged at the project settings.
2. You could also put a message box on the app startup, this way you could attach the debugger after the application was started ( through Debug->Process->... ).
The latter option should be used to debug a mixed mode DLL, where managed and unmanaged are used together…
ELSE ( concerning no debugger is used )
You could use AutoStack Tracer to get the stack trace of the upon crush, you can get the tool freely from http://www.ddevel.com/Home/main.asp?...AutoTracer.asp

Hope this help

Nadav

"tom" wrote:
Hello,

I have a VC++ .NET project crashed at run time.
Does anybody know how to run debug in .NET that I can get to the line
where the program crashes?

Thanks.

Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Martin | last post by:
I got a core from my client but i am not able to find out where it crashed. I got the following: From my experience, when i got lots of warning which complains about the path mismatch.. I can...
0
by: Hans Kiehn | last post by:
Hi *, I'm debugging a crash in a very big and complex server application. This server run's fine for days and hours and suddenly crashes. I've spent 2 weeks of time now, but cannot find the...
1
by: Brian | last post by:
VC# 2005 (express/beta2) crashed on me. It took my project with it as there's no trace of it on the hard disk. Is there a way to recover? Thanks, Brian
2
by: mchamsters | last post by:
Just want to rant about something horrible that happened to me tonight. It was my first time using the new Visual C#. I started a new project, coding away continuously for about 6 hours. I saved...
8
by: Mihajlo Cvetanović | last post by:
My application crashed (with the "cannot read memory, press OK to terminate or Cancel to debug" message) on the machine that has VC7.1. I just copied the original project with pdb file to that...
4
by: Stephen Miller | last post by:
Hi, I am running v1.1.4322 on Win2K server and unable to debug a ASP.Net application running locally, using a full URL (ie www.mysite.com). When I hit F5, I get the following error message: ...
6
by: Anita | last post by:
I have problem opening my existing projects or newly created project. It asks me for user name and password and if I provide then it allows me to open but when I debug either it gives error message...
8
by: | last post by:
I'm starting up the development server myself and using the "Startup Url" property of the web project. The problem is i cannot debug. The debug symbols are never loaded. I realize they are under...
3
by: Rena | last post by:
Hi all, I have created a app. project and a library which will be used by the main project, however i do not know how to get into debug mode inside the library, although break point is set. is...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.