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

NoStepInto on .NET 7.1

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
Nov 17 '05 #1
12 1350
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.
--------------------

Nov 17 '05 #2
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...into_for_.html
Wish it helps!

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.
--------------------

Nov 17 '05 #3
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
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...into_for_.html
Wish it helps!

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. --------------------

Nov 17 '05 #4
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...=EN-US&gssnb=1
to submit it.

Thanks for your understanding!

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.
--------------------

Nov 17 '05 #5
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-******@online.microsoft.com> wrote in message
news:rh**************@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>
Nov 17 '05 #6
> 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
Nov 17 '05 #7
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
Nov 17 '05 #8
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.

Nov 17 '05 #9
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
Nov 17 '05 #10
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
Nov 17 '05 #11
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/a...004/02/06.aspx

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

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

Nov 17 '05 #12
Thanks Zach,

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

Jan
Nov 17 '05 #13

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

Similar topics

4
by: Torben Laursen | last post by:
Hi Is there a way to prevent the debugger from stepping into the stl code when I am debugging my code? Thanks Torben
6
by: Alex O. | last post by:
Using VS2005, I am trying to disable stepping into the operator new calls. What NoStepInto entry should I put into the registry? I tried "operator new=NoStepInto" but it does not seem to be...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
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)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.