Skip to content

Missing debug information when stepping into V8 code #102

@stroiman

Description

@stroiman

I tried compiling a local version with debug following the instructions in the readme.

But while I would get proper debug information in the v8go C++ code, I didn't get that when calling into V8 C++ code. When inspecting a v8go function in the callstack

Image

But here, it's called into V8

Image

So there is some information as comments in the assembly view - which could somewhat be used to identify the rough location. It also shows the name of the function being called.

This is observed on Apple silicon, with M2 max.

I can confirm that the ldflags=-compressdwarf=false option has an effect, without it the v8go C++ code didn't have proper debug info either. I'm mentioning this as the readme file says "You may need to". So at least on this platform, it is still a necessity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions