Changes between Version 4 and Version 5 of Getting-Started/Windows-Phone


Ignore:
Timestamp:
May 20, 2014 4:15:02 AM (10 years ago)
Author:
nanang
Comment:

Add info about assert problem on native debugging

Legend:

Unmodified
Added
Removed
Modified
  • Getting-Started/Windows-Phone

    v4 v5  
    5353   * Set the '''Debugger type''' of pjsua_wp project properties [Debug menu] to '''Managed Only'''. 
    5454 
     55=== Assert Problem on Debugging Native Code === 
     56 
     57As described [http://blogs.msdn.com/b/andypennell/archive/2013/06/17/native-code-on-windows-phone-8-the-assert-problem.aspx here], assertion will cause process exiting (instead of just stopping). Adding the following code in the application would make process stopping on assertion: 
     58{{{  
     59#ifndef NDEBUG    
     60signal(SIGABRT, [](int) 
     61{ 
     62   __debugbreak();   
     63});  
     64#endif 
     65}}} 
    5566 
    5667== Other References ==