I've added a linking method to my agents. It compiles, but it when I run it I get the following error:
(Tcl -eval:) invalid command name "(null)"
while executing
"unknown_pre_tclObjc $name $args"
(procedure "unknown" line 6)
invoked from within
"(null) create line 0 0 0 0 -arrow last"
while evaluating: (null) create line 0 0 0 0 -arrow last
(Tcl -eval:) invalid command name "(null)"
while executing
"unknown_pre_tclObjc $name $args"
(procedure "unknown" line 6)
invoked from within
"(null) create line 0 0 0 0"
while evaluating: (null) create line 0 0 0 0
(Tcl -eval:) invalid command name "(null)"
while executing
"unknown_pre_tclObjc $name $args"
(procedure "unknown" line 6)
invoked from within
"(null) lower invalid command name "(null)""
while evaluating: (null) lower invalid command name "(null)"; (null) lower invalid command name "(null)"
When I set a break point before newLink=[LinkItem create: [self getZone]]; then I get the error right after that command regardless of what comes next. I tried changing the order of the setCanvas, setFrom, setTo, but that didn't help. I tried tracing the error to LinkItem.m, but I would get a crash before it hit the break points.
-linkToInferior: (id) anAgent {
id <LinkItem> newLink;