1792件ヒット
[1-100件を表示]
(0.026秒)
ライブラリ
- ビルトイン (710)
- debug (12)
- etc (192)
-
irb
/ context (24) -
irb
/ ext / tracer (36) -
irb
/ frame (12) - matrix (24)
-
minitest
/ unit (2) -
net
/ http (24) - objspace (48)
- optparse (24)
- rake (12)
-
rubygems
/ config _ file (36) - tracer (420)
-
webrick
/ httpresponse (12)
クラス
- Exception (36)
- Fiber (6)
-
Gem
:: ConfigFile (36) -
IRB
:: Context (60) -
IRB
:: Frame (12) - Matrix (24)
-
Net
:: HTTP (12) -
OptionParser
:: ParseError (24) -
Rake
:: Application (12) -
RubyVM
:: InstructionSequence (84) - Thread (72)
-
Thread
:: Backtrace :: Location (84) - TracePoint (248)
- Tracer (420)
-
WEBrick
:: HTTPResponse (12)
モジュール
- Etc (192)
- Kernel (144)
- MiniTest (1)
-
MiniTest
:: Assertions (1) - ObjectSpace (48)
- Process (12)
キーワード
-
DEFAULT
_ BACKTRACE (12) -
EVENT
_ SYMBOL (12) - Location (12)
-
SC
_ 2 _ PBS _ TRACK (12) -
SC
_ BC _ STRING _ MAX (12) -
SC
_ JOB _ CONTROL (12) -
SC
_ STREAM _ MAX (12) -
SC
_ THREAD _ ATTR _ STACKADDR (12) -
SC
_ THREAD _ ATTR _ STACKSIZE (12) -
SC
_ THREAD _ DESTRUCTOR _ ITERATIONS (12) -
SC
_ TRACE (12) -
SC
_ TRACE _ EVENT _ FILTER (12) -
SC
_ TRACE _ EVENT _ NAME _ MAX (12) -
SC
_ TRACE _ INHERIT (12) -
SC
_ TRACE _ LOG (12) -
SC
_ TRACE _ NAME _ MAX (12) -
SC
_ TRACE _ SYS _ MAX (12) -
SC
_ TRACE _ USER _ EVENT _ MAX (12) -
SC
_ XOPEN _ STREAMS (12) - Single (12)
- TracePoint (12)
- Tracer (12)
- WUNTRACED (12)
-
absolute
_ path (12) -
add
_ filter (36) -
add
_ trace _ func (12) -
allocation
_ sourcefile (12) -
back
_ trace _ limit (12) -
back
_ trace _ limit= (12) - backtrace (48)
- backtrace= (12)
-
backtrace
_ locations (36) -
base
_ label (12) - binding (12)
-
call
_ trace _ func (12) -
callee
_ id (12) - caller (36)
-
caller
_ locations (24) -
compile
_ option (12) -
compile
_ option= (12) - debug (12)
-
defined
_ class (12) - disable (24)
- disasm (24)
- disassemble (24)
-
display
_ c _ call (12) -
display
_ c _ call= (12) -
display
_ c _ call? (12) -
display
_ process _ id (12) -
display
_ process _ id= (12) -
display
_ process _ id? (12) -
display
_ thread _ id (12) -
display
_ thread _ id= (12) -
display
_ thread _ id? (12) - enable (24)
- enabled? (12)
-
eval
_ script (7) - event (12)
- fail (12)
-
filter
_ backtrace (13) -
get
_ backtrace (12) -
get
_ line (12) -
get
_ thread _ no (12) - inspect (24)
-
instruction
_ sequence (7) -
irb
/ ext / tracer (12) - label (12)
- lineno (24)
-
make
_ backtrace (12) -
method
_ id (12) - new (24)
- off (24)
- on (48)
- parameters (7)
- path (24)
- raise (30)
-
raised
_ exception (12) -
rb
_ backtrace (12) -
rb
_ f _ trace _ var (12) -
rb
_ f _ untrace _ var (12) -
rb
_ trace _ eval (12) -
remove
_ trace (12) -
return
_ value (12) -
ruby 1
. 9 feature (12) - self (12)
-
set
_ backtrace (36) -
set
_ error (12) -
set
_ get _ line _ procs (36) -
set
_ trace _ func (36) - skip (1)
- stat (11)
- stdout (24)
- stdout= (12)
-
stdout
_ mutex (12) -
to
_ a (12) -
to
_ s (12) - trace (36)
-
trace
_ en (12) -
trace
_ ev (12) -
trace
_ func (36) -
trace
_ object _ allocations (12) -
trace
_ object _ allocations _ start (12) -
trace
_ object _ allocations _ stop (12) -
trace
_ var (36) - tracer (12)
-
untrace
_ var (12) -
use
_ tracer (12) -
use
_ tracer= (12) -
use
_ tracer? (12) - verbose (12)
- verbose= (12)
- verbose? (12)
検索結果
先頭5件
-
static VALUE trace
_ ev(struct trace _ data *data) (32500.0) -
-
static VALUE trace
_ en(struct global _ variable *var) (32300.0) -
-
tracer (32006.0)
-
実行トレース出力をとる機能を提供します。
...ruby -rtracer hoge.rb
もうひとつはソースからrequireする方法です。
require 'tracer'
とした後
Tracer.on
によりトレース出力を有効にします。
Tracer.off
によりトレース出力を無効にします。
また、ブロック付きで Tracer.on を......tracer'
class Hoge
def Hoge.fuga(i)
"fuga #{i}"
end
end
Tracer.add_filter {|event, file, line, id, binding, klass|
event =~ /line/ and klass.to_s =~ /hoge/i
}
Tracer.on
for i in 0..3
puts Hoge.fuga(i) if i % 3 == 0
end
Tracer.off
=== SEE ALSO
Kernel.#set_tr... -
Net
:: HTTP :: Trace (24016.0) -
HTTP の TRACE リクエストを表すクラスです。
...HTTP の TRACE リクエストを表すクラスです。... -
Matrix
# tr -> Integer | Float | Rational | Complex (21136.0) -
トレース (trace) を返します。
...トレース (trace) を返します。
行列のトレース (trace) とは、対角要素の和です。
//emlist[例][ruby]{
require 'matrix'
Matrix[[7,6], [3,9]].trace # => 16
//}
trace は正方行列でのみ定義されます。
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が... -
TracePoint
. trace(*events) {|obj| . . . } -> TracePoint (18419.0) -
新しい TracePoint オブジェクトを作成して自動的にトレースを開始し ます。TracePoint.new のコンビニエンスメソッドです。
...新しい TracePoint オブジェクトを作成して自動的にトレースを開始し
ます。TracePoint.new のコンビニエンスメソッドです。
@param events トレースするイベントを String か Symbol で任
意の数指定します。指定できる値に......ついては
TracePoint.new を参照してください。
//emlist[例][ruby]{
trace = TracePoint.trace(:call) { |tp| [tp.lineno, tp.event] }
# => #<TracePoint:0x007f786a452448>
trace.enabled? # => true
//}
@raise ThreadError ブロックを指定しなかった場合に発生し... -
Tracer
# trace _ func(event , file , line , id , binding , klass , *) -> object | nil (18201.0) -
@todo
@todo -
Tracer
. trace _ func(*vars) -> object | nil (18201.0) -
debug ライブラリの内部で使用します。
debug ライブラリの内部で使用します。 -
static VALUE set
_ trace _ func(VALUE obj , VALUE trace) (12416.0) -
Kernel#set_trace_func の実体。 評価器に対するフック手続きを登録します。
...Kernel#set_trace_func の実体。
評価器に対するフック手続きを登録します。...