simplified source line and source text representation of a methond in dbgi
This commit is contained in:
@ -322,9 +322,7 @@ class(#pointer) CompiledMethod(Object)
|
||||
ntmprs,
|
||||
nargs,
|
||||
//code, <-- only if moo is built with MOO_USE_METHOD_TRAILER disable.
|
||||
dbi_text_offset,
|
||||
dbi_file_offset,
|
||||
source_line,
|
||||
dbi_method_offset.
|
||||
|
||||
method preamble
|
||||
@ -350,10 +348,6 @@ class(#pointer) CompiledMethod(Object)
|
||||
|
||||
method(#primitive) sourceText.
|
||||
method(#primitive) sourceFile.
|
||||
method(#primitive) sourceLine.
|
||||
method(#primitive) ipSourceLine: ip.
|
||||
|
||||
method sourceLine
|
||||
{
|
||||
^self.source_line
|
||||
}
|
||||
}
|
||||
|
@ -79,7 +79,6 @@ while (ctx notNil)
|
||||
System logNl: (" " & ctx method owner name & ">>" & ctx method name &
|
||||
" (" & ctx method sourceFile & " " & (ctx method ipSourceLine: (ctx pc)) asString & ")").
|
||||
// TODO: get location of the current pc and include it... (ctx method sourceLine: ctx pc) asString dump.
|
||||
|
||||
}.
|
||||
// TODO: include blockcontext???
|
||||
ctx := ctx sender.
|
||||
|
Reference in New Issue
Block a user