Skip to content

How to show the line number where an error occurred #565

Answered by MikeSchulze
joshuafolkken asked this question in Q&A
Discussion options

You must be logged in to vote

You need to run the tests in debug mode.
Godot do not provide a stack trace at runtime to grab the line number.
Check the GdUnit4 documentation https://mikeschulze.github.io/gdUnit4/testing/run-tests/

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@joshuafolkken
Comment options

Answer selected by MikeSchulze
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested clarified
2 participants