Opened 13 years ago

Closed 13 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:
Platform: All


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 13 years ago.
Testcase that reproduces the problem

Download all attachments as: .zip

Change History (6)

by anevilyak, 13 years ago

Attachment: threadtest.cpp added

Testcase that reproduces the problem

comment:1 by anevilyak, 13 years ago

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

comment:2 by anevilyak, 13 years ago

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 by bonefish, 13 years ago

Status: newassigned

Will look into this in the next days.

comment:4 by anevilyak, 13 years ago

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

comment:5 by bonefish, 13 years ago

Resolution: fixed
Status: assignedclosed

Fixed in hrev33369.

Note: See TracTickets for help on using tickets.