るりまサーチ

最速Rubyリファレンスマニュアル検索!
48件ヒット [1-48件を表示] (0.017秒)
トップページ > クエリ:Range[x] > クエリ:backtrace_locations[x]

別のキーワード

  1. _builtin backtrace_locations
  2. thread backtrace_locations
  3. _builtin backtrace
  4. exception backtrace_locations
  5. thread backtrace

ライブラリ

クラス

キーワード

検索結果

Thread#backtrace_locations(range) -> [Thread::Backtrace::Location] | nil (18221.0)

スレッドの現在のバックトレースを Thread::Backtrace::Location の配 列で返します。

...ムの位置を数値で指定します。

@param length 取得するフレームの個数を指定します。

@param range 取得したいフレームの範囲を示す Range オブジェクトを指定します。

Kernel.#caller_locations と似ていますが、本メソッドは self に限...

Thread#backtrace_locations(start = 0, length = nil) -> [Thread::Backtrace::Location] | nil (18121.0)

スレッドの現在のバックトレースを Thread::Backtrace::Location の配 列で返します。

...ムの位置を数値で指定します。

@param length 取得するフレームの個数を指定します。

@param range 取得したいフレームの範囲を示す Range オブジェクトを指定します。

Kernel.#caller_locations と似ていますが、本メソッドは self に限...

NEWS for Ruby 2.0.0 (36.0)

NEWS for Ruby 2.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...uffle! と Array#sample の random パラメータには最大値のみを指定することが可能になりました
* Array#values_at に Range オブジェクトを与えた場合、配列の範囲外のインデックスについては nil を返します

* Enumerable
* 追加: En...
...#eql? を削除。

* Process
* 追加: Process#getsid session id を取得します(unix のみ)。

* Range
* 追加: Range#size サイズの遅延評価
* 追加: Range#bsearch 二分探索

* RubyVM (MRI specific)
* 追加: RubyVM::InstructionSequence.of to get the instruc...
...ling of exceptions
* 追加: Thread#backtrace_locations Kernel#caller_locations に似た情報を返します
* 新規クラス: Thread::Backtrace::Location to hold backtrace location
information. These are returned by Thread#backtrace_locations and
Kernel#caller_locations
*...

NEWS for Ruby 3.0.0 (12.0)

NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...non-blocking execution contexts. 16786
* Fiber#blocking? tells whether the fiber is non-blocking. 16786
* Fiber#backtrace and Fiber#backtrace_locations provide per-fiber backtrace. 16815
* The limitation of Fiber#transfer is relaxed. 17221
* GC
* GC.auto_compact= and GC.auto_compa...
...to StringScanner 3.0.0
* This version is Ractor compatible.

== Compatibility issues

Excluding feature bug fixes.

* Regexp literals and all Range objects are frozen. 8948 16377 15504

//emlist[][ruby]{
/foo/.frozen? #=> true
(42...).frozen? # => true
//}

* EXPERIMENTAL: Hash#each consiste...

Ruby用語集 (12.0)

Ruby用語集 A B C D E F G I J M N O R S Y

...ブジェクトは例外が発生した時点までのスタックトレースを保持しており、
Exception#backtrace や Exception#backtrace_locations
取り出すことができる。

: スーパークラス
: superclass
クラス B がクラス A のサブクラスであるとき...
...ーを明示して
呼び出すなど、構文上、メソッド名であることが明らかな場面では使える場合もある。
実際 Range クラスには begin、end というインスタンスメソッドが定義されている。
また、インスタンス変数、クラス変...

絞り込み条件を変える