I have a project written in C and Tcl and I'm trying to debug it. The main part is written in C, and GUI is written in Tcl. I'm new to Tcl. I tried to use lldb to debug it, but as soon as the C program calls
Tk_Main(TKARGS, myargv, Tcl_AppInit);
lldb does not work at all, even if some Tcl commands are written in C. How can I debug it?