Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

NoStepInto on .NET 7.1

306 views
Skip to first unread message

Jan Bares

unread,
Jan 29, 2004, 10:38:21 AM1/29/04
to
Hi,

The NoStepInto feature seems not to work under the latest VS.NET 7.1. I even
used regmon and there was no access to 7.1\NativeDE registry key. Does it
work for you?

Regards, Jan


Gary Chang

unread,
Jan 30, 2004, 2:52:39 AM1/30/04
to
Hi Jan,

Thanks for posting in the community.

First I would like to confirm my understanding of your issue.
From your description, I understand that you noticed that the NoStepInto
feature(of the autoexp.dat) seems not to work under the latest VS.NET 7.1.

I agree with you, it also doesn't work on my side.
I will consult this issue to the product team, and reply you as soon as
possible while I get any response.


Thanks!

Best regards,

Gary Chang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------

Gary Chang

unread,
Jan 31, 2004, 4:41:04 AM1/31/04
to
Hi Jan,

The new form of the NoStepInfo feature is now in the registry with the
Visual Studio .NET.
However it doesn't work for Attached processes, that was fixed in next
Whidbey version.

Please refer to the following link to get detail information:
http://dabbler.typepad.com/ooze/2003/12/nostepinto_for_.html


Wish it helps!

Jan Bares

unread,
Jan 31, 2004, 11:57:22 AM1/31/04
to
Hi Gary,

thanks for answer. Unfortunately it doesn't work. I know that the feature
was moved to registry for VC 7.0 and it worked for me well but it doesn't
work for VC7.1 (!). I have the same registry settings as for 7.0 (just the
registry is now at
HKCU/Software/Microsoft/VisualStudio/7.1/NativeDE/StepOver).
I also watched registry access and VC7.1 doesn't read the NativeDE branch at
all, please refer to my initial posting.

Thanks, Jan

Gary Chang

unread,
Feb 3, 2004, 3:38:24 AM2/3/04
to
Hi Jan,

Thanks for your quickly response!

>thanks for answer. Unfortunately it doesn't work. I know that the feature
>was moved to registry for VC 7.0 and it worked for me well but it doesn't
>work for VC7.1 (!).

We noticed that the NoStepInto feature will not be able to work with VS.NET
2003 under some platform(including Windows2000), and it is not a supported
feature by the VS.NET 2003.

However, our product team members have noticed this issue, and we are
looking at continual improvement, and it's this kind of feedback that let's
us know what things you're trying to do, that we haven't yet exposed for
you.

If there is any other feedback on our product, you can go to
http://register.microsoft.com/mswish/suggestion.asp?&SD=GN&LN=EN-US&gssnb=1
to submit it.

Thanks for your understanding!

Michael Viking

unread,
Feb 3, 2004, 4:50:41 PM2/3/04
to
Gary, if you want to improve, just keep removing useful features and try to
make sure that things don't work with Windows 2000, etc. Another thing you
can do is remove as many expert friendly features that you can. Then slowly
over the years maybe you can dribble it back to the users and say "New in
Dilrod Version 2006: NoStepInto!!" "New in Idiot Version 2007: Edit and
Continue!!" "We've heard what you've been saying!" and then you can really
be heroes.

Actually, it appears you guys already have most of this figured out. You
just need to start adding the features back.

-Michael Viking

"Gary Chang" <v-ga...@online.microsoft.com> wrote in message
news:rhEKnEj6...@cpmsftngxa07.phx.gbl...
<SNIP>


>
> We noticed that the NoStepInto feature will not be able to work with
VS.NET
> 2003 under some platform(including Windows2000), and it is not a supported
> feature by the VS.NET 2003.
>
> However, our product team members have noticed this issue, and we are
> looking at continual improvement, and it's this kind of feedback that
let's
> us know what things you're trying to do, that we haven't yet exposed for
> you.
>

<SNIP>


Jan Bares

unread,
Feb 4, 2004, 3:31:59 AM2/4/04
to
> We noticed that the NoStepInto feature will not be able to work with
VS.NET
> 2003 under some platform(including Windows2000), and it is not a supported
> feature by the VS.NET 2003.

On which platforms it is supported?? Why not Win2000??
I don't understand why you spent more time writting code to disable/enable
this feature on some platforms. Or is this the way how you force us
developers to install the latest version of Windows?

> However, our product team members have noticed this issue, and we are
> looking at continual improvement, and it's this kind of feedback that
let's
> us know what things you're trying to do, that we haven't yet exposed for
> you.

See Michael's answer.

Thanks, Jan


Jan Bares

unread,
Feb 5, 2004, 4:26:17 AM2/5/04
to
Hi Gary,

I installed WinXP and VS.NET 2003 on our test engine and the NoStepInto
works as expected. Frankly speaking I don't understand why you (MS) disabled
it for Win2k. Can you shed a light on this? Is there any reason why it was
disabled? How can I enable it?

Jan


Zach Kramer [MSFT]

unread,
Feb 10, 2004, 11:32:55 AM2/10/04
to
Jan,

I do understand your frustration about this working on one platform and not
on another. The fact of the matter is that this is an undocumented and
unsupported feature. This was not purposefully coded to not support
Windows 2000. We have found that this does work on some Windows 2000
machines but since it is an untested feature there is no guarantee that it
will work on all systems.

This feature was removed during the migration to the new IDE from the
Visual C++ 6 IDE. They basically had to make decisions about what features
they could migrate in the initial versions of the IDE. The development
team is aware that this is a feature that developers enjoy and as I
understand it they are working to add it back to the Whidbey release of
Visual Studio.

Thanks,
Zach Kramer
Microsoft C++/C# Support Professional
This posting is provided "AS IS" with no warranties and confers no rights.

Jan Bares

unread,
Feb 11, 2004, 2:50:29 AM2/11/04
to
Hi Zach,

> I do understand your frustration about this working on one platform and
not
> on another. The fact of the matter is that this is an undocumented and
> unsupported feature. This was not purposefully coded to not support
> Windows 2000. We have found that this does work on some Windows 2000
> machines but since it is an untested feature there is no guarantee that it
> will work on all systems.

I see no reason why it works on XP and does not on 2k (and it worked for
7.0) - code inside IDE must be written in that way. This very cute feature
is present (in undocumented for) from 6.0 IDE, I don't understand why its
still undocumented, untested and why, as you report, has bugs on some Win2k.


> This feature was removed during the migration to the new IDE from the
> Visual C++ 6 IDE. They basically had to make decisions about what
features

No, this feature was present on 7.0 and worked for me on Win2k. With 7.1 it
works only on XP.

> they could migrate in the initial versions of the IDE. The development
> team is aware that this is a feature that developers enjoy and as I
> understand it they are working to add it back to the Whidbey release of
> Visual Studio.

This little feature saves lot of time during debuggin. Please share this
feature with developers.

Thansk for your care, Jan


Jan Bares

unread,
Feb 11, 2004, 5:38:59 AM2/11/04
to
Hi Zach,

I did some assembler hacking and I can tell where the problem (most
probably) is:

The NatDbgDE.dll function CExecutionMap::LoadPatterns() loads the NoStepInto
patterns. The function calls CDebugSession::GetRegistryRoot() to get the
debugger registry root path. Inside this function I see that the output
buffer is compared for NULL and also it's size is checked against size of
the source string (9 + 0x23). But is seems that the size of output buffer is
wrong (uninitialized), on my XP it happens to be a very big number, on my
Win2k it happens to be 0. On Win2k the function returns fails because the
buffer is too small, on XP the buffer is filled. The result of function is
not checked and LoadPatterns() tries to RegOpenKeyEx() with whatever data
happens to be in memory on Win2k...this function fails and the NoStepInto
will not work.

I modified NatDbgDE.dll with "NOP" over the test for output buffer size and
now the NoStepInto works fine.

Please pass this email to someone responsible for NatDbgDE.dll code. You may
respond to jan.bares 'at' antek.cz.

Thanks, Jan

PS: I used VC 7.1 debugger and symbols from symbol server for the debugging


Zach Kramer [MSFT]

unread,
Feb 17, 2004, 9:49:29 AM2/17/04
to
Jan,

That is some great debugging work. I talked with one of the Visual Studio
Debugger Developer's Andy Pennell. He did apologize that this does not
work reliably for you but as you can see there are some bugs in this
feature. He mentions another in his blog and that is the fact that this
does not work at all if you attach to a process instead of launching the
process via F5.

Here is his blog: http://weblogs.asp.net/andypennell/archive/2004/02/06.aspx

Again, I am sorry that this does not work reliably.

Jan Bares

unread,
Feb 18, 2004, 4:01:42 AM2/18/04
to
Thanks Zach,

Andy already posted me email (the bug was also present in Whidbey). You may
consider this problem closed.

Jan


0 new messages