Skip to content

Incorrect source line number reported by $inspect() #15149

Description

@frederikhors

Describe the bug

In a big and complex Kit project when I use $inspect() the source line number suggested in browser's console is wrong.

I don't know if there is already an issue opened for this: I cannot find one.

Do you know if I can try something to see if it works?

Reproduction

I'll create a reproduction ASAP: is not easy.

Logs

System Info

"@sveltejs/adapter-static": "3.0.10",
"@sveltejs/kit": "2.49.4",
"@sveltejs/vite-plugin-svelte": "6.2.4",
"svelte": "5.46.1",

Severity

serious, but I can work around it

Additional Information

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions