nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nit: do not specify an soname (or -g) for JIT FFI libraries
[nit.git]
/
src
/
interpreter
/
debugger.nit
diff --git
a/src/interpreter/debugger.nit
b/src/interpreter/debugger.nit
index
4400939
..
cf4e815
100644
(file)
--- a/
src/interpreter/debugger.nit
+++ b/
src/interpreter/debugger.nit
@@
-18,7
+18,6
@@
module debugger
intrude import naive_interpreter
module debugger
intrude import naive_interpreter
-import nitx
intrude import semantize::local_var_init
intrude import semantize::scope
intrude import toolcontext
intrude import semantize::local_var_init
intrude import semantize::scope
intrude import toolcontext
@@
-225,7
+224,7
@@
class Debugger
# Auto continues the execution until the end or until an error is encountered
var autocontinue = false
# Auto continues the execution until the end or until an error is encountered
var autocontinue = false
- redef type FRAME: Frame
+ redef type FRAME: InterpreterFrame
#######################################################################
## Execution of statement function ##
#######################################################################
## Execution of statement function ##
@@
-470,10
+469,6
@@
class Debugger
else if command == "help" then
help
return true
else if command == "help" then
help
return true
- # Opens a new NitIndex prompt on current model
- else if command == "nitx" then
- new NitIndex.with_infos(modelbuilder, self.mainmodule).prompt
- return true
else if command == "bt" or command == "backtrack" then
print stack_trace
return true
else if command == "bt" or command == "backtrack" then
print stack_trace
return true
@@
-1411,7
+1406,7
@@
redef class AMethPropdef
# Not supposed to be used by anyone else than the Debugger.
private fun rt_call(v: Debugger, mpropdef: MMethodDef, args: Array[Instance]): nullable Instance
do
# Not supposed to be used by anyone else than the Debugger.
private fun rt_call(v: Debugger, mpropdef: MMethodDef, args: Array[Instance]): nullable Instance
do
- var f = new Frame(self, self.mpropdef.as(not null), args)
+ var f = new InterpreterFrame(self, self.mpropdef.as(not null), args)
var curr_instances = v.frame.map
for i in curr_instances.keys do
f.map[i] = curr_instances[i]
var curr_instances = v.frame.map
for i in curr_instances.keys do
f.map[i] = curr_instances[i]