How do I test a signal handler?

 

The problem with a signal handler is that it's usually invoked when something happens outside of your program or when an error of some kind occurs. With Murphy's Law being what it is, these things never happen while your debugging your program. You can defeat Murphy if you use the Thread > Continuation Signal command to throw a signal at a thread.

Bonus Tip

What do all of those colors and patterns mean in Process, Variable, and other windows?

There's absolutely no specific meaning for any color or pattern. The colors are there to tell you if something is in the same process or thread. That is, if the colors are the same in different windows, they're related.


You can find tips that we've already sent out in our Tip Archive

Help us improve these tips!