if self.modelbuilder.mpropdef2npropdef.has_key(mpropdef) then
var npropdef = self.modelbuilder.mpropdef2npropdef[mpropdef]
self.parameter_check(npropdef, mpropdef, args)
if self.modelbuilder.mpropdef2npropdef.has_key(mpropdef) then
var npropdef = self.modelbuilder.mpropdef2npropdef[mpropdef]
self.parameter_check(npropdef, mpropdef, args)
return npropdef.rt_call(self, mpropdef, args)
else
print "Error, invalid propdef to call at runtime !"
return npropdef.rt_call(self, mpropdef, args)
else
print "Error, invalid propdef to call at runtime !"
- var mainprop = mmod.try_get_primitive_method("main", sys_type.mclass)
+ var mainprop = mmod.try_get_primitive_method("run", sys_type.mclass) or else
+ mmod.try_get_primitive_method("main", sys_type.mclass)
else if parts_of_command[1] == "stack" then
print self.stack_trace
else if parts_of_command[1].chars.has('[') and parts_of_command[1].chars.has(']') then
else if parts_of_command[1] == "stack" then
print self.stack_trace
else if parts_of_command[1].chars.has('[') and parts_of_command[1].chars.has(']') then
# If it is a primitive type, its value is directly printed
fun print_instance(instance: Instance)
do
# If it is a primitive type, its value is directly printed
fun print_instance(instance: Instance)
do
# Same as call except it will copy local variables of the parent frame to the frame defined in this call.
# Not supposed to be used by anyone else than the Debugger.
# Same as call except it will copy local variables of the parent frame to the frame defined in this call.
# Not supposed to be used by anyone else than the Debugger.