In Visual Studio the command window allows me to write code and test while my program is running. As an example the following may print length of an string in C++:
? strlen("abcd");
Is there such a feature in Netbeans?
EDIT:
I'm actually trying to see the content of a string. The strings contains some special characters (e.g. \u202C) which do not have a visual representation and cannot be seen using the debugger.