5 links
tagged with debugging
Click any tag below to further narrow down your results
Links
The "use no memo" directive in React prevents the React Compiler from optimizing a function, allowing developers to bypass optimization temporarily for debugging or when integrating with incompatible libraries. It must be placed at the very beginning of a function body and is intended for short-term use. Best practices include documenting the reason for disabling optimization and ensuring correct syntax.
Troy Hunt discusses the challenges of identifying a bug in Chromium that was reported through user crash reports. He emphasizes the importance of monitoring crash reports, which, if observed earlier, could have led to a quicker resolution of the issue. The article serves as a reminder for developers to pay attention to the data available in crash reports to improve debugging processes.
The article explains Apple's Compact Unwinding Format, which is used for generating backtraces on Apple platforms. It details the implementation of the format, its necessity for debugging tools like Firefox’s crash reporter, and provides insights into the unwinding process in programming. The author shares their documentation efforts and acknowledges the contributions of others in understanding this format.
The x86-64 Playground is an online assembly editor and GDB-like debugger designed for learning and experimenting with x86-64 assembly code. It allows users to write, compile, and debug assembly programs directly in their browser without needing to install any software, providing a responsive interface and offline capabilities. The app is open-source and suitable for educational purposes, particularly in binary exploitation and Linux process understanding.
The article discusses a challenging bug encountered while using PyTorch, which caused training loss to plateau due to a GPU kernel issue on the Apple Silicon MPS backend. After extensive debugging and investigation, the author uncovered the underlying problem related to non-contiguous memory layouts, ultimately leading to insights about PyTorch internals and the importance of understanding framework details in troubleshooting. The article serves as a guide for others who may face similar issues, offering a thorough walkthrough of the debugging process.