Sven E Olsson wrote:
Just an idea and question about "Pro-Tools" to use with our RB code
to find unused variables and memory leaks..
I think we "NEED" such Tools in the daily works.
I have tested a RB script to find unused variables, ok it find a lot,
but then I found that the script NOT found...
Here is a example with 5 Unused variables, and the script says there
is NO Unused found..
http://www.seedit.info/intelerrors/unusedvariables.png
Any idea about this, "PRO-TOOLS" .. not freeware, I mean it could
cost, BUT it SHOULD WORK!
I am assuming you are talking about my unused variable IDE script.
The problem you are seeing is a design flaw in the IDE script
implementation. Specifically the "Sublocations" method does not
return all the locations in the module because it does not provide
a way to differentiate between overloaded methods. So the problem
you are seeing is that it can't get to the method. If it gets in
there, it will work perfectly. Bug RS to fix and enhance the IDE
script interface if you want it to hit these methods.
There are a couple of feedback reports that you should sign on to
if you want third party tools to add such functionality. Feedback
report "akkbdtkt" is for a built in lint system. Feedback report
"kprrfgto" is for a plugin we can drop into our projects that will
allow us to communicate in realtime with the RB IDE instead of
using the XML format.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>