Jump to content
  • Advertisement
Sign in to follow this  
tmarques4

Debugging issue.

This topic is 2249 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

So, will try to keep it simple since I don't expect anybody to solve my problem, I'm just looking for some tips to help me getting started solving the issue.

I have this program which runs fine under "Run", however, when running under "Debug", it crashes and the only information I can get is: No source available for "pthread_join() at 0x3682609080"

What's it meaning, is it too generic for a straight answer?

Language: C++
OS: Linux | Distribution
Environment: Eclipse
Debugger: GDB (Eclipse default I believe)

Thanks in advance!

Share this post


Link to post
Share on other sites
Advertisement
When running in a debug configuration, the debugger matches the compiled binary with the source code, so you can for example select a line of source code as a break point and the debugger knows which part of the binary to stop execution at. I haven's used eclipse in a while but this should help you figure it out.

Share this post


Link to post
Share on other sites

When running in a debug configuration, the debugger matches the compiled binary with the source code, so you can for example select a line of source code as a break point and the debugger knows which part of the binary to stop execution at. I haven's used eclipse in a while but this should help you figure it out.


I guess using multiple threads keeps debugging trickier, I prefer to look line after line until I get to the point it crashes since the code is very small, if I set a breakpoint running in a different thread it won't run since it crashes at the "parent" thread, correct me if I'm wrong.

I think the problem has somehting to do with stack memory reserved for each thread on "debugger mode", since on "run mode" it runs fine, maybe debugger is more memory consuming.

this didn't help me, :), tried consulting mighty google before, to no avail.

Anybody knows how can I move this topic "General Programming"?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!