Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » help! problem on debugging multi-thread proggram
help! problem on debugging multi-thread proggram [message #1497883] Thu, 04 December 2014 03:43 Go to next message
chuan qin is currently offline chuan qinFriend
Messages: 2
Registered: December 2014
Junior Member
I'm using eclipse for c/c++ and MingGW to make c++ project, which has multi-thread program. when I was debugging it with gdb, and met API like "CreateThread", it would show the following info and cannot trace step by step.

[New Thread 6684.0x2378]
[New Thread 6684.0x1df8]
warning: SuspendThread failed. (winerr 2)
Quit (expect signal SIGINT when the program is resumed)
Quitting: PC register is not available

it seems that I create thread B in thread A, after switch to B, program cannot back to A again, while I fail to make breakpoints in B.

eclipse-cpp-juno-win32-x86_64
mingw32
gdb 7.6.1

Would you help me to solve the problem? thanks for your interest.
Regards,
Chuan
Re: help! problem on debugging multi-thread proggram [message #1511865 is a reply to message #1497883] Mon, 15 December 2014 08:24 Go to previous message
chuan qin is currently offline chuan qinFriend
Messages: 2
Registered: December 2014
Junior Member
I think maybe there exists bugs when GDB debugs multi-thread program with environment of eclipse+CDT.

If it is, I will commit this problem to eclipse.
Previous Topic:how to restore eclipse plugins after a reinstall ?
Next Topic:unstable mingw in XP 64bit in Hyper-V
Goto Forum:
  


Current Time: Fri Apr 26 12:10:06 GMT 2024

Powered by FUDForum. Page generated in 0.03158 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top