Ignore:
Timestamp:
Feb 24, 2013, 6:29:27 PM (7 years ago)
Author:
sam
Message:

base: on Linux and some other architectures, dump a stack trace before
crashing from an assertion failure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lol/base/assert.h

    r2409 r2479  
    3434#endif
    3535}
     36
     37extern void DumpStack();
    3638
    3739#define LOL_CALL(macro, args) macro args
     
    116118                                                  (__VA_ARGS__))), \
    117119                     (__VA_ARGS__)); \
     120            DumpStack(); \
    118121            DebugBreak(); \
    119122            Abort(); \
Note: See TracChangeset for help on using the changeset viewer.