By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,967 Members | 2,124 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,967 IT Pros & Developers. It's quick & easy.

Command Window/Debugging Session

P: n/a
In a nutshell I have a 1.1 Framework VB Winform app with one form and
one .vb file. The .vb file is defined with it's own namespace MyNameSpace.
In form code I can reference properties of MyNameSpace with syntax like
MyNameSpace.Property1 but hovering the mouse over this property will not
show the value it contains like is possible with variables in the root
namespace.
Further, if I type "? MyNameSpace.Property1" in the command window,
rather than getting the value stored in Property1 I get the following
message: "MyNameSpace is not declared or the module containing it is not
loaded in the debugging session."
How do I include the namespace in the debug session so I see it's values?
Jul 19 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Hi John,

Is it possible for you to send me your testing sample project? That would
be most helpful in pinpointing the problem and solution. Please just give
me a simple project to demonstrate the problem. Please also write a
"readme.txt" for the sample project to tell me how to reproduce the problem
step by step. I certainly appreciate your time.

Best regards,

Jacob Yang
Microsoft Online Partner Support
<MCSD>
Get Secure! C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Jul 19 '05 #2

P: n/a
Hi John,

I have reproduced the problem on my side.

Due to the nature of your issue I need to do additional research to
determine the best way to provide assistance. I will contact you as soon as
possible.

Best regards,

Jacob Yang
Microsoft Online Partner Support
<MCSD>
Get Secure! C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Jul 19 '05 #3

P: n/a
Hi John,

Please use the following code:
...
'load textbox1.text to prove we have access to the namespace
TextBox1.Text = "Beta path is " & MyNameSpace.Module1.BetaServerPath

'place breakpoint on following line
TextBox2.Text = "Prod path is " & MyNameSpace.Module1.FileServerPath
...

In Command Window, please use "? MyNameSpace.Module1.FileServerPath".

Best regards,

Jacob Yang
Microsoft Online Partner Support
<MCSD>
Get Secure! C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Jul 19 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.