Peter Steinberger 3/7/2018

Hardcore Debugging - Heavy Weapons for Hard Bugs

Read Original

The article details a challenging debugging scenario involving an Objective-C memory management crash ([PSPDFDocument release] sent to deallocated instance) that occurred only in UI tests with Zombies enabled. The author explains their approach using custom GCD queue wrappers, named queues for better debugging, and DEBUG-mode tracking of all active queues to isolate the elusive bug. It provides technical insights into low-level memory debugging in Objective-C/C++ environments.

Hardcore Debugging - Heavy Weapons for Hard Bugs

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

1
The Beautiful Web
Jens Oliver Meiert 2 votes
3
LLM Use in the Python Source Code
Miguel Grinberg 1 votes
4
Wagon’s algorithm in Python
John D. Cook 1 votes