Help with debug

RoarMan

Member
Reaction score
12
Now I'm mostly a GUI user dabbling in JASS here and there and I'm wondering what does debug do? I see it used in Systems, Snippets and such and it seems to work as a normal. Is there something that disables all debugs or rather anything that does with debug in specific?
 

Tru_Power22

You can change this now in User CP.
Reaction score
144
Now I'm mostly a GUI user dabbling in JASS here and there and I'm wondering what does debug do? I see it used in Systems, Snippets and such and it seems to work as a normal. Is there something that disables all debugs or rather anything that does with debug in specific?

Debugs just display a message, they do exactly as they sound, they're use for debugging programs.
 

Renendaru

(Evol)ution is nothing without love.
Reaction score
309
I think he means:

JASS:
 function Somefunction takes nothing returns nothing
    if integer == something then
        debug call BJDebugMsg("Error!")
        return 
    endif
endfunction


It's a line you can throw in to only be called in Debug mode, under Grimoire.
 

RoarMan

Member
Reaction score
12
Ah ok. I thought there was a trigger that could run a map with debug messages or without em.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top