1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
|
doc ///
Node
Key
debug
Headline
assistant for debugging packages, dictionaries, etc
SeeAlso
(debug, Package)
Subnodes
(debug, LocalDictionary)
(debug, String)
Node
Key
(debug, String)
Headline
open the local dictionary of a loaded file
Usage
debug filename
Inputs
filename:String
Consequences
Item
symbols from the local dictionary @TT "fileDictionaries#filename"@ are added to
the private dictionary of @TT "User"@, and are therefore made visible to the user
Description
Text
This function allows access to the local symbols of a any loaded file.
Example
load "Macaulay2Doc/demos/demo1.m2" -* no-capture-flag *-
listUserSymbols
debug "Macaulay2Doc/demos/demo1.m2"
listUserSymbols
code f
SeeAlso
"fileDictionaries"
(debug, Package)
(debug, LocalDictionary)
(debug, GlobalDictionary)
Node
Key
(debug, LocalDictionary)
(debug, GlobalDictionary)
Headline
open a local or global dictionary to the user
Usage
debug dict
Inputs
dict:{LocalDictionary,GlobalDictionary}
Consequences
Item
if @TT "dict"@ is a local dictionary, its symbols are added to
the private dictionary of @TT "User"@, otherwise @TT "dict"@ is
prepended to @TO "dictionaryPath"@, and in both cases the symbols
are made visible to the user
SeeAlso
"dictionaryPath"
(debug, Package)
(debug, String)
///
|