Opened 10 years ago

Closed 10 years ago

#4665 closed bug (fixed)

Breakpoint issues with thread functions

Reported by: anevilyak Owned by: bonefish
Priority: normal Milestone: R1
Component: Applications/Debugger Version: R1/alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

If I run Tracker in the debugger, go into the image list for src/kits/tracker/PoseView.cpp and mark a breakpoint anywhere in BPrivate::BPoseView::AddPosesTask(), it never gets hit. This function is most definitely called as it's used as the thread function for the thread which populates the window poses at line 1114. Working on isolating a smaller testcase to see if this is a general problem with thread function breakpoints but this one at least is reliably reproducible.

Attachments (1)

threadtest.cpp (582 bytes) - added by anevilyak 10 years ago.
Testcase that reproduces the problem

Download all attachments as: .zip

Change History (6)

Changed 10 years ago by anevilyak

Attachment: threadtest.cpp added

Testcase that reproduces the problem

comment:1 Changed 10 years ago by anevilyak

See attached testcase: setting a breakpoint on line 7 (or another breakpoint involving threadfunc) never gets hit.

comment:2 Changed 10 years ago by anevilyak

Further info: this seems to only be an issue with whatever function the thread starts in ; any further functions called from within the thread function can be broken into without problems.

comment:3 Changed 10 years ago by bonefish

Status: newassigned

Will look into this in the next days.

comment:4 Changed 10 years ago by anevilyak

Thanks, let me know if you need anything else :)

comment:5 Changed 10 years ago by bonefish

Resolution: fixed
Status: assignedclosed

Fixed in hrev33369.

Note: See TracTickets for help on using tickets.