Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

A Debbuging Script

is it possible or is there any script capable of logging the methods called by some specific class??
the problem is that I'm having a random "RGSS2 Player stopped working" error using Me's tilemap script... (Must say I also have my own rewrite of window class but it is working perfectly well).
I wanted to know what was the last method called before the crash, it might not be the method itself (because it works sometimes and other times doesn't) but it might be the way it is implemented, because when I use rth's tilemap it works good despite the low framerate (I'm using RGSS2 + RMXP).
Thank you very much in advance! :)
 
On crash, the Player gives you an output of the reason for the error, and also directs you to the location of that error the next time you open the Script Editor. You should be able to address all error-closed bugs (it won't work for errors that directly shut down the window, aka don't let the program do the error output) that way.

If that doesn't help, the Script Snippets thread has a few valueable things for your purpose on page 2, starting from where I linked you to.
 
no!! RGSS doesn't tell me where the error is! (I rewrote the entire window class from scratch, I know the basucs and the intermediates) the error is something like a more windows "your program stop responding" thing and less a "in line XXX, no method found" error. I'll see what it has there, but more help is always good, keep giving some ideias, please.

Thanks in advance
 

Zeriab

Sponsor

I have only had 'stop working' errors whenever something outside of Ruby crashed like a dll call doing an illegal operation.
I unfortunately don't know a debugging script which does what you ask.
I suggest checking any Win32API calls.

*hugs*
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top