AnsweredAssumed Answered

Searching code

Question asked by pedantic on Oct 3, 2012
Latest reply on Oct 7, 2012 by datastride

Hi everyone.


I am almost 100% positive that this is the wrong forum for this question, but I saw nothing closer to the basic subject of my question, so forgive me for intruding here. If I saw a "Scripting IDE" group then this is where I would ask my question, but I didn't see anything like that so here I go...


I have taken over a project with perhaps 2000+ lines of code. Somewhere in that mass a single global field is set to a particular, important value, and I need to find it. I have tried the good old Mark 1 Mod 0 eyeball search to find that location, but after the first five hundred lines of code or so, my eyes glaze over.


I have also set a watch on the variable and run the debugger to see if I could find where it changes when the program is run and that technique did not work either.


I can find no script search facility in the Script Manager, either for individual scripts, or for all the scripts in the database. Does one exist?


And if the answer is "no" is there some technique that I can use that will help me find any and all interactions with that global variable?