[Openmcl-devel] Examining values from inside the debugger
Andrew P. Lentvorski, Jr.
bsder at mail.allcaps.org
Mon Aug 16 17:39:36 PDT 2004
On Aug 16, 2004, at 4:06 PM, Andrew P. Lentvorski, Jr. wrote:
> What am I missing? Does this have something to do with compiling
> versus interpreting? I *know* that ffi-files is nil, not unbound.
> Otherwise, the break would not have fired. However, I can't seem to
> find it with the debugger.
Found the variables. They can be accessed in the backtrace by position
but not directly by name. The magic command is (:f 0) and then grovel
through by position.
1 > (:f 0)
(F0135C10) : 0 "CCL::PARSE-STANDARD-FFI-FILES" 504
0 CCL::DIRNAME: :GTK ("required")
1 CCL::FTD: #S(CCL::FOREIGN-TYPE-DATA :TRANSLATORS #<HASH-TABLE :TEST
EQ size 15/60 #x6299A96> :KIND-INFO #<HASH-TABLE :TEST EQ size 40/60
#x6299786> :DEFINITIONS #<HASH-TABLE :TEST EQ size 25/60 #x6299476>
:STRUCT-DEFINITIONS #<HASH-TABLE :TEST EQ size 6/60 #x6299166>
:UNION-DEFINITIONS #<HASH-TABLE :TEST EQ size 0/60 #x6298E56>
:ENUM-DEFINITIONS #<HASH-TABLE :TEST EQ size 0/60 #x6298B46>
:INTERFACE-DB-DIRECTORY "ccl:darwin-headers;" :INTERFACE-PACKAGE-NAME
"DARWIN" :EXTERNAL-FUNCTION-DEFINITIONS #<HASH-TABLE :TEST EQ size 0/60
#x6298836> :SYSCALLS #<HASH-TABLE :TEST EQ size 0/60 #x6298526>
:DIRLIST #<DLL-HEADER #x6298516> :ATTRIBUTES (:SIGNED-CHAR
:STRUCT-BY-VALUE :PREPEND-UNDERSCORES) :ORDINAL->TYPE #(NIL))
("keyword")
2 : NIL ("key-supplied-p")
3 CCL::WRITE-LISP-FILE: NIL ("keyword")
4 : NIL ("key-supplied-p")
5 CCL::PREPEND-UNDERSCORES: T ("keyword")
6 : NIL ("key-supplied-p")
7 CCL::*PARSE-FFI-TARGET-FTD*: #S(CCL::FOREIGN-TYPE-DATA :TRANSLATORS
#<HASH-TABLE :TEST EQ size 15/60 #x6299A96> :KIND-INFO #<HASH-TABLE
:TEST EQ size 40/60 #x6299786> :DEFINITIONS #<HASH-TABLE :TEST EQ size
25/60 #x6299476> :STRUCT-DEFINITIONS #<HASH-TABLE :TEST EQ size 6/60
#x6299166> :UNION-DEFINITIONS #<HASH-TABLE :TEST EQ size 0/60
#x6298E56> :ENUM-DEFINITIONS #<HASH-TABLE :TEST EQ size 0/60 #x6298B46>
:INTERFACE-DB-DIRECTORY "ccl:darwin-headers;" :INTERFACE-PACKAGE-NAME
"DARWIN" :EXTERNAL-FUNCTION-DEFINITIONS #<HASH-TABLE :TEST EQ size 0/60
#x6298836> :SYSCALLS #<HASH-TABLE :TEST EQ size 0/60 #x6298526>
:DIRLIST #<DLL-HEADER #x6298516> :ATTRIBUTES (:SIGNED-CHAR
:STRUCT-BY-VALUE :PREPEND-UNDERSCORES) :ORDINAL->TYPE #(NIL))
(:SAVED-SPECIAL)
8 CCL::D: #<INTERFACE-DIR :GTK #P"gtk/" #x639B28E>
9 CCL::INTERFACE-DIR: #4P"ccl:darwin-headers;gtk;"
10 CCL::*PREPEND-UNDERSCORES-TO-FFI-FUNCTION-NAMES*: NIL
(:SAVED-SPECIAL)
11 PACKAGE-NAME: "DARWIN"
12 CCL::*FFI-GLOBAL-TYPEDEFS*: NIL (:SAVED-SPECIAL)
13 CCL::*FFI-GLOBAL-UNIONS*: NIL (:SAVED-SPECIAL)
14 CCL::*FFI-GLOBAL-STRUCTS*: NIL (:SAVED-SPECIAL)
15 CCL::*FFI-GLOBAL-FUNCTIONS*: NIL (:SAVED-SPECIAL)
16 CCL::*FFI-GLOBAL-CONSTANTS*: NIL (:SAVED-SPECIAL)
17 CCL::*FFI-GLOBAL-VARS*: NIL (:SAVED-SPECIAL)
18 CCL::FFI-FILES: NIL
Position 18 is the requisite nil I was expecting.
-a
More information about the Openmcl-devel
mailing list