Re: Equivalent of Win32 debugging API under UNIX
| From: | Sascha Schumann | Date: | Fri, 02 Jun 2000 18:44:44 +0000 |
| Subject: | Re: Equivalent of Win32 debugging API under UNIX | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-20078@lists.php.net to get a copy of this message | ||
On Fri, 2 Jun 2000, Zeev Suraski wrote:
>
> Is anyeone aware of a way of achieving the functionality of the Win32
> debugging API functions, DebugBreak() and IsDebuggerPresent() under UNIX
> (or some flavours of it?)
DebugBreak() sounds like kill(getpid(), SIGTRAP). There is no
equivalent function for IsDebuggerPresent().
- Sascha