Check out GTDebuggerVariablesBrowser. That’s the browser used in the debugger to display and inspect variables.
> On 21 Feb 2016, at 09:35, Ben Coman <[email protected]> wrote: > > With... > Error subclass: #OwnedLockBadRelease > instanceVariableNames: 'lockOwner perpetrator' > classVariableNames: '' > package: 'Kernel-Processes' > > In playground when I do... > | error | > (error := OwnedLockBadRelease new) signal > then in the debugger select the 'error' tempvar, > the [Raw] tab is too busy, so I'd like a custom [Error] tab > showing only my two instance variables. > > I've managed to get a tab to show up by implementing... > OwnedLockBadRelease>>gtDebuggerEvaluatorIn: composite > super gtDebuggerEvaluatorIn: composite. > (GTObjectVariablesBrowser new evaluatorIn: composite) > title: 'Error Tab To Do' > but I can't find how to add variables. > > Tips please? > cheers -ben >
