Tong Wang
2007-Apr-25 07:47 UTC
[Rd] To use breaktodebugger(), which file should I include in C code?
Hi, I have tried several headers in RHOME/include , but none of them seemed to work . Thanks for your help.
Duncan Murdoch
2007-Apr-25 10:44 UTC
[Rd] To use breaktodebugger(), which file should I include in C code?
On 4/25/2007 3:47 AM, Tong Wang wrote:> Hi, > I have tried several headers in RHOME/include , but none of them seemed to work . > > Thanks for your help.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