Ignore:
Timestamp:
10/08/13 10:28:34 (11 years ago)
Author:
adrpo
Message:
  • mdt 0.7.31 + add preference for gdb max stack depth in Modelica preferences (default to -1 which means all the stack)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/org.modelica.mdt.core/src/org/modelica/mdt/core/preferences/PreferenceManager.java

    r1810 r1831  
    8686    public static final String OMC_LIBRARIES = "OMCLibraries";
    8787    public static final String PREVENT_DUPLICATE_CLASS_NAMES = "PreventDuplicateClassNames";
     88    public static final String GDB_MAX_STACK_DEPTH = "OMCGDBMaxStackDepth";
    8889   
    8990    protected final static String EDITOR_MATCHING_BRACKETS="matchingBrackets";
     
    138139        store.setDefault(OMC_COMMAND_LINE_PARAMETERS, "");
    139140        store.setDefault(OMC_LIBRARIES, "Modelica");
     141        store.setDefault(GDB_MAX_STACK_DEPTH, "-1");
    140142       
    141143        store.setDefault(EDITOR_MATCHING_BRACKETS, true);
     
    288290         return getStore().getBoolean(PREVENT_DUPLICATE_CLASS_NAMES);
    289291     }
     292     
     293     /**
     294      * @return current setting for
     295      */
     296     public static String getOMCGDBMaxStackDepth() {
     297         return getStore().getString(GDB_MAX_STACK_DEPTH);
     298     }
     299
    290300}
Note: See TracChangeset for help on using the changeset viewer.