<body><div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000">
                                        That's a good idea. I still have to figure out, why some debuggers tend to not appear correctly in MVC in this situation.<div><div><br></div><div>Best,</div><div>Marcel</div></div><div class="mb_sig"></div><blockquote class="history_container" type="cite" style="border-left-style:solid;border-width:1px; margin-top:20px; margin-left:0px;padding-left:10px;">
                        <p style="color: #AAAAAA; margin-top: 10px;">Am 19.09.2019 14:57:14 schrieb David T. Lewis <lewis@mail.msen.com>:</p><div style="font-family:Arial,Helvetica,sans-serif">The idea here is to let an MVC project be the parent of the active Morphic<br>project like this:<br><br>   Project topProject isMVC<br>      ifFalse: [ (MVCProject new name: 'The root project') beTopProject ]<br><br>Thus an unrecoverable error in Morphic will first drop into an MVC debugger<br>before giving up and falling back on the emergency evaluator.<br><br>Dave<br><br><br>On Thu, Sep 19, 2019 at 02:37:50AM +0000, commits@source.squeak.org wrote:<br>> David T. Lewis uploaded a new version of ReleaseBuilder to project The Inbox:<br>> http://source.squeak.org/inbox/ReleaseBuilder-dtl.198.mcz<br>> <br>> ==================== Summary ====================<br>> <br>> Name: ReleaseBuilder-dtl.198<br>> Author: dtl<br>> Time: 18 September 2019, 10:37:49.461592 pm<br>> UUID: 93409652-4167-4790-a02a-ec5e54f2c036<br>> Ancestors: ReleaseBuilder-mt.197<br>> <br>> When preparing a new release image, arrange for the home Morphic project to have a parent MVC project. The MVC project supports emergency debugging in the event of unrecoverable Morphic problems, and will fall back on the traditional emergency evaluator if MVC debugging fails.<br>> <br>> =============== Diff against ReleaseBuilder-mt.197 ===============<br>> <br>> Item was added:<br>> + ----- Method: ReleaseBuilder class>>addMVCParentProject (in category 'scripts - support') -----<br>> + addMVCParentProject<br>> +  "The home project is a single Morphic project. Let the home project have a<br>> +         parent MVC project as the root of the project tree. The MVC project supports<br>> +    emergency debugging in the event of unrecoverable Morphic problems, and<br>> +         will fall back on the traditional emergency evaluator if MVC debugging fails.<br>> +   If MVC is not installed in the image, then do nothing."<br>> + <br>> +   (Smalltalk hasClassNamed:#MVCProject) ifTrue: [ | cls |<br>> +                 cls := Smalltalk classNamed: #MVCProject.<br>> +               ((Project topProject) perform: #isMVC)<br>> +                  ifFalse: [(cls new name: 'The root project') beTopProject ] ].<br>> + !<br>> <br>> Item was changed:<br>>   ----- Method: ReleaseBuilder class>>checkCurrentProjects (in category 'scripts - support') -----<br>>   checkCurrentProjects<br>>   <br>>      Project current isMorphic ifFalse: [<br>>              Warning signal: 'The current project is not Morphic. Please create a new Morphic project, enter it, and restart the release building process.'].<br>>          <br>> +        Project allProjects size<br>> +                caseOf: {<br>> +                       [ 1 ]  -> [ self addMVCParentProject ] .<br>> +                     [ 2 ] -> [ ((Project current parent) perform: #isMVC) ifFalse: [ Warning signal: 'Parent of the home project should be an MVC project.' ]  ] }<br>> +               otherwise: [ Warning signal: 'There should be one home Morphic project with a parent MVC project for fallback debugging.' ] .<br>> -   Project allProjects size = 1 ifFalse: [<br>> -                 Warning signal: 'There should only be one project.'].<br>>     <br>>          "Avoid strange drawing issues."<br>>         Project current world allMorphsDo: [:m | m removeProperty: #errorOnDraw].!<br>> <br>> <br><br></div></blockquote>
                                        </div></body>