#9854: Debug button doesn't always work -----------------------------+---------------------------- Reporter: anevilyak | Owner: bonefish Type: bug | Status: assigned Priority: high | Milestone: R1 Component: System/Kernel | Version: R1/Development Resolution: | Keywords: Blocked By: | Blocking: Has a Patch: 0 | Platform: All -----------------------------+---------------------------- Changes (by anevilyak): * status: new => assigned * owner: anevilyak => bonefish * component: Applications/Debugger => System/Kernel Comment: Confirmed that it's the presence of the B_TEAM_DEBUG_POST_SYSCALL flag that causes the problem, but I'm currently at a loss as to why. Adding tracing to _user_debug_thread() confirms that it indeeds decides all is well and calls thread_interrupt() on the thread as it should, but the expected B_DEBUGGER_MESSAGE_THREAD_DEBUGGED never seems to arrive, and the thread happily keeps executing as best I can tell. Interrupting a thread via a breakpoint, however, consistently still behaves as expected. An example of such an undebuggable thread is one belonging to a BLooper, which was simply sitting in the kernel waiting for a port read when attempting to debug it. Any ideas? -- Ticket URL: <http://dev.haiku-os.org/ticket/9854#comment:1> Haiku <http://dev.haiku-os.org> Haiku - the operating system.