473,288 Members | 2,350 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,288 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 2253
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...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
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 =...
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: 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)...

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.