1# Copyright 2014 the V8 project authors. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5# Print HeapObjects. 6define job 7print ((v8::internal::HeapObject*)($arg0))->Print() 8end 9document job 10Print a v8 JavaScript object 11Usage: job tagged_ptr 12end 13 14# Print Code objects containing given PC. 15define jco 16job (v8::internal::Isolate::Current()->FindCodeObject((v8::internal::Address)$arg0)) 17end 18document jco 19Print a v8 Code object from an internal code address 20Usage: jco pc 21end 22 23# Print JavaScript stack trace. 24define jst 25print v8::internal::Isolate::Current()->PrintStack(stdout) 26end 27document jst 28Print the current JavaScript stack trace 29Usage: jst 30end 31 32set disassembly-flavor intel 33set disable-randomization off 34