<?xml version="1.0" encoding="UTF-8"?>
<article>
  <body>&lt;html&gt;
&lt;p&gt;&lt;small&gt;This article was migrated from http://rails.office.drecom.jp/takiuchi/archive/65&lt;/small&gt;&lt;/p&gt;
      &lt;p&gt;
Rails&#12467;&#12450;&#65288;RailTies&#65289;&#12395;&#23550;&#12377;&#12427;&lt;code&gt;./script/breakpointer&lt;/code&gt;&#27231;&#33021;&#25313;&#24373;&#12497;&#12483;&#12481;&#12364;&#25505;&#29992;&#12373;&#12428;&#12414;&#12375;&#12383;&#12290;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&quot;http://dev.rubyonrails.org/ticket/5476&quot;&gt;
[PATCH] Methods for displaying source list and call stack in breakpoint command bundle.
&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&quot;http://dev.rubyonrails.org/changeset/4545&quot;&gt;
Changeset 4545
&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&#12371;&#12428;&#12395;&#12424;&#12387;&#12390;&#12289;&#12502;&#12524;&#12540;&#12463;&#12509;&#12452;&#12531;&#12488;&#21040;&#36948;&#26178;&#12395;&#12371;&#12435;&#12394;&#20107;&#12364;&#12391;&#12365;&#12427;&#12424;&#12358;&#12395;&#12394;&#12426;&#12414;&#12377;&#12290;
ruby&gt;&gt;
irb(#&lt;topcontroller:0x40822a68&gt;):002:0&gt; show_source_list
0001  class TopController &lt; ApplicationController
0002    def show
0003-&gt;    breakpoint
0004    end
0005    
0006    def index
0007    end
0008    
=&gt; &quot;/path/to/rails/root/app/controllers/top_controller.rb&quot;
irb(#&lt;/topcontroller:0x40822a68&gt;&lt;topcontroller:0x40822a68&gt;):004:0&gt; show_call_stack 3
vendor/rails/railties/lib/breakpoint.rb:536:in `breakpoint'
vendor/rails/railties/lib/breakpoint.rb:536:in `breakpoint'
app/controllers/top_controller.rb:3:in `show'
=&gt; &quot;/path/to/rails/root/app/controllers/top_controller.rb:3&quot;
&lt;/topcontroller:0x40822a68&gt;
&lt;&lt;--

&#12502;&#12524;&#12540;&#12463;&#12509;&#12452;&#12531;&#12488;&#21608;&#36794;&#12398;&#12477;&#12540;&#12473;&#12522;&#12473;&#12488;&#12398;&#34920;&#31034;&#12392;&#12289;&#12467;&#12540;&#12523;&#12473;&#12479;&#12483;&#12463;&#12398;&#34920;&#31034;&#12391;&#12377;&#12290;
&lt;code&gt;show_source_list&lt;/code&gt;&#12398;&#26041;&#12399;&#12289;&#24341;&#25968;&#12395;&#34892;&#25968;&#12434;&#25351;&#23450;&#12377;&#12427;&#20107;&#12391;&#12289;&#34920;&#31034;&#12377;&#12427;&#12477;&#12540;&#12473;&#12522;&#12473;&#12488;&#12398;
&#31684;&#22258;&#12434;&#22793;&#12360;&#12427;&#12371;&#12392;&#12364;&#12391;&#12365;&#12414;&#12377;&#12290;
&lt;/p&gt;
&lt;p&gt;
&#12354;&#12392;&#12399;&#12473;&#12486;&#12483;&#12503;&#23455;&#34892;&#12364;&#12391;&#12365;&#12427;&#12424;&#12358;&#12395;&#12394;&#12428;&#12400;&#12289;&#26222;&#36890;&#12398;&#12487;&#12496;&#12483;&#12460;&#12393;&#21516;&#31561;&#12398;&#20107;&#12364;&#12391;&#12365;&#12427;&#12424;&#12358;&#12395;&#12394;&#12426;&#12381;&#12358;&#12391;&#12377;&#12397;&#12290;
&lt;/p&gt;
&lt;html&gt;
    &lt;div class=&quot;clear&quot;&gt;&lt;/div&gt;
    
      &lt;a id=&quot;BlogEntryExtend&quot;&gt;&lt;/a&gt;
      &lt;span id=&quot;extended-text&quot;&gt;&lt;/span&gt;
    &lt;div class=&quot;clear&quot;&gt;&lt;/div&gt;
    &lt;p&gt;&lt;small&gt;This article was migrated from http://rails.office.drecom.jp/takiuchi/archive/65&lt;/small&gt;&lt;/p&gt;
&lt;/html&gt;</body>
  <cached-tag-list></cached-tag-list>
  <comments-count type="integer">0</comments-count>
  <created-at type="datetime">2006-07-10T01:10:00+00:00</created-at>
  <daily-archive-id type="integer">89</daily-archive-id>
  <filter-type>blue_stole</filter-type>
  <id type="integer">40</id>
  <monthly-archive-id type="integer">9</monthly-archive-id>
  <pdf-digest nil="true"></pdf-digest>
  <permalink>/takiuchi/archive/65</permalink>
  <published-at type="datetime">2006-07-10T01:10:00+00:00</published-at>
  <secret>65ba70dc-408f-4580-91d6-2c6592cf487d</secret>
  <title>./script/breakpointer&#27231;&#33021;&#25313;&#24373;&#12497;&#12483;&#12481;&#12364;&#25505;&#29992;&#12373;&#12428;&#12414;&#12375;&#12383;</title>
  <updated-at type="datetime">2008-07-11T22:23:03+00:00</updated-at>
  <user-id type="integer">1</user-id>
</article>
