<html>
<head>
<base href="https://wiki.asterisk.org/wiki">
<link rel="stylesheet" href="/wiki/s/en/2160/1/7/_/styles/combined.css?spaceKey=AST&forWysiwyg=true" type="text/css">
</head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
<h2><a href="https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace?focusedCommentId=17203346#comment-17203346">Getting a Backtrace</a></h2>
<h4>Page
<b>comment added</b> by <a href="https://wiki.asterisk.org/wiki/display/~mdavenport">Malcolm Davenport</a>
</h4>
<br/>
<div class="notificationGreySide">
<p>Or, to run an interactive session of gdb with Asterisk, you can do:</p>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>gdb /usr/sbin/asterisk
(gdb) set args -vvvgc
(gdb) run
</pre>
</div></div>
<p>and you'll find yourself in the Asterisk CLI.</p>
</div>
<div id="commentsSection" class="wiki-content pageSection">
<div style="float: right;" class="grey">
<a href="https://wiki.asterisk.org/wiki/users/removespacenotification.action?spaceKey=AST">Stop watching space</a>
<span style="padding: 0px 5px;">|</span>
<a href="https://wiki.asterisk.org/wiki/users/editmyemailsettings.action">Change email notification preferences</a>
</div>
<a href="https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace?focusedCommentId=17203346#comment-17203346">View Online</a>
|
<a id="reply-17203346" href="https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace?replyToComment=17203346#comment-17203346">Reply To This</a>
</div>
</div>
</div>
</div>
</div>
</body>
</html>