I am really excited to try python in TestComplete. I did however notice some useless(to me) behavior in the locals/watch list panel when debugging python code.
I only know of list/dict type variables that act this way, but it is possible that there are other examples too.
My previous projects have been using Jscript. When I have an array variable in Jscript and open it in the locals/watch list panel when debugging, the result is this: http://tinyurl.com/non6j9p. I can clearly see the contents at each index of the array as expected. It works similarly with Jscript objects and properties.
Instead of array type variables, Python has list type variables. And in most of my cases, I can use a Python dict type variable instead of a Jscript object variable. I expected that the debugger behaves the same way. This is not the case however.
When I open a list type variable in the locals or watch list panel, I do not see the contents of the list, but the names of the functions that I can call upon that list instead: http://tinyurl.com/q4ujt4h. This is useless to me. I know what functions I can call upon a list variable, there is language documentation for that. I want to see what the contents are, but it is not shown. The behavior is the same for dict type variables. I see a list of function names instead of the contents of the dict.
I wrote some code on how I expected the contents of list and dictionary variables to be presented in the locals/watch list panel:
Welcome to the TestComplete Feature Requests board!
Here you can review submitted feature requests and vote up the ones you like! If you can't find the feature you want - go ahead and suggest your own idea. Ideas with the highest rating can be implemented in the product.