<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
 <channel>
  <title>R-Forge Project: idbg -  News</title>
  <link>https://r-forge.r-project.org/news/?group_id=829</link>
  <description>R-Forge Project News of idbg</description>
  <language>en-us</language>
  <copyright>Copyright 2026 R-Forge</copyright>
  <webMaster>ronenk@users.r-forge.r-project.org (Ronen Kimchi)</webMaster>
  <lastBuildDate>Sun, 10 May 2026 09:38:36 GMT</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>R-Forge RSS generator</generator>
  <item>
   <title>How to use the idbg debugger</title>
   <link>https://r-forge.r-project.org/forum/forum.php?forum_id=2701</link>
   <description>1. source the debugger code&lt;br /&gt;
   source(&quot;idbg.R&quot;)&lt;br /&gt;
2. Set a breakpoint in the function to debug&lt;br /&gt;
   idbg.bp(&quot;foo&quot;)&lt;br /&gt;
3. Call the function&lt;br /&gt;
   foo(1,2,3)&lt;br /&gt;
4. The debugger will stop at the first line of foo&lt;br /&gt;
5. Use the following commands&lt;br /&gt;
&lt;br /&gt;
h - help. Print this message&lt;br /&gt;
n - next. Empty line is the same as 'n'&lt;br /&gt;
s - step. Step  into a function&lt;br /&gt;
o - out. Step out of a function&lt;br /&gt;
c - continue. Continue running&lt;br /&gt;
q - quit. Exit the debugger&lt;br /&gt;
b - print breakpoints &lt;br /&gt;
b &amp;lt;func_name&amp;gt; [FALSE] - set/unset a breakpoint in the first line of function&lt;br /&gt;
b &amp;lt;line_number&amp;gt; [FALSE] - set/unset a breakpoint in current function&lt;br /&gt;
b &amp;lt;func_name&amp;gt; &amp;lt;line_number&amp;gt; [FALSE] - set/unset a breakpoint in function at line_number&lt;br /&gt;
w - where. Print the stack&lt;br /&gt;
u - up. Go up the stack&lt;br /&gt;
d - down. Go down the stack&lt;br /&gt;
l [nlines] - list. Print nlines of source before and after current position&lt;br /&gt;
l [nlines_back] [n_lines_forward] - list. Print source around current position&lt;br /&gt;
x expr - execute.  Evaluate expr. Any expression that doesn't match the above options will also be executed&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Enjoy,&lt;br /&gt;
Ronen&lt;br /&gt;
</description>
   <author>ronenk@users.r-forge.r-project.org (Ronen Kimchi)</author>
   <pubDate>Mon, 12 Jul 2010 20:44:35 GMT</pubDate>
   <guid>https://r-forge.r-project.org/forum/forum.php?forum_id=2701</guid>
   <comments>https://r-forge.r-project.org/forum/forum.php?forum_id=2701</comments>
  </item>
 </channel>
</rss>
