473,320 Members | 1,978 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.

problem in debugging with Microsoft VC++ .net Ver 7.0

Hi,

I am struggling with an issue related to debugging code in
VC++ .net Ver 7.0, for last 2-3 days without any notion for what is
happening. Actually I have made some changes to my source code and
after that I rebuilt
the solution. Now when I debug the code the control flows at wrong
places and even goes over the commented out lines.

I have already tried cleaning all the existing stuff before rebuilt.
Any help in regard will be highly appreciated.

Thanks and Regards
Bhawna
Dec 19 '07 #1
5 1208
>I am struggling with an issue related to debugging code in
>VC++ .net Ver 7.0, for last 2-3 days without any notion for what is
happening. Actually I have made some changes to my source code and
after that I rebuilt
the solution. Now when I debug the code the control flows at wrong
places and even goes over the commented out lines.
I can only guess that you're either:

1. Not debugging what you think you are (mismatching source code), or:
2. Debugging an optimised (release) build.

Dave
Dec 19 '07 #2
To add to David's answer, you might find it helpful to explicitly delete the *.pcb file in your build directory, just to make sure a
fresh one is being created.

Brian
Dec 19 '07 #3
On Dec 19, 10:52 pm, "Brian Muth" <bm...@mvps.orgwrote:
To add to David's answer, you might find it helpful to explicitly delete the *.pcb file in your build directory, just to make sure a
fresh one is being created.

Brian
Hi,

Thanks for your prompt response. Actually, I am debugging correct
source code and when control moves it even goes on commented out line.
I am using debug version only and I have already deleted .pdb file (I
hope you had meant .pdb rather than .pcb in your reply).

Please let me know if someone has any clue about what the issue could
be.

Thanks and Regards
Bhawna
Dec 20 '07 #4

"Bhawna" <bv******@gmail.comwrote in message
news:2e**********************************@e23g2000 prf.googlegroups.com...
On Dec 19, 10:52 pm, "Brian Muth" <bm...@mvps.orgwrote:
>To add to David's answer, you might find it helpful to explicitly delete
the *.pcb file in your build directory, just to make sure a
fresh one is being created.

Brian

Hi,

Thanks for your prompt response. Actually, I am debugging correct
source code and when control moves it even goes on commented out line.
I am using debug version only and I have already deleted .pdb file (I
hope you had meant .pdb rather than .pcb in your reply).
The debug data is in the .pdb

The .pcb, which contains browse data, shouldn't cause the issues you're
having, but it should be deleted and rebuilt periodically as well, and a
"full rebuild" won't do that, it must be deleted by hand.
>
Please let me know if someone has any clue about what the issue could
be.

Thanks and Regards
Bhawna

Dec 20 '07 #5
I hope you had meant .pdb rather than .pcb in your reply).

That's correct. My bad.

Brian
Dec 20 '07 #6

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

Similar topics

14
by: Bo | last post by:
When I had this code, a and b's value never increases. for( int i=0, double a=0.0, double b=0.0 ; i<100; a+=0.1, b+=0.2 ) { printf( "%s\n", i+a+b ); } This works, however: double a=0.0,...
3
by: Stephanie | last post by:
I have a problem that I am trying to solve. We have a huge product with a whole lot of ASP and VB code. VB code is all ActiveX dlls which are used by ASP app. When I attempt to add features or fix...
5
by: Hari | last post by:
Guys please help me to solve this strange problem what Iam getting as follows.. Trying to instantiate a global instance of a template class as follows :- when i build this code with debug and...
1
by: Scott Chang | last post by:
Hi all, I loaded the following program 'HelloMCPP' to my MS VC++ .NET (2002) that is installed on my Windows XP Professional PC: ------------------------------------- AssemblyInfo.cpp...
2
by: Andrew | last post by:
VS.net Win 2k3 I'm getting the following error when attempting to debug. I'm not debugging remotely, just a local project. "Unable to start debugging. Cannot find port. Check the remote...
5
by: Segfahlt | last post by:
I need a little help here please. I have 2 win forms user controls in 2 different projects that I'm hosting in 2 different virtual directories. The controls have been test and operate okay in...
1
by: Arsalan Ahmad | last post by:
Hi all, I am trying to compile some source files using makefile. While compiling I am getting errors as shown below. Any idea how can I solve this problem. I believe I need to add some...
0
by: anupamak | last post by:
hello, I created a win32 project(precompiled headers, console application). This was created to create a service( for which i used SERVICE_TABLE_ENTRY, SERVICE_STATUS, SERVICE_STATUS_HANDLE,...
1
by: vipul | last post by:
Hi, I am constantly struggling with an issue related to debugging code in VC++ .net Ver 7.0. I have made some changes to my source code and after that i rebuilt the solution. Now when I debug...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
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...
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...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
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...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
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.