Registered Member
|
Hi all, here is my story )
i installed Kubuntu via wubi. Passed through TechBase guide for developers, compiled trunk versions of kdesupport, kdelibs, kdepimlibs, kdebase, kdesdk, kdeutils, kdenetwork, kdevplatform, kdevelop, got gdb from cvs. I tried to make a patch for kopete. Compiled kopete source with CMAKE_BUILD_TYPE:STRING=debugfull, CMAKE_CXX_FLAGS_DEBUG:STRING=-g3 -O0, CMAKE_C_FLAGS_DEBUG:STRING=-g3 -O0. Whatever i try with kdevelop or gdb, i cant force kopete to stop anywhere out of main.cpp. I can set breakpoints, but the process stops only at main.cpp. Also smth like kDebug( 14010 ) << " blahblahtest "; works only in main.cpp and nowhere else. What should i do? Will be happy to provide any necessary info. Thx a lot
Last edited by gattoo on Thu Jul 23, 2009 11:11 am, edited 1 time in total.
|
KDE Developer
|
kopete is a "single instance" application. In practice, this means the main() does fork() to keep/reach a live instance running.
For debugging such applications, you have to pass --nofork as application argument, either do it via:
or
Pino Toscano
|
Registered Member
|
omg it worked! thx! can mark it SOLVED
|
Registered users: Bing [Bot], Google [Bot], Sogou [Bot]