Ignore:
Timestamp:
Mar 10, 2004, 12:58:19 PM (21 years ago)
Author:
sandervl
Message:

VP: DebugInt3 change

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/dbglog.h

    r10435 r10504  
    103103#ifdef DEBUG
    104104#ifdef __cplusplus
    105 void inline BreakPoint(char *szFile, char *szFunction)
     105
     106#define DebugInt3() BreakPoint(__FILE__, __FUNCTION__, __LINE__)
     107
     108void inline BreakPoint(char *szFile, char *szFunction, int iLine)
    106109{
    107   dprintf(("BREAKPOINT %s %s", szFile, szFunction));
    108   _interrupt(3);
     110    dprintf(("BREAKPOINT %s %s %d", szFile, szFunction, iLine));
     111    _interrupt(3);
    109112}
    110   #define DebugInt3()   BreakPoint(__FILE__, __FUNCTION__)
    111113
    112114#else
Note: See TracChangeset for help on using the changeset viewer.