473,320 Members | 1,904 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,320 software developers and data experts.

Debugging problem

I am working on a windows forms application and have the following
problem.

When i put a break point in my code and execute the application, i can
not able to stop the execution at the break point even though i am
running the application in debug mode.

Can somebody please suggest a way to achieve this?
Thanks,
Sunil Kiran B.

Jul 27 '06 #1
4 1963
cp
Sometimes you can get this if the debug symbols held in the pdb files
aren't up to date.
Try removing the bin folder and rebuilding.
You should get a question mark in your debug line if it can't load the
symbols.

cp

pr*******@hotmail.com wrote:
I am working on a windows forms application and have the following
problem.

When i put a break point in my code and execute the application, i can
not able to stop the execution at the break point even though i am
running the application in debug mode.

Can somebody please suggest a way to achieve this?
Thanks,
Sunil Kiran B.
Jul 27 '06 #2
hi,
What cpu is is set to compile for?

James Jenkins
http://www.tamarsolutions.co.uk

<pr*******@hotmail.comwrote in message
news:11**********************@s13g2000cwa.googlegr oups.com...
>I am working on a windows forms application and have the following
problem.

When i put a break point in my code and execute the application, i can
not able to stop the execution at the break point even though i am
running the application in debug mode.

Can somebody please suggest a way to achieve this?
Thanks,
Sunil Kiran B.

Jul 27 '06 #3
Are u sure that you reach your breakpoint when app is run?
Try to write some info to the console after your breakpoint , to check if
it's reachable

--
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche


"pr*******@hotmail.com" wrote:
I am working on a windows forms application and have the following
problem.

When i put a break point in my code and execute the application, i can
not able to stop the execution at the break point even though i am
running the application in debug mode.

Can somebody please suggest a way to achieve this?
Thanks,
Sunil Kiran B.

Jul 27 '06 #4
Hi,

How can you be sure you get to that code? Why don't you put a MessageBox in
the previous line ?

Also see cp's post about removing the pdb file
--
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

<pr*******@hotmail.comwrote in message
news:11**********************@s13g2000cwa.googlegr oups.com...
>I am working on a windows forms application and have the following
problem.

When i put a break point in my code and execute the application, i can
not able to stop the execution at the break point even though i am
running the application in debug mode.

Can somebody please suggest a way to achieve this?
Thanks,
Sunil Kiran B.

Jul 27 '06 #5

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

Similar topics

5
by: Don Hans | last post by:
Gents, Have .Net2003 Enterprise architect installed on a Win2k Server with IIS. Even logged in as administrator, I cannot run any ASP.NET app with debugging. I always get the error "Unable to...
0
by: ZMan | last post by:
Scenario: This is about debugging server side scripts that make calls to middle-tier business DLLs. The server side scripts are legacy ASP 3.0 pages, and the DLLs are managed DLLs...
16
by: Serdar Kalaycý | last post by:
Hi everybody, My problem seems a bit clichè but I could not work around. Well I read lots of MSDN papers and discussions, but my problem is a bit different from them. When I tried to run the...
2
by: Alex Clark | last post by:
Hi All, My system: WinXP Pro, VS.NET 2003, SQL Server Personal Edition. I'm having problems with my old favourite demon, SQL Debugging from within VS.NET. I have to say I've found this...
1
by: Jason Smith | last post by:
I'm rather new with vb.net and I'm having problems debugging a large vb.net application. The application is randomly crashing at two locations with "referenced memory at 0x0" violations. My...
5
by: snicks | last post by:
I'm trying to exec a program external to my ASP.NET app using the following code. The external app is a VB.NET application. Dim sPPTOut As String sPPTOut = MDEPDirStr + sID + ".ppt" Dim p As...
5
by: phnimx | last post by:
Hi , We have developed a number of plug-in .NET Library Components that we typically deploy with our various applications by installing them into the GAC. Each of the applications contains an...
0
jwwicks
by: jwwicks | last post by:
Introduction This tutorial describes how to use Visual Studio to create a new C++ program, compile/run a program, resume work on an existing program and debug a program. It is aimed at the...
2
jwwicks
by: jwwicks | last post by:
C/C++ Programs and Debugging in Linux This tutorial will give you a basic idea how to debug a program in Linux using GDB. As you are aware Visual Studio doesn’t run on Linux so you have to use...
3
by: Yves Gagnon | last post by:
Hi, I try to debug a WCF hosted in a windows services on a serveur that is on an other domaine then my developpement machine. I tried many things without succes. Here is what I tried: First I...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.