Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Array inspector for RAD2007



Permlink Replies: 0 Threads: [ Previous | Next ]
Alex Belo

Posts: 626
Registered: 10/8/06
Array inspector for RAD2007
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 10, 2017 6:26 AM
Attachment ArrayInspector.zip (47.9 KB)
Installation: Component->Install packages->Add.

See Readme for more information.

It was my first (and last most likely) opus for IDE. It has some design
deficiencies and marks of my learning and experiments but I use it for
many years as-is on everyday basis and I'm quite happy. :-)

All problems with evaluation are problems in debugger's evaluator.
Beware of watches like v[0] (where v is std::vector): such watches
hangs up IDE after second evaluation (who knows why)...

Note also that "big watches" (which returns too much data) will slow
down IDE on breakpoins (as usual).

Note that "Count" can be expression too but sometimes evaluator fails
so in some cases you need additional var in code to see results
comfortably:

std::vector<int> v;
v.push_back(1);
...
int n=v.size();
<breakpoint here>

In inspector:

Y-expression: v._Myfirst
Count: v.size() (or n in case if v.size() doesn't work).

--
Alex
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02