Debug gtk3 application

Hi!
Could you advise me a way to debug a gtk3 application that goes in core dump?
System UBUNTU 20.04
Thank You