Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old March 7th, 2007, 02:34 PM
Friend of Wrox
 
Join Date: Apr 2005
Location: Fort Walton Beach, FL, USA.
Posts: 190
Thanks: 0
Thanked 0 Times in 0 Posts
Default Immediate window, incomplete printout

Anyone help?

I am debugging a small javascript function in an ASP.NET 2 app. When I stop at a breakpoint to check the values of the document.form1.elements, I enter a print command as follows: ?document.form1.elements This works fine, prints out 100 lines and then
prints the following message:
"The first 100 of 165 items were diplayed.
< More... "

My question is how do I get it to print the last 65 items? I Have searched the msdn site but don't find anything.

Thanks,

Victor Victor


  #2 (permalink)  
Old March 19th, 2007, 04:47 PM
Friend of Wrox
 
Join Date: Apr 2005
Location: Fort Walton Beach, FL, USA.
Posts: 190
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Help anyone?

I posted this quite a while ago and no one has answered! I cannot be that this problem is so tough that there is not an answer. I've tried everything I can think of. Hitting Enter key, Esc key, entering 'More', entering 'More...". I cannot find anything in the ASP.NET 2. documentation on the Immediate window print command. I emailed Microsoft but someone answered that did not understand the problem. Then I heard nothing from them.

It seems so simple. Anyone........ . . . . . . . . .

Victor Victor




  #3 (permalink)  
Old March 19th, 2007, 09:54 PM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Do you mean to say this is the out put in your Locals window in Visual Studio?

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
================================================== =========
Why can't Programmers, program??
http://www.codinghorror.com/blog/archives/000781.html
================================================== =========
  #4 (permalink)  
Old March 19th, 2007, 10:03 PM
Friend of Wrox
 
Join Date: Apr 2005
Location: Fort Walton Beach, FL, USA.
Posts: 190
Thanks: 0
Thanked 0 Times in 0 Posts
Default

DParsons:
Thanks for responding. Glad to see someone has taken more than a glance at this.

I am really complaining about the immediate window. (I am deep into debugging an asp.net 2 app.). The problem is simple.

To see what I am talking about simply put an html button (not asp.button) on a web page and code a javascript function, any javascript, to handle the click event. Put a breakpoint on the click handling function's first line. Then bring up your immediate window. Key in ?document.

You will see that the immediate window will only list 100 descriptive lines on the document and will tell you that there are more lines but that it only has printed the first 100. My question is: How does one see the remaining lines that it did not print.

Thanks for any light you can shed on this.

VV


  #5 (permalink)  
Old March 19th, 2007, 11:07 PM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Hi again Victor,
    I hate to be the bearer of bad news on this but, it seems that the Command Window is only designed to display that much data when a query such as that is passed to it. This statement is all but upheld in this transcript on the MSDN:

http://msdn.microsoft.com/chats/tran...ug_050224.aspx

Do a simple find for 'Command' and you will notice one of the participants in the chat poses the same question that you are asking here the MS rep then tells the person that its best for them to use the Watch window in a secnario such as his. (He/She is trying to examine an array)

The MS rep further on down Stands her ground for the person to use the Watch window and provides a teak for Evaluation of functions/methods it isn't till the vary end where the person points out that it is a ton easier to paste out the contents from the command window into a different format the rep finally conceeds and says that they will take that feedback into consideration as they continue to tweak their debugging windows.

Quote: A: OKay, I see your point. We will incorporate that feedback as we continue to tweak our debugging windows design, going forward.

Simply put, I do not think it is possible to display more then 100 lines at one time in the command window, albeit this post is a bit dated, I reproduced your error in VWD (I would of used VS2005 but am not at work so that will have to do).

hth.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
================================================== =========
Why can't Programmers, program??
http://www.codinghorror.com/blog/archives/000781.html
================================================== =========
  #6 (permalink)  
Old March 20th, 2007, 08:33 AM
Friend of Wrox
 
Join Date: Apr 2005
Location: Fort Walton Beach, FL, USA.
Posts: 190
Thanks: 0
Thanked 0 Times in 0 Posts
Default

DParsons:

Thanks a lot. I'll remember the link to transcripts in msdn...
Obviously you did a lot of searching, reading, etc. on this and I want you to know that I appreciate it.

So, I can lay this question to rest, knowing that there is not something I can do to continue viewing an object's complete set of properties in the immediate window.

I wonder how difficult it would be to change (say, in a VS 2005 patch), the current limit of 100 lines to 200 lines in the immediate window. I have encountered many objects whose complete property list exceed 100 lines but have not encountered any whose number exceeds 200.

If I had input into a future VS Team chat on debugging, I would make the point that the increasing complexity of objects will only increase the need to see everything contained within, or at least more of everything, in an object. Perhaps we are now at that point
-- some two years after the discussion you referenced.

Thanks.

VV


  #7 (permalink)  
Old March 20th, 2007, 08:48 AM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Well, I stand by the fact that there is the "Right" way to do things and the "Microsoft" way of doing things. O.o As that transcript pointed out, Microsoft took the position that if you need to look at that much information that the programmer should utilize the Watch window. While the programmer should use all of the resources available to them to properly debug an application, I 100% agree with you that that window should display all of the relevant information to the object.

In any case, yes I researched this particular problem for about half an hour before I went to bed lastnight and I am glad you found the information useful^^

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
================================================== =========
Why can't Programmers, program??
http://www.codinghorror.com/blog/archives/000781.html
================================================== =========


Similar Threads
Thread Thread Starter Forum Replies Last Post
Listbox printout scriptingit Access VBA 0 August 28th, 2006 08:59 AM
Printout Of MsAccess Table rupesh_india Crystal Reports 0 August 19th, 2006 06:45 AM
Printout Error? cmperez VB How-To 0 July 13th, 2006 10:29 PM
updated printout problem jicker VB Databases Basics 2 August 3rd, 2004 08:16 AM
How to Get printout.............. arshad mahmood VB Databases Basics 1 August 11th, 2003 08:50 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.