Skip to content
This repository has been archived by the owner on Jul 19, 2018. It is now read-only.

Providing stack trace in messages when validation is delayed #2641

Open
fduranleau-gl opened this issue May 4, 2018 · 3 comments
Open

Providing stack trace in messages when validation is delayed #2641

fduranleau-gl opened this issue May 4, 2018 · 3 comments
Milestone

Comments

@fduranleau-gl
Copy link
Contributor

We know that some validation can not be done immediately when recording a command (e.g. tracking image layout). So some of them are deferred at submission time. However, if we hit an error (or a warning) there, then we lose the context from where the offending command comes.

So, a nice (and non-intrusive) feature that would be very practical is if, for such deferred validation, information about the call stack could be saved (at record time) and displayed along with messages. This should be possible to implement at least on some platforms.

@mark-lunarg
Copy link
Collaborator

Thanks @fduranleau-gl!

@mark-lunarg mark-lunarg added this to the P2 milestone May 4, 2018
@chrisforbes
Copy link
Collaborator

chrisforbes commented May 8, 2018

This is a really neat idea, but likely expensive to do... 👍

@fduranleau-gl
Copy link
Contributor Author

There certainly is a cost. Maybe it could be an opt-in feature?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants