An 
operating system (OS) is used in a 
system with a processor that includes embedded real-time analysis components. The OS includes 
software objects which provide functionality in response to signals from the embedded real-time analysis components. In an example embodiment, the OS is a real-time OS (RTOS), the embedded real-time analysis components include an embedded 
event trigger component, and the 
software objects include a debug object that responds to signals from the embedded 
event trigger component. For instance, those signals may relate to program flow, data flow, or a hardware operation such as a 
cache miss, and the debug object may be a 
breakpoint handler, a trace handler, or an 
event sequence handler. In the example embodiment, the 
software objects in the RTOS provide functionality such as 
stack overflow detection, real-time task priority modification, and / or 
system scheduling error assertion for a real-time application. Alternative embodiments involve related methods and systems.