Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[dsdp-dd-dev] Question on Breakpoints

Title: Question on Breakpoints

Hello,
In our OS, one can not attach to a process until it is running.
Since most of the processes are dynamic in nature and have short lifespan so it is not feasible to apply a breakpoint based on thread/process ID.

A work-around is to apply a breakpoint based on address of the instruction and hence, the BP becomes a global BP.
When any process hits that address first, the execution is suspended for that process. Multiple processes can hit the same address though and hence can be suspended.

Thus, If framework exposes the breakpoint type say "Global Breakpoint" then Address Breakpoint is applied and when any process reaches that address,

breakpoint is considered hit for that process.

Do you have a scenario like this as a Use case for DSF project or is it too typical a case?

Can new Breakpoint types be defined using extension points in DSF ?


Thanx
Veenu













Back to the top