In this article, we describe the new advanced stepping menu available in the debugger. These advanced steps provide convenient and automated debugging actions to help you debug your programs. We will see how to build and add new advanced steps, and how to extend the debugger toolbar with your own customized debugging menus. Advanced stepsContinue reading “Advanced stepping and custom debugging actions in the new Pharo debugger”
Author Archives: Steven
Object-centric breakpoints: a tutorial
The new Pharo debugger is shipped with object-centric breakpoints. An object-centric breakpoint is a breakpoint that applies to one specific object, instead of being active for all instances of that object’s class. We have two kinds of object-centric breakpoints: The haltOnCall breakpoint: give it a method selector and a target object, and the system willContinue reading “Object-centric breakpoints: a tutorial”
Ed: your new Emergency Debugger
“What is the nature of your debugging emergency?” —Ed. In this post, we’ll speak about debugging emergencies due to system error handling failures. We’ll cover the current tools available to revert code changes provoking such failures and introduce Ed, the new emergency debugger with improved revert capabilities. What is a debugging emergency? Sometimes when youContinue reading “Ed: your new Emergency Debugger”
Implementing an object-centric breakpoint with Reflectivity
In this post, we describe how we implement a breakpoint that affects only one specific object, and how we implement it using the Reflectivity framework. What is an object-centric breakpoint? Let’s take a simple example: imagine two Point instances p1 and p2. Each of these points has two instance variables, x and y, that weContinue reading “Implementing an object-centric breakpoint with Reflectivity”