473,715 Members | 6,082 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

VS2005 C# Debugger Problem on AMD Athlon 64 X2 Multi-Core Chip

I'm having problems w/ the VS2005 debugger with C#. It blows past any
breakpoints in even the simplest "Hello World" console application. I can't
do any step-by-step debugging. I've provided the code and debugging output
later in this post.

I've seen a number of threads with similar problems that I'll address below.
The one that's the largest concern is this one, which talks about the same
problem trying to use the debugger with SQL Server 2005:

http://forums.microsoft.com/MSDN/Sho...15379&SiteID=1

Here's the response from someone who appears to be with Microsoft QA. Check
the last entry:

"The issues you are seeing could be due to a known bug that we found very
late in the product cycle. The bug is most prevalent on fast multi-proc AMD64
machines but doesnt reproduce every time.

After exchanging a few email messages with Earl it appears that he cant
reproduce the problem at the moment which is a clue that it is in fact the
same bug.

At the moment there isnt a workaround for the bug. But it will be fix in SQL
Server 2005 SP1.

Regards

Richard Cook
SQL Debugging QA "
Ouch ... I'm using a very fast dual-core AMD 64 X2 Chip.

Here's my specific configuration:

The above AMD chip
4 GB of memory using the /3GB switch
Windows 2003 Server R2 32-Bit from MSDN (fresh install)
Visual Studio 2005 Vers. 8.0.50727.42 (RTM.050727-4200) (fresh install)

Here's the sample application in the H:\Test directory:

using System;
using System.Collecti ons.Generic;
using System.Text;

namespace Proj1
{
class Program
{
static void Main(string[] args)
{
Console.WriteLi ne("Hello World breakpoint 1");
Console.WriteLi ne("Hello World breakpoint 2");

}
}
}

Here's the output of the debugger:

'Proj1.vshost.e xe' (Managed): Loaded
'H:\WINDOWS\ass embly\GAC_32\ms corlib\2.0.0.0_ _b77a5c561934e0 89\mscorlib.dll ',
Skipped loading symbols. Module is optimized and the debugger option 'Just My
Code' is enabled.

'Proj1.vshost.e xe' (Managed): Loaded
'H:\WINDOWS\ass embly\GAC_MSIL\ Microsoft.Visua lStudio.Hosting Process.Utiliti es\8.0.0.0__b03 f5f7f11d50a3a\M icrosoft.Visual Studio.HostingP rocess.Utilitie s.dll',
Skipped loading symbols. Module is optimized and the debugger option 'Just My
Code' is enabled.

'Proj1.vshost.e xe' (Managed): Loaded
'H:\WINDOWS\ass embly\GAC_MSIL\ System.Windows. Forms\2.0.0.0__ b77a5c561934e08 9\System.Window s.Forms.dll',
Skipped loading symbols. Module is optimized and the debugger option 'Just My
Code' is enabled.

'Proj1.vshost.e xe' (Managed): Loaded
'H:\WINDOWS\ass embly\GAC_MSIL\ System\2.0.0.0_ _b77a5c561934e0 89\System.dll',
Skipped loading symbols. Module is optimized and the debugger option 'Just My
Code' is enabled.

'Proj1.vshost.e xe' (Managed): Loaded
'H:\WINDOWS\ass embly\GAC_MSIL\ System.Drawing\ 2.0.0.0__b03f5f 7f11d50a3a\Syst em.Drawing.dll' ,
Skipped loading symbols. Module is optimized and the debugger option 'Just My
Code' is enabled.

'Proj1.vshost.e xe' (Managed): Loaded
'H:\WINDOWS\ass embly\GAC_MSIL\ Microsoft.Visua lStudio.Hosting Process.Utiliti es.Sync\8.0.0.0 __b03f5f7f11d50 a3a\Microsoft.V isualStudio.Hos tingProcess.Uti lities.Sync.dll ',
Skipped loading symbols. Module is optimized and the debugger option 'Just My
Code' is enabled.

'Proj1.vshost.e xe' (Managed): Loaded
'c:\Test\Proj1\ Proj1\bin\Debug \Proj1.vshost.e xe', Skipped loading symbols.
Module is optimized and the debugger option 'Just My Code' is enabled.

'Proj1.vshost.e xe' (Managed): Loaded
'H:\WINDOWS\ass embly\GAC_32\Sy stem.Data\2.0.0 .0__b77a5c56193 4e089\System.Da ta.dll',
Skipped loading symbols. Module is optimized and the debugger option 'Just My
Code' is enabled.

'Proj1.vshost.e xe' (Managed): Loaded
'H:\WINDOWS\ass embly\GAC_MSIL\ System.Xml\2.0. 0.0__b77a5c5619 34e089\System.X ml.dll',
Skipped loading symbols. Module is optimized and the debugger option 'Just My
Code' is enabled.
The thread 0xd8c has exited with code 0 (0x0).
The thread 0x9d8 has exited with code 0 (0x0).
'Proj1.vshost.e xe' (Managed): Loaded
'c:\Test\Proj1\ Proj1\bin\Debug \Proj1.exe', Symbols loaded.
In various other threads I found folks with some similar debugging issues,
and I tried some of their work-arounds. The most popular was using a very
short project name / directory path. No luck here. I turned off the Visual
Studio hosting process ... no luck there. I did verify I have a .pdb file
too.

Any help would be appreciated. If this is a bug it would be helpful to know
if it is showing up because I'm running 2003 Server and if it would magically
go away if I was running XP Pro, etc.

Thanks so much!

DougB
--
Doug B
Mar 14 '06 #1
3 2290
Doug wrote:
[snip]
"The issues you are seeing could be due to a known bug that we found very
late in the product cycle. The bug is most prevalent on fast multi-proc AMD64
machines but doesnt reproduce every time.
[snip]
Any help would be appreciated. If this is a bug it would be helpful to know
if it is showing up because I'm running 2003 Server and if it would magically
go away if I was running XP Pro, etc.


It may be worth trying the /numproc switch in boot.ini to restrict the
machine to using 1 CPU, and see if the issue persists:
http://support.microsoft.com/default...b;en-us;833721
Matt

Mar 14 '06 #2
I gave this suggestion a try, but no luck. Still not working.

Thank you!
--
Doug
"kt*******@snea kemail.com" wrote:
Doug wrote:
[snip]
"The issues you are seeing could be due to a known bug that we found very
late in the product cycle. The bug is most prevalent on fast multi-proc AMD64
machines but doesnt reproduce every time.


[snip]
Any help would be appreciated. If this is a bug it would be helpful to know
if it is showing up because I'm running 2003 Server and if it would magically
go away if I was running XP Pro, etc.


It may be worth trying the /numproc switch in boot.ini to restrict the
machine to using 1 CPU, and see if the issue persists:
http://support.microsoft.com/default...b;en-us;833721
Matt

Mar 14 '06 #3
Hi guys ... any suggestions here?

--
Doug
"Doug" wrote:
I gave this suggestion a try, but no luck. Still not working.

Thank you!
--
Doug
"kt*******@snea kemail.com" wrote:
Doug wrote:
[snip]
"The issues you are seeing could be due to a known bug that we found very
late in the product cycle. The bug is most prevalent on fast multi-proc AMD64
machines but doesnt reproduce every time.


[snip]
Any help would be appreciated. If this is a bug it would be helpful to know
if it is showing up because I'm running 2003 Server and if it would magically
go away if I was running XP Pro, etc.


It may be worth trying the /numproc switch in boot.ini to restrict the
machine to using 1 CPU, and see if the issue persists:
http://support.microsoft.com/default...b;en-us;833721
Matt

Mar 17 '06 #4

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

Similar topics

0
989
by: PaulM | last post by:
While using the debugger in VS2005 it occasionally will cause an Application_Error. The reason I know this is the first line of the Application_Error method checks the request object: if (Request.Url.Segments == "get_aspx_ver.aspx") This code was for VS2003 to catch when it was checking for the hidden file 'get_aspx_ver.aspx" to check which version of Framework was loaded. It appears that VS2005 does something different. Anybody...
1
1666
by: abc my vclass | last post by:
Is VS2005 debugger let me to see dataset, datatable data as table form? I found if I watch some table or dataset variable is very very hard to see. Is there any good tools or add-ins for debugger to see table-form variable.
1
1301
by: dethonlegs | last post by:
Hi, I have a small vb.net app that runs as a cgi under IIS6. When compiled under VS.NET 2003 (framework 1.1) I can launch the dubugger from IIS by adding the line "System.Diagnostics.Debugger.Launch" in my code. However under VS.NET 2005 (framework 2.0) the same application ignores any attempt to launch the debugger when run from IIS. In addition, there are many security permission issues that are causing me greif that were not an...
16
1735
by: Edward Diener | last post by:
After spending more than a day reducing a complicated compiler bug to a simple case I reported it to the MSDN Product Feedback Center as a bug just now. However this bug is completely stymying my development of a VC++ component. Does Microsoft still offer any free bug reporting cases for VS2005, as they did two for VS2003 so that I can talk with a technical representative directly to try to find a workaround for the compiler bug ? While...
0
1472
by: GT | last post by:
This question has been posted before, but without any response so therefore I'm trying once more. I'm trying to embed .resource files into a Windows application in VS2005, and then compile and run the program from VS2005. This does not work because the debugger seems not find the resource files, and I keep getting the following error: "MissingManifestResourceException:
5
2051
by: Dave | last post by:
I have a TSP (Telephony Service Provider) that I've developed with VS6. It's a C/C++ DLL that gets loaded by a svchost and accessed by TAPI based applications. My problem is that on the Windows XP machine that I have the application on I can no longer break into the debugger using an "_asm { int 3 }". This code worked until I installed Visual Studio .Net. The system I'm running this on has both Visual Studio 6 and VS 2005 running on it. ...
5
3023
by: Gumby | last post by:
Hi there! A "special" project team in our department has decided to purchase XMLSpy. We standardize on VS2005 as our IDE and up to now everyone has used the XML parser in VS2005. Are there advantages to using XMLSpy over VS2005? Apparently there are "integration diagrams" that VS2005 does not have natively. Does someone have a link or a MVP have some comparison I could have? Warmly Adrian
3
3591
by: Chris288 | last post by:
Hi, I have a problem where our app when compiled in VS2005 runs about 50% the speed it attains in VS2003. This is an unmanaged C++ app. I have tried most combinations of the optimization and language settings with little change in run speed. I compared the generated native code in various places in the code and noticed two things.
13
1506
by: Rainer Queck | last post by:
Hi NG, It looks like I have a problem with the debugger. Running the current project every thing "looks" fine, but if I set a breakpoint at a certain position in my code it takes the debugger very long to stop there. Then, if I try to step forward in my code I get the following error message (translated from German): "There are no symbols for the call list frame. The source code can not be displayed"
0
830
by: santoshanmsoft | last post by:
Features: * Based on the powerful and affordable AMD Turion™ 64 X2 Mobile Technology, the Aspire 4520 is well suited for any home computing environment. Featuring impressive graphics solutions from NVIDIA®, a 14.1"Acer CrystalBrite™ display, ultra-realistic Dolby® surround sound, they excel at video/audio playback, gaming and multitasking. Packaged in Acer's cool new chassis design, The Aspire 4520 is a vibrant beacon of style and class...
0
8823
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8718
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9047
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6646
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5967
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4477
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4738
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3175
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2119
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.