Changeset 13196 for trunk/abcl/src/org


Ignore:
Timestamp:
01/30/11 21:19:46 (11 years ago)
Author:
ehuelsmann
Message:

Provide more context regarding the reason of autoloading.

Note: This change *hugely* helps debugging.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abcl/src/org/armedbear/lisp/Autoload.java

    r13193 r13196  
    113113    }
    114114
    115     private static void loadVerbose(int loadDepth, String className,
     115    private static void loadVerbose(Symbol sym, int loadDepth, String className,
    116116            String fileName) {
    117117        final String prefix = Load.getLoadVerbosePrefix(loadDepth);
    118118        Stream out = getStandardOutput();
    119119        out._writeString(prefix);
    120         out._writeString(" Autoloading ");
     120        out._writeString(sym.getQualifiedName() + " triggers autoloading of ");
    121121        out._writeString(className == null ? fileName : className);
    122122        out._writeLine(" ...");
     
    144144                || "Y".equals(System.getProperty("abcl.autoload.verbose")))
    145145            {
    146                 loadVerbose(loadDepth, className, getFileName());
     146                loadVerbose(symbol, loadDepth, className, getFileName());
    147147            } else
    148148                effectiveLoad(className, getFileName());
Note: See TracChangeset for help on using the changeset viewer.