Compiling with debug mode on

These are old archives. They are kept for historic purposes only.
Post Reply
Simon468

Compiling with debug mode on

Post by Simon468 »

I have been trying to compile an UnrealIRCd 3.2.3 server with debug mode enabled. I have set DEBUGMODE and DEBUG to defined in config.h and remade in both a Linux build and a windows build. Both servers work fine but do not output any logging. I have set the debug level to 10 which should give me "insane amounts" of logging. For some reason all that ever happens is that it creates the log file but then only puts in a single line that describes things such as the level of logging. Please let me know if there is some trick that I am missing.
Suchiara
Posts: 64
Joined: Fri May 20, 2005 2:37 pm

Post by Suchiara »

no. debug mode in unreal is completely useless, just a waste of code. Tried to play with it last year -- the samo, no success..
Syzop
UnrealIRCd head coder
Posts: 2179
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop »

that's good, because it really isn't meant as a toy.

For starters, it causes a severe slowdown.
Example: when I joined 2000 clones to a channel it took 32 seconds and I was like "wtf", then I noticed I had debugmode still on and disabled it, then it took 2 seconds.
Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post by Jason »

Out of curiosity though, how would you get the debug info?
Why the hell can't my signature be empty?
"Your message contains too few characters."
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

Isn't there a third const starting with 'e' or something? I noticed that with it defined Unreal sent a notice about experimental server software, so maybe that's it.
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Post Reply