<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Hi all,</p>
<p><br>
</p>
<p>while working at some refactoring on the Inspector, I found some selectors that might be obsolete:</p>
<p><span style="font-size: 12pt;"><br>
</span></p>
<p><span style="font-size: 12pt;">* Debugger>>#</span><span style="font-size: 12pt;">receiverInspectorObject:context: -- no senders in my image</span></p>
<p><span style="font-size: 12pt;"></span><span style="font-size: 12pt;">* Inspector>>#context: and the corresponding instvar -- no senders to possible instances of Inspector in my image - but </span>Debugger>>#receiverInspectorObject:context:</p>
<p>Also, the comment mentions a class named <span>ClosureEnvInspector, which is also not present in my image. Was that a predecessor of ContextInspector?</span></p>
<p><span>Or would it be interesting in Debugger, to tell the receiverInspector about the selectedContext in #<span>resetContext:changeContents:, and in Inspector, to expose context as doItContext? This would allow you to evaluate context-dependent expressions
 in both Inspector windows. Pro: You would not have to "move around" with your code to the second value pane when evaluating such expressions. Con: You would not be able to access shadowed variables programmatically any longer while debugging. Opinions?<br>
</span></span></p>
<p><span style="font-size: 12pt;">*</span><span style="font-size: 12pt;"> #<span>defaultIntegerBaseInDebugger</span></span></p>
<p><span style="font-size: 12pt;"><span>Is sent by (ContextVariable)Inspector>>#defaultIntegerBase, but nowhere implemented (at least in my image). Also, the current implementation is quite ugly + overheady by catching each possible DNU instead of checking
 #respondsTo:. Are you aware of any implementation of this selector?</span></span></p>
<p><span style="font-size: 12pt;"><span></span></span><span style="font-size: 12pt;">*</span><span style="font-size: 12pt;"> </span><span style="font-size: 12pt;">Inspector>>#<span>classOfSelection</span></span></p>
<p><span style="font-size: 12pt;"><span>Also no senders in my image, and it is 100% identical to #selectedClass.</span></span></p>
<p><span style="font-size: 12pt;"><span><br>
</span></span></p>
<p><span style="font-size: 12pt;"><span>So, which of these selectors do you think we can delete or deprecate? I will be happy to do that. :)</span></span></p>
<p><span style="font-size: 12pt;"><span><br>
</span></span></p>
<p><span style="font-size: 12pt;"><span>Best,</span></span></p>
<p><span style="font-size: 12pt;"><span>Christoph</span></span></p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div><font size="2" color="#808080"></font></div>
</div>
</div>
</div>
</body>
</html>