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

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.Collections.Generic;
using System.Text;

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

}
}
}

Here's the output of the debugger:

'Proj1.vshost.exe' (Managed): Loaded
'H:\WINDOWS\assembly\GAC_32\mscorlib\2.0.0.0__b77a 5c561934e089\mscorlib.dll',
Skipped loading symbols. Module is optimized and the debugger option 'Just My
Code' is enabled.

'Proj1.vshost.exe' (Managed): Loaded
'H:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualStud io.HostingProcess.Utilities\8.0.0.0__b03f5f7f11d50 a3a\Microsoft.VisualStudio.HostingProcess.Utilitie s.dll',
Skipped loading symbols. Module is optimized and the debugger option 'Just My
Code' is enabled.

'Proj1.vshost.exe' (Managed): Loaded
'H:\WINDOWS\assembly\GAC_MSIL\System.Windows.Forms \2.0.0.0__b77a5c561934e089\System.Windows.Forms.dl l',
Skipped loading symbols. Module is optimized and the debugger option 'Just My
Code' is enabled.

'Proj1.vshost.exe' (Managed): Loaded
'H:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a 5c561934e089\System.dll',
Skipped loading symbols. Module is optimized and the debugger option 'Just My
Code' is enabled.

'Proj1.vshost.exe' (Managed): Loaded
'H:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0 .0__b03f5f7f11d50a3a\System.Drawing.dll',
Skipped loading symbols. Module is optimized and the debugger option 'Just My
Code' is enabled.

'Proj1.vshost.exe' (Managed): Loaded
'H:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualStud io.HostingProcess.Utilities.Sync\8.0.0.0__b03f5f7f 11d50a3a\Microsoft.VisualStudio.HostingProcess.Uti lities.Sync.dll',
Skipped loading symbols. Module is optimized and the debugger option 'Just My
Code' is enabled.

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

'Proj1.vshost.exe' (Managed): Loaded
'H:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b 77a5c561934e089\System.Data.dll',
Skipped loading symbols. Module is optimized and the debugger option 'Just My
Code' is enabled.

'Proj1.vshost.exe' (Managed): Loaded
'H:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__ b77a5c561934e089\System.Xml.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.exe' (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 2252
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*******@sneakemail.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*******@sneakemail.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
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...
1
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...
1
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...
16
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...
0
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...
5
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...
5
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...
3
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...
13
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...
0
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...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...

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.