WinDbg problem with version 4.0.0018.0

When I am source level debugging and viewing Local variables. I am noticing
that not all of the local variables are being displayed in the ‘Local’
window. I’ve tried the Beta of windbg (version 6.0.7.0) as well with no
luck. I only see some of the local variables. Anyone else seen this
problem?

Thanks,
Joe

All together now:

Optimized builds often have problems displaying locals, among other
difficulties. Use a non-optimized build. There have been a lot of
messages to this effect over the past two years that I have been on this
list. Even more on the WinDBG list. Some versions of the DDK have a bug
that optimizes the checked build, so verify the checked build environment
is really building non-optimized binaries.

Phil

“Joe Moriarty” @lists.osr.com on 03/21/2002
12:06:32 PM

Please respond to “NT Developers Interest List”

Sent by: xxxxx@lists.osr.com

To: “NT Developers Interest List”
cc:

Subject: [ntdev] WinDbg problem with version 4.0.0018.0

When I am source level debugging and viewing Local variables. I am
noticing
that not all of the local variables are being displayed in the ‘Local’
window. I’ve tried the Beta of windbg (version 6.0.7.0) as well with no
luck. I only see some of the local variables. Anyone else seen this
problem?

Thanks,
Joe


You are currently subscribed to ntdev as: xxxxx@seagate.com
To unsubscribe send a blank email to %%email.unsub%%

If you are using Win2000 DDK checked build, optimization
is turned on by default. Here is an article on the same:

http://support.microsoft.com/default.aspx?scid=kb;EN-US;q263979

karthigeyan

Joe Moriarty wrote:

When I am source level debugging and viewing Local variables. I am noticing
that not all of the local variables are being displayed in the ‘Local’
window. I’ve tried the Beta of windbg (version 6.0.7.0) as well with no
luck. I only see some of the local variables. Anyone else seen this
problem?

Thanks,
Joe


You are currently subscribed to ntdev as: xxxxx@india.hp.com
To unsubscribe send a blank email to %%email.unsub%%

Thanks everyone. Compiler optimization was the problem.

Thanks,
Joe

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Karthigeyan K
Sent: Thursday, March 21, 2002 3:23 PM
To: NT Developers Interest List
Subject: [ntdev] Re: WinDbg problem with version 4.0.0018.0

If you are using Win2000 DDK checked build, optimization
is turned on by default. Here is an article on the same:

http://support.microsoft.com/default.aspx?scid=kb;EN-US;q263979

karthigeyan

Joe Moriarty wrote:

> When I am source level debugging and viewing Local variables.
I am noticing
> that not all of the local variables are being displayed in the ‘Local’
> window. I’ve tried the Beta of windbg (version 6.0.7.0) as well with no
> luck. I only see some of the local variables. Anyone else seen this
> problem?
>
> Thanks,
> Joe
>
> —
> You are currently subscribed to ntdev as: xxxxx@india.hp.com
> To unsubscribe send a blank email to %%email.unsub%%


You are currently subscribed to ntdev as: xxxxx@east.sun.com
To unsubscribe send a blank email to %%email.unsub%%

Switch the optimization off in SOURCES during build.

MSC_OPTIMIZATION=/Od

Max

----- Original Message -----
From: “Joe Moriarty”
To: “NT Developers Interest List”
Sent: Thursday, March 21, 2002 10:06 PM
Subject: [ntdev] WinDbg problem with version 4.0.0018.0

> When I am source level debugging and viewing Local variables. I am noticing
> that not all of the local variables are being displayed in the ‘Local’
> window. I’ve tried the Beta of windbg (version 6.0.7.0) as well with no
> luck. I only see some of the local variables. Anyone else seen this
> problem?
>
> Thanks,
> Joe
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to %%email.unsub%%
>

...and enable intrinsic functions:

MSC_OPTIMIZATION=/Od /Oi

Stephan

On Fri, 22 Mar 2002 02:02:30 +0300, "Maxim S. Shatskih"
wrote:

>Switch the optimization off in SOURCES during build.
>
>MSC_OPTIMIZATION=/Od
>
> Max
>
>----- Original Message -----
>From: "Joe Moriarty"
>To: "NT Developers Interest List"
>Sent: Thursday, March 21, 2002 10:06 PM
>Subject: [ntdev] WinDbg problem with version 4.0.0018.0
>
>
>> When I am source level debugging and viewing Local variables. I am noticing
>> that not all of the local variables are being displayed in the 'Local'
>> window. I've tried the Beta of windbg (version 6.0.7.0) as well with no
>> luck. I only see some of the local variables. Anyone else seen this
>> problem?
>>
>> Thanks,
>> Joe

Oh ... and upgrade to the latest and greatest ... version 6.00.0007.0.
According to Nathan, they did the version jump to avoid confusion with the
version 5 WinDbg that ... left a lot to be desired. :slight_smile:

Gary G. Little
Broadband Storage, Inc.
xxxxx@broadstor.com
xxxxx@inland.net

-----Original Message-----
From: xxxxx@hotmail.com [mailto:xxxxx@hotmail.com]
Sent: Friday, March 22, 2002 11:53 AM
To: NT Developers Interest List
Subject: [ntdev] Re: WinDbg problem with version 4.0.0018.0

...and enable intrinsic functions:

MSC_OPTIMIZATION=/Od /Oi

Stephan

On Fri, 22 Mar 2002 02:02:30 +0300, "Maxim S. Shatskih"
wrote:

>Switch the optimization off in SOURCES during build.
>
>MSC_OPTIMIZATION=/Od
>
> Max
>
>----- Original Message -----
>From: "Joe Moriarty"
>To: "NT Developers Interest List"
>Sent: Thursday, March 21, 2002 10:06 PM
>Subject: [ntdev] WinDbg problem with version 4.0.0018.0
>
>
>> When I am source level debugging and viewing Local variables. I am
noticing
>> that not all of the local variables are being displayed in the 'Local'
>> window. I've tried the Beta of windbg (version 6.0.7.0) as well with no
>> luck. I only see some of the local variables. Anyone else seen this
>> problem?
>>
>> Thanks,
>> Joe

---
You are currently subscribed to ntdev as: xxxxx@broadstor.com
To unsubscribe send a blank email to %%email.unsub%%