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

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 2345
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
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
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
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
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
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
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
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
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
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 ->...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.