Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d7d358015614b3c20a79a45b3f4657347ac460b0
Ticket: 3124554fffffffffffffffffffffffffffffffff
Move WishPanic from Tk to Tcl
User & Date: nijtmans on 2010-12-15 22:03:30
Changes

  1. icomment:
    Here are two new patches, which address the things discussed here:
    
    - Currenty (Tcl 8.5)  a panic on Windows results in the message:
        This application has requested the Runtime to terminate it in an unusual way.
        Please contract the application's support team for more information.
      Changing abort() to ExitProcess(1) brings the behavior on Windows more
      in line with the behavior on UNUX, which simply prints "Aborted"
    
    - Wish on Windows tries to activate a breakpoint in the
      debugger (either VS or GDB) when panicing. This is not
      logical for an end-user machine (as ferrieux already noted).
      Suggestion: Only try to trigger the debugger in debug
      mode (or does that sound too trivial....). Documentation
      should be modified on that.
    
    The patch for Tk does nothing more than use the panicproc
    dialog build in Tcl, which does exactly the same as the one
    previously built in winMain.c. This is no functional change.
    
    Opinions?
    
    
  2. login: "nijtmans"
  3. mimetype: "text/plain"
  4. username: "nijtmans"