문제

I am trying to debug a few C++ applications with KDevelop 4.0.1(on KDE 4.4.5 and gdb 7.0.1) on Debian 6.0.6. Irrespective of what part of the code I break into, the debugger detaches automatically after stepping through a few instructions. I didn't find anything on this topic on any forums. I tried a few things below.

  1. Debugging using gdb on shell works perfectly fine.
  2. Tried debugging multiple applications, but the issue is seen.
  3. Reinstalling KDevelop did not help.

Am I missing some configuration that could cause this behavior? (I am new to kdevelop)

Thanks for any help.

도움이 되었습니까?

해결책

My guess is that is related to pretty printing of an uninitialized variable.

Lots of fixes have been applied to KDevelop and gdb, you should consider updating to a more recent version.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top