Ignore:
Timestamp:
Oct 25, 1999, 11:39:23 PM (26 years ago)
Author:
phaller
Message:

Fix: enable WIN32.DEBUGBREAK environment variable for DebugBreak() API

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/misc.cpp

    r1410 r1448  
    1 /* $Id: misc.cpp,v 1.12 1999-10-23 12:34:47 sandervl Exp $ */
     1/* $Id: misc.cpp,v 1.13 1999-10-25 21:38:50 phaller Exp $ */
    22
    33/*
     
    342342{
    343343  dprintf(("DebugBreak\n"));
     344
     345  LPSTR lpstrEnv = getenv("WIN32.DEBUGBREAK");              /* query environment */
     346  if (lpstrEnv == NULL)      /* if environment is not set, don't call debugger ! */
     347     return;
     348
    344349#ifdef __WATCOMC__
    345350  interrupt3();
Note: See TracChangeset for help on using the changeset viewer.