This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 178041 - Request for an Immediate Window (like Visual Studio.Net)
Summary: Request for an Immediate Window (like Visual Studio.Net)
Status: NEW
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: -S1S-
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Martin Entlicher
URL: http://msdn.microsoft.com/en-us/libra...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-02 20:16 UTC by DiskCrasher
Modified: 2011-04-01 10:48 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description DiskCrasher 2009-12-02 20:16:18 UTC
The one feature missing from NB that I use constantly in Visual Studio.Net is the Immediate Window. Being able to debug a program and classes using the immediate window is extremely powerful. Not because I can view/change values on the fly (which is currently possible in NB), but because I can get information about "live" classes such as their methods and properties just by typing "class." and selecting what I want using auto-complete (aka IntelliSense). Not sure what a particular method is going to do? Test it in the immediate window, then modify your code if necessary. This helps immensely when learning a new language and its associated framework and avoids having to re-run code over and over again until you get it working right. Learning Visual Basic.Net was a lot easier than learning Java due in part to this one feature.
Comment 1 Vojtech Sigler 2009-12-03 00:33:44 UTC
Do you know about the expression evaluator in NetBeans? (Debug -> Evaluate Expression)? It seems to me like it does the same as this Immediate Window (though I haven't seen it in action since I don't have MS Visual Studio).
Comment 2 DiskCrasher 2009-12-03 14:31:39 UTC
I took a quick look at Evaluate Expression and it does appear very similar, so that's good. I'll have to play around with it some more to know for sure. I also noticed that the menu says "Evaluate Expression" but the window that appears is titled "Evaluate Code". I'd say the window is more accurate and that the two should probably match.

Looks like the Eclipse IDE also supports this feature:
http://larsho.blogspot.com/2008/07/my-favorite-eclipse-view.html
Comment 3 natsiavas 2011-04-01 10:48:28 UTC
As far as I am concerned, immediate window on VS.NET is a lot more powerful than "Evalute Code" window. Netbeans trully miss a comparison point on this...