dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: General questions about troubleshooting, looking up constants, tracking vars

  1. #1
    Join Date
    Mar 2010
    Posts
    281

    General questions about troubleshooting, looking up constants, tracking vars

    i am currently on a job using a large open source shopping cart framework.
    there has been lots of customization done, plugins added etc. so of course there are errors and what not.

    one plugin add-on in particular involved over 160 files! and once added there is now some sort of logic error. here are some questions that come up for me when trying to troubleshoot.

    how can a programmer track down where a constant is being defined?
    and the same with a functions, how can a function be found amongst 100's of files? is it possible to track variables?

    i recently started using Aptana but as of yet don't know how to do the above using it. any advice, help etc. would be much appreciated, thanks!

  2. #2
    Join Date
    Aug 2004
    Location
    Ankh-Morpork
    Posts
    19,636
    It's been awhile since I used Apatana, so I don't know (or remember) exactly what features it has (had) in that regards. I do know that with Komodo Edit, you can right-click on a function/method call and select the "go to definition" option to open the file where it is defined and move the cursor to that line. I'd be somewhat surprised if Apatana does not have a similar feature.

    (This may not work in all cases, particularly if the relevant code is in a separate directory tree not included as part of the IDE "project" that is currently active.)
    Last edited by NogDog; 03-26-2013 at 03:03 PM.
    "Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
    ~ Terry Pratchett in Nation

    eBookworm.us

  3. #3
    Join Date
    Mar 2010
    Posts
    281
    thanks NogDog. i will research and try to find out. i think there is a user forum for Aptana. i'll post back here in case may help someone.

    i will check out Komodo if Aptana doesn't do that.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles