tk - Debugging C with Tcl -


i have project written in c , tcl , i'm trying debug it. main part written in c, , gui written in tcl. i'm new tcl. tried use lldb debug it, c program calls

tk_main(tkargs, myargv, tcl_appinit); 

lldb not work @ all, if tcl commands written in c. how can debug it?

when debugging c/c++ , scripting-language together, can't expect lldb know how source-level-debug both. knows c/c++ (or more precisely, dwarf-symbols).

thus if expect c-code faulty when being invoked within script-language, need set breakpoint & operate program trigger call.

when crashes appear, should use "bt"-command clue in stacktrace are, , investigate further using breakpoints.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -