1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../../../css/manpage.css" type="text/css" /> 7 <style type="text/css"><!-- 8 span.static_style 9 { 10 font-size : 8pt; 11 color : white; 12 font-weight : bold; 13 background : #44f; 14 border-left : solid 1px #aaf; 15 border-top : solid 1px #aaf; 16 border-right : solid 1px #00c; 17 border-bottom : solid 1px #00c; 18 padding-left : 2px; 19 padding-right : 2px; 20 } 21 22 span.virtual_style 23 { 24 font-size : 8pt; 25 color : white; 26 font-weight : bold; 27 background : #0a0; 28 border-left : solid 1px #0f0; 29 border-top : solid 1px #0f0; 30 border-right : solid 1px #060; 31 border-bottom : solid 1px #060; 32 padding-left : 2px; 33 padding-right : 2px; 34 } 35 36 span.protected_style 37 { 38 font-size : 8pt; 39 color : white; 40 font-weight : bold; 41 background : #444; 42 border-left : solid 1px #ccc; 43 border-top : solid 1px #ccc; 44 border-right : solid 1px #222; 45 border-bottom : solid 1px #222; 46 padding-left : 2px; 47 padding-right : 2px; 48 } 49 --></style> 50<title>nn::dbg::CTR::ExceptionScreen</title> 51 </head> 52 <body> 53<h1><CODE><a href="../../../../nn/Overview.html">nn</a>::<a href="../../../../nn/dbg/Overview.html">dbg</a>::<a href="../../../../nn/dbg/CTR/Overview.html">CTR</a>::ExceptionScreen</CODE> Class</h1> 54 <div class="section"> 55<b>Header file: </b>nn/dbg.h</div> 56<h2>Syntax</h2> 57 <div class="section"> 58 <pre class="definition">class ExceptionScreen</pre> 59 </div> 60<h2>Description</h2> 61 <div class="section"> 62<p>Class for displaying when there are CPU exceptions.</p><p>・ Displays messages to the screen using <a href="../../../../nn/dbg/CTR/DirectPrint/Overview.html"><CODE>DirectPrint</CODE></a> when exceptions occur.<br />・ If the message cannot fit on the screen, it is scrolled automatically so it is displayed in its entirety.<br />・ After the auto-scrolling has ended, you can use Up/Down on the +Control Pad to scroll the screen.<br /></p><p>This class provides an easy way of parsing stack traces. Note that addresses that are not function calls might be included in the display.</p><p>We recommend use with <a href="../../../../nn/os/ManagedThread/Overview.html"><CODE>nn::os::ManagedThread</CODE></a>.<a href="../../../../nn/os/ManagedThread/Overview.html">If an exception comes about on a thread that is not <a href="../../../../nn/os/ManagedThread/Overview.html"><CODE>nn::os::ManagedThread</CODE></a>, <a href="../../../../nn/dbg/CTR/ExceptionScreen/Overview.html">ExceptionScreen</a> moves toward the base of the stack from the location where the exception was generated and parses the stack in the 16 KB range. If the range at this time has exceeded the valid memory region, there might be an abort.</p><!-- write here --></div> 63 <a name="enum" id="enum"> 64<h2>Enumerated Types</h2> 65 <div class="section"> 66 <table class="members"> 67 <tr> 68 <td width="100"> </td> 69 <th> 70<a href="../../../../nn/dbg/CTR/ExceptionScreen/Option.html">Option</a> 71 </th> 72<td>Option flags used with <a href="../../../../nn/dbg/CTR/ExceptionScreen/Create.html"><CODE>Create</CODE></a>. Use a bitwise-OR to specify a combination.</td> 73 </tr> </table> 74 </div> 75 </a> <a name="function" id="function"> 76<h2>Member Functions</h2> 77 <div class="section"> 78 <table class="members"> 79 <tr> 80 <td width="100"> 81<span class="static_style" title="static">S</span> </td> 82 <th> 83<a href="../../../../nn/dbg/CTR/ExceptionScreen/Create.html">Create</a> 84 </th> 85<td>Generates <CODE><a href="../../../../nn/dbg/CTR/ExceptionScreen/Overview.html">ExceptionScreen</a></CODE> and registers to exception handler.</td> 86 </tr> 87 <tr> 88 <td width="100"> 89<span class="static_style" title="static">S</span> </td> 90 <th> 91<a href="../../../../nn/dbg/CTR/ExceptionScreen/GetDirectPrint.html">GetDirectPrint</a> 92 </th> 93<td>Gets an instance of the <CODE><a href="../../../../nn/dbg/CTR/DirectPrint/Overview.html">DirectPrint</a></CODE> class.</td> 94 </tr> 95 <tr> 96 <td width="100"> 97<span class="static_style" title="static">S</span> </td> 98 <th> 99<a href="../../../../nn/dbg/CTR/ExceptionScreen/SetBuildInfo.html">SetBuildInfo</a> 100 </th> 101<td>Sets information such as the build date and time and the revision number.</td> 102 </tr> 103 <tr> 104 <td width="100"> 105<span class="static_style" title="static">S</span> </td> 106 <th> 107<a href="../../../../nn/dbg/CTR/ExceptionScreen/SetSuffix.html">SetSuffix</a> 108 </th> 109<td>Sets suffix information.</td> 110 </tr> 111 <tr> 112 <td width="100"> 113<span class="static_style" title="static">S</span> </td> 114 <th> 115<a href="../../../../nn/dbg/CTR/ExceptionScreen/HandleException.html">HandleException</a> 116 </th> 117<td>Performs processing when there is an exception.</td> 118 </tr> 119 <tr> 120 <td width="100"> 121<span class="static_style" title="static">S</span> </td> 122 <th> 123<a href="../../../../nn/dbg/CTR/ExceptionScreen/PutBackTraceString.html">PutBackTraceString</a> 124 </th> 125<td>Generates a back-trace for the current thread.</td> 126 </tr> </table> 127 </div> 128 </a> 129<h2>Revision History</h2> 130 <div class="section"> 131 <dl class="history"> 132 <dt>2012/10/01</dt> 133<dd>Added a description concerning <CODE>ManagedThread</CODE>. <br /> 134 </dd> 135 <dt>2012/04/20</dt> 136<dd>Initial version.<br /> 137 </dd> 138 </dl> 139 </div> 140 <hr><p>CONFIDENTIAL</p></body> 141</html>