2008

  1. Major issue in SimplePing

    The SimplePing sample from Apple can fail to perform a ping request (ICMP).
    [Read More]
  2. Programmatically break into GDB

    You may want to stop into the debugger if something bad happened while executing your program. The easier way to do that is to have a breakpoint always set and to run your program in the debugger. But sometimes you want to break even if there are no breakpoint. For example you know that something is wrong now and your program will crash later.
    [Read More]
  3. Breakpoint conditions with GDB

    When debugging your application, you use breakpoints. The program will return control to GDB every time it reaches a breakpoint you set. This may not be desirable if you have breakpoint on a method that is called many times and you want to break only with certain values passed to that method. GDB provides several ways to do conditional breakpoints that I’ll try to explain.
    [Read More]
  4. Ignoring a SSL certificate when using a webserver

    What happens when you try to connect to an HTTPS webserver which has an invalid SSL certificate? For example when the hostname of the website is not the same as the one in the SSL certificate.
    [Read More]
  5. libMallocDebug

    Here is a little description on how to use libMallocDebug for developers and QA people. It seems not many people know about it.
    [Read More]