Hi. I think you couldn't see local variables of 'FullCodeGenerator::Generate' since you are in different function context.
You set break point at 'FullCodeGenerator::Generate' and then proceeded program with 's' command. This results in function call and you might be at ''FullCodeGenrator::isolate' which doesn't have "info" as local variable. Have you ever checked backtrace? When I followed your instruction, I get following backtrace. #0 v8::internal::FullCodeGenerator::isolate (this=0x7fffffffbe28) at .././src/full-codegen/full-codegen.h:703 #1 0x00000000014756e7 in v8::internal::FullCodeGenerator::Generate (this=0x7fffffffbe28) at ../src/full-codegen/x64/full-codegen-x64.cc:94 #2 0x0000000001078096 in v8::internal::FullCodeGenerator::MakeCode (info=0x7fffffffc478) at ../src/full-codegen/full-codegen.cc:51 #3 0x0000000000ecc9cc in v8::internal::GenerateBaselineCode (info=0x7fffffffc478) at ../src/compiler.cc:790 #4 0x0000000000ed5636 in v8::internal::CompileBaselineCode (info=0x7fffffffc478) at ../src/compiler.cc:804 Thanks. 2016년 3월 3일 목요일 오후 5시 40분 21초 UTC+9, [email protected] 님의 말: > > Hi guys. > > I compile v8 with next command: > $ x64.debug debugsymbols=on disassembler=on gdbjit=on console=readline > > then I want to setup a breakpoint on v8::internal::FullCodeGenerator:: > Generate() in gdb > I do next steps > $ gdb ./out/x64.debug/d8 > $ break v8::internal::FullCodeGenerator::Generate() > > and everythink is ok, and then I run d8 with some small js script > > $ r ../test.js > > and I stop on this line > > CompilationInfo* info = info_; > > $ s > $ s > > And here I want to see what is value of local variable info > I'm typing > > $ p info > > And I'm receiving: > > No symbol "info" in current context. > > It's my mistake or somebody has the same issues? > > It looks like v8 build system calls strip on final executable... > -- -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
