When running a Pony program in lldb, it is convenient to be able to call functions (as one does in C programs). This used to work.
Unfortunately, at some point it stopped working. For example:
(lldb) call String_box_cpointer_Zo(source)
error: use of undeclared identifier 'String_box_cpointer_Zo'
Note that if we try to set a breakpoint, it works:
(lldb) b String_box_cpointer_Zo
Breakpoint 3: where = peg`String_box_cpointer_Zo + 18 at string.pony:205, address = 0x0000000100005a22
It's possible this has to do with how the language identifier is set in the DWARF info. The right long term solution is full support for Pony in lldb:
http://lldb.llvm.org/adding-language-support.html
When running a Pony program in
lldb, it is convenient to be able to call functions (as one does in C programs). This used to work.Unfortunately, at some point it stopped working. For example:
Note that if we try to set a breakpoint, it works:
It's possible this has to do with how the language identifier is set in the DWARF info. The right long term solution is full support for Pony in
lldb:http://lldb.llvm.org/adding-language-support.html