Which integrated development environment is best for eggdrop? I tested already all ides and debuggers for tcl. But no ide and no debugger integrates well into eggdrop. To develop/debug on remote shell would be awesome, but for a local installed win/eggdrop it would be fine as well.
None of the debuggers worked for eggdrop related things... Just plain tcl.
Debug? can you give me more information please. I dont know if this is relivant or not but the debug stuff is available from eggdrop its self. This is an example of the .debug command from eggdrop cvs version.
.debug
[08:21] #Kanon# debug
File 'language.c' accounted for 17915/17915 (ok)
File 'chanprog.c' accounted for 294/294 (ok)
File 'misc.c ' accounted for 84766/84766 (ok)
File 'userrec.c ' accounted for 3712/3712 (ok)
File 'net.c ' accounted for 0/0 (ok)
File 'dccutil.c ' accounted for 21164/21164 (ok)
File 'botnet.c ' accounted for 2200/2200 (ok)
File 'tcl.c ' accounted for 4937/4937 (ok)
File 'tclhash.c ' accounted for 25408/25408 (ok)
File 'tclmisc.c ' accounted for 194/194 (ok)
File 'modules.c ' accounted for 894/894 (ok)
File 'tcldcc.c ' accounted for 12/12 (ok)
File 'dns.c ' accounted for 0/0 (ok)
Module 'wire ' accounted for 0/0 (ok)
Module 'console ' accounted for 0/0 (ok)
Module 'notes ' accounted for 0/0 (ok)
Module 'irc ' accounted for 0/0 (ok)
Module 'ctcp ' accounted for 0/0 (ok)
Module 'server ' accounted for 73/73 (ok)
Module 'channels ' accounted for 30250/30250 (ok)
Module 'dns ' accounted for 48/48 (ok)
Module 'uptime ' accounted for 0/0 (ok)
Module 'encryption' accounted for 12552/12552 (ok)
Module 'eggdrop ' accounted for 0/0 (ok)
--- End of debug memory list.
Open sockets: 3 (listen), 4 (passed on), 7, 12, done.
As for which operating system is best, i would think linux/NIX* type os are supported with debug as windows/cygwin versions use --strip.
A debugger is a very productive programing tool. After you have code with no syntax errors and maybe some program errors you can walk thought your code. Command for command, you will see how the computer will process.
There are also a lot debuggers for tcl. But all I have tested only work with pure tcl (tclsh). If tcl is embedded as script language in some program (like eggdrop) I don`t know a way to debug. Thats why I posted here.
I see. Thank You. I really dont think something like this has been developed, the best thing i could recommend is if you want to test these debugers for eggdrop tcl scripts. Write tclsh scripts that will 'mimic' eggdrops built-in tcl commands. You can see a list of them in the docs folder named tcl-commands.doc. Also i guess you could use the .tcl command, as this would probably show everything like that as well .set errorInfo, so there are alternatives' if your willing to compromise.