473,503 Members | 10,245 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Command Window/Debugging Session

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
3 2346
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2779
by: Bart Plessers \(artabel\) | last post by:
Hello, Currently developping a site, where I use some session variables. The site is located at my home computer. Because I have a dynamic IP adress, I use no-ip (www.no-ip.org) to have my...
8
3194
by: Peter A. Schott | last post by:
Per subject - I realize I can copy/paste a line at a time into an interactive session when I'm trying to debug, but was wondering if there is any tool out there that allows me to copy sections of...
12
5296
by: Rhino | last post by:
I am having an odd problem: the sqlj command on my system doesn't work. I am running DB2 (LUW) V8 (FP8) on WinXP. I haven't done an sqlj program since Version 6 of DB2 (LUW) so I checked the...
6
2276
by: Lewis Edward Moten III | last post by:
I'm having some problems when debugging datasets in C#. During run-time, I arrive at a break point in my code and goto the command window. I type MyDataset.GetXML() The results are a lot of...
5
9994
by: Thom Little | last post by:
Under Visual Studio .NET 2003 I went to View | Other Windows | Command Window and issued csc /t:module StringLib.cs It responded with ... Command "csc" is not valid.
0
435
by: ChrisB | last post by:
I'm attempting to open a new window from a LinkButton in a DataGrid. I can set a session variable in the ItemCommand event for the LinkButton like so: // this is used to handle the ItemCommand...
3
2406
by: Chris Lane | last post by:
Hi, Stupid question here but I get the following error when debugging: 'debug.writeline' is not declared or the module containing it is not loaded in the debugging session. I can however use...
6
294
by: John Cobb | last post by:
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 ...
4
1966
by: Roland | last post by:
Hi, I am developing a C++ project and want to pass some command line arguments in VS .NET 2003. I am in debug mode, the configuration is set to Debug and I entered my argument list in Project ->...
0
7193
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7067
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7264
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7316
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6975
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7449
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5562
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4666
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
1
728
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.