Disallow null references in safe code?

Walter Bright newshound2 at digitalmars.com
Mon Feb 3 00:56:05 PST 2014


On 2/3/2014 12:00 AM, Uranuz wrote:
> At the current state OS send SEGFAULT message and I can't
> even get some info where is the source of problem.

1. Compile with symbolic debug info on (-g switch)

2. Run under a debugger, such as gdb

3. When it seg faults, type:

    bt

and it will give you a "backtrace", i.e. where it faulted, and the functions 
that are on the stack.


More information about the Digitalmars-d mailing list