• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

JASS - Is there a way to display the call stack ?

Status
Not open for further replies.
Hello,

Is there a way to display the call stack from JASS ? To know what functions/triggers are at the origin of the code execution ?

It would be very usefull for desync debugging, if I could print the call stack in my hook functions :)

You can use JassSpy with 1.26 or the experimental debugger on 1.28.5.

As for the current patch, you might be able to implement a stack trace with Lua but it's not possible in JASS without hacking the game client or hooking every single function in your map.
 
Status
Not open for further replies.
Top