summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaroline Tice <ctice@apple.com>2011-06-15 16:37:40 +0000
committerCaroline Tice <ctice@apple.com>2011-06-15 16:37:40 +0000
commit8f7eb81bf617a19bd7b33b241564dd91957eeee1 (patch)
treebbbc498a920e5bcc14fb4006e3c0abc6fe5eb826
parent39c0272f6515ab4e783afae9702b6f40f3e20797 (diff)
downloadbcm5719-llvm-8f7eb81bf617a19bd7b33b241564dd91957eeee1.tar.gz
bcm5719-llvm-8f7eb81bf617a19bd7b33b241564dd91957eeee1.zip
Add an introduction to the scripting example web page.
llvm-svn: 133061
-rwxr-xr-xlldb/www/scripting.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/lldb/www/scripting.html b/lldb/www/scripting.html
index fb7dc573a79..dfd858abdfb 100755
--- a/lldb/www/scripting.html
+++ b/lldb/www/scripting.html
@@ -16,6 +16,22 @@
<!--#include virtual="sidebar.incl"-->
<div id="middle">
<div class="post">
+ <h1 class ="postheader">Introduction</h1>
+ <div class="postcontent">
+
+ <p>LLDB has been structured from the beginning to be scriptable in two ways
+ -- a Unix Python session can initiate/run a debug session non-interactively
+ using LLDB; and within the LLDB debugger tool, Python scripts can be used to
+ help with many tasks, including inspecting program data, iterating over
+ containers and determining if a breakpoint should stop execution or continue.
+ This document will show how to do some of these things by going through an
+ example, explaining how to use Python scripting to find a bug in a program
+ that searches for text in a large binary tree.</p>
+
+ </div>
+ <div class="postfooter"></div>
+
+ <div class="post">
<h1 class ="postheader">The Test Program and Input</h1>
<div class="postcontent">
OpenPOWER on IntegriCloud