Registered Member
|
My questions is:
How to launch gdb with set exec-wrapper env LD_PRELOAD=./libctrace.so in KDevelop? When debugging without KDevelop I launch gdb as below: gdb -iex "set exec-wrapper env LD_PRELOAD=./libctrace.so gdb" ./cppSimpleTraced This allows me to debug executable "cppSimpleTraced" with preloaded library "libctrace.so". I'm struggling to figure out how to configure the same debug arrangements inside the KDevelop IDE. How would you get gdb to load "./libctrace.so" before debugging " ./cppSimpleTraced" from the KDevelop IDE? This should allow me to set breakpoints in both "libctrace.so" and "cppSimpleTraced". Thanks for you help Stewart |
Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan, Sogou [Bot]