Wiki

Changes between Version 2 and Version 3 of StackOverflow

Show
Ignore:
Timestamp:
11/06/10 05:48:05 (14 years ago)
Author:
Chuck
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • StackOverflow

    v2 v3  
    1010}}} 
    1111 
    12 On DotNet, a !StackOverflowException will be produced. However, on NovellMono, the program will simply crash with some systems reporting a SIGSEGV and others displaying no additional output of any type. This behavior of the NovellMono VirtualMachine is out of control of the Cobra project, however, the Cobra compiler can add additional code generation to track stackframes and then complain if they reach an upper limit. This is invoked with the DetailedStackTrace option like so: 
     12On DotNet, a !StackOverflowException will be produced, but with no stackframes. On NovellMono, the program will simply crash with some systems reporting a SIGSEGV and others displaying no additional output of any type. The behavior of the [VirtualMachine virtual machines] is out of control of the Cobra project, however, the Cobra compiler can add additional code generation to track stackframes and then complain if they reach an upper limit. This is invoked with the DetailedStackTrace option like so: 
    1313 
    1414{{{ 
     
    4141}}} 
    4242 
     43There is a performance overhead, so this option is generally only used for troubleshooting. 
     44 
    4345See also: DetailedStackTrace