How to find the component causing crash with tag from error code on crash screen?

There is some bug which causes appgyver apps to crash when trying to make an element visible or invisible using variables. The error codes ( which are also shown to the end user - a horrible practice) give us a tag number for the component which cased the crash. How do we find that component???