Skip to content

automagic debug binding #32

@bryanturley

Description

@bryanturley

Not really an issue, just another idea dump.
I have found this debug binding to be very useful, you guys may want to implement something similar.

https://github.com/bryanturley/gl/blob/master/dbg/gl.go#L31

It doesn't do any asm/cgo directly it calls the first binding so that it can be mixed with things that don't use it.
That was a first attempt, I need to make changes lower to make it generate better debug information.
Took me about 30minutes to add it, all the heavy lifting is already done since you are generating funcs already.
This style of debug package could replace the need for things like
https://code.google.com/p/glintercept/

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions