<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Breakpoints</title><link>https://sourceforge.net/p/ruby-debugger-runtime/wiki/Breakpoints/</link><description>Recent changes to Breakpoints</description><atom:link href="https://sourceforge.net/p/ruby-debugger-runtime/wiki/Breakpoints/feed" rel="self"/><language>en</language><lastBuildDate>Wed, 11 Mar 2015 21:28:28 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/ruby-debugger-runtime/wiki/Breakpoints/feed" rel="self" type="application/rss+xml"/><item><title>Breakpoints modified by Rocky Bernstein</title><link>https://sourceforge.net/p/ruby-debugger-runtime/wiki/Breakpoints/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This runtime has support to make setting debugger breakpoint handling fast.&lt;/p&gt;
&lt;div class="toc"&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="#brkpt_alloc-bool"&gt;#brkpt_alloc() -&amp;gt; bool&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#brkpt_dealloc-bool"&gt;#brkpt_dealloc() -&amp;gt; bool&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#brkpt_getiseq-offset-bool"&gt;#brkpt_get(iseq, offset) -&amp;gt; bool&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#brkpt_set"&gt;#brkpt_set()&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#brkpt_getiseq-offset-bool_1"&gt;#brkpt_get(iseq, offset) -&amp;gt; bool&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#brkpt_unset"&gt;#brkpt_unset()&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#brkpts-array"&gt;#brkpts() -&amp;gt; Array&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;h2 id="brkpt_alloc-bool"&gt;#brkpt_alloc() -&amp;gt; bool&lt;/h2&gt;
&lt;p&gt;Allocates a breakpoint byte vector of zeros for each&lt;br /&gt;
instruction in the instruction sequence. &lt;em&gt;true&lt;/em&gt; is returned if&lt;br /&gt;
vector was allocated, &lt;em&gt;false&lt;/em&gt; if there already was one allocated,&lt;br /&gt;
and &lt;em&gt;ni&lt;/em&gt;l if there was some problem.&lt;/p&gt;
&lt;h2 id="brkpt_dealloc-bool"&gt;#brkpt_dealloc() -&amp;gt; bool&lt;/h2&gt;
&lt;p&gt;Deallocates a previously allocated breakpoint byte vector in the&lt;br /&gt;
instruction sequence. &lt;em&gt;true&lt;/em&gt; is returned if vector was allocated and now free&lt;br /&gt;
false if there breakpoints had been allocated, and &lt;em&gt;nil&lt;/em&gt; if there was&lt;br /&gt;
some problem.&lt;/p&gt;
&lt;h2 id="brkpt_getiseq-offset-bool"&gt;#brkpt_get(iseq, offset) -&amp;gt; bool&lt;/h2&gt;
&lt;p&gt;Test if a breakpoint is set in the instruction sequence at &lt;em&gt;offset&lt;/em&gt;.&lt;br /&gt;
&lt;em&gt;true&lt;/em&gt; is returned if there is a breakpoint previously set, &lt;em&gt;false&lt;/em&gt;&lt;br /&gt;
if not, and &lt;em&gt;nil&lt;/em&gt; if there was some problem.&lt;/p&gt;
&lt;h2 id="brkpt_set"&gt;#brkpt_set()&lt;/h2&gt;
&lt;h2 id="brkpt_getiseq-offset-bool_1"&gt;#brkpt_get(iseq, offset) -&amp;gt; bool&lt;/h2&gt;
&lt;p&gt;Set a breakpoint is the instruction sequence at &lt;em&gt;offset&lt;/em&gt;.&lt;br /&gt;
&lt;em&gt;true&lt;/em&gt; is returned the breakpoint was set successfully, &lt;em&gt;false&lt;/em&gt;&lt;br /&gt;
if not, and &lt;em&gt;nil&lt;/em&gt; if there was some problem.&lt;/p&gt;
&lt;h2 id="brkpt_unset"&gt;#brkpt_unset()&lt;/h2&gt;
&lt;p&gt;Unset a breakpoint is the instruction sequence at &lt;em&gt;offset&lt;/em&gt;.&lt;br /&gt;
&lt;em&gt;true&lt;/em&gt; is returned the breakpoint was unset successfully, &lt;em&gt;false&lt;/em&gt;&lt;br /&gt;
if not, and &lt;em&gt;nil&lt;/em&gt; if there was some problem.&lt;/p&gt;
&lt;h2 id="brkpts-array"&gt;#brkpts() -&amp;gt; Array&lt;/h2&gt;
&lt;p&gt;Returns a list of breakpoints in effect for this instruction sequence.&lt;br /&gt;
If no breakpoints have been allocated &lt;em&gt;nil&lt;/em&gt; is returned. If breakpoints&lt;br /&gt;
were allocated but none are set then the empty array is returned.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rocky Bernstein</dc:creator><pubDate>Wed, 11 Mar 2015 21:28:28 -0000</pubDate><guid>https://sourceforge.netb9929f7ae7cde62d5bb48485535902bb8782a255</guid></item></channel></rss>