Re: Right Click context menu sometimes disables "Go To Definition" using VSl.NET 2005
- From: "Edward Mitchell" <EELMitchell@xxxxxxxxxxxxxxxx>
- Date: Mon, 17 Jul 2006 09:16:27 -0400
Gary,
I did a Build>Clean Solution. The closed the Solution. Then deleted the
GT.ncb file. Reopened the solution. Built the Debug configuration and ran it
(started via F4). There is an assert that stops the execution. When I
hover over the _DEBUG, there is no value shown and the AssertValid()
function is shown disabled. This looks like the _DEBUG variable is not
considered defined. There is another clue that the code block is disabled
in that a right click context menu has the "Go To Definition", etc., greyed
out.
I would expect that switching from Debug to Release would cause the _DEBUG
to be enabled or disabled. Also the the contained code for AssertValid()
and Dump() woule be enabled/disabled at the same time. By enabled/disabled
I mean that the source code would be greyed or normal text. This certainly
doesn't happen on a simple change of configuration.
Ed
""Gary Chang[MSFT]"" <v-garych@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:LsqTKrYqGHA.4272@xxxxxxxxxxxxxxxxxxxxxxxx
Hi Edward,
Thanks for the sample project.
When I first open your sample project, just as you described in the
previous post, the AssertValid() was greyed out. After I delete the
project's .ncb file and let the VS2005 IDE to regenerate it again, that
problem has been fixed.
But I cannot repro that problem again when I switch back from the Release
configuration. I have run the application in the Release configuration
once
and then return to the Debug configuration, but the problem does not
appear. Would you please provide some repro steps on this scenario?
By the way, the AssertValid() related code block should always be enabled
in the code editor. It just has been neglected when you build it in a
Release configuration (the AssertValid() code would not be compiled and
executed in the run-time). But you should see the same copy of the source
code in the code editor.
Thanks!
Best regards,
Gary Chang
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.
.
- References:
- Right Click context menu sometimes disables "Go To Definition" using VSl.NET 2005
- From: Edward Mitchell
- RE: Right Click context menu sometimes disables "Go To Definition" using VSl.NET 2005
- From: "Gary Chang[MSFT]"
- Re: Right Click context menu sometimes disables "Go To Definition" using VSl.NET 2005
- From: Edward Mitchell
- Re: Right Click context menu sometimes disables "Go To Definition" using VSl.NET 2005
- From: "Gary Chang[MSFT]"
- Right Click context menu sometimes disables "Go To Definition" using VSl.NET 2005
- Prev by Date: CBitmap - Load JPG
- Next by Date: Re: CBitmap - Load JPG
- Previous by thread: Re: Right Click context menu sometimes disables "Go To Definition" using VSl.NET 2005
- Next by thread: Winsnmp programming
- Index(es):
Relevant Pages
|
Loading