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 TypeFeedbackVector 24define jfv 25print ((v8::internal::TypeFeedbackVector*)($arg0))->Print() 26end 27document jfv 28Print a v8 TypeFeedbackVector object 29Usage: jtv tagged_ptr 30end 31 32# Print DescriptorArray. 33define jda 34print ((v8::internal::DescriptorArray*)($arg0))->Print() 35end 36document jda 37Print a v8 DescriptorArray object 38Usage: jda tagged_ptr 39end 40 41# Print TransitionArray. 42define jta 43print ((v8::internal::TransitionArray*)($arg0))->Print() 44end 45document jta 46Print a v8 TransitionArray object 47Usage: jta tagged_ptr 48end 49 50# Print JavaScript stack trace. 51define jst 52print v8::internal::Isolate::Current()->PrintStack((FILE*) stdout, 1) 53end 54document jst 55Print the current JavaScript stack trace 56Usage: jst 57end 58 59set disassembly-flavor intel 60set disable-randomization off 61