Skip to content

To use breaktodebugger(), which file should I include in C code?

2 messages · Tong Wang, Duncan Murdoch

#
Hi, 
    I have tried several headers in RHOME/include , but none of them seemed to work . 

Thanks for your help.
#
On 4/25/2007 3:47 AM, Tong Wang wrote:
It's not part of the API, so you can't call it from package code.

But the implementation is very simple in Windows:

void breaktodebugger()
{
     asm("int $3");
}

so you could easily write your own.  I don't know the equivalent for 
other platforms.

Duncan Murdoch