egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

best ide / debugger for eggdrop (tcl)?

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
sKy
Op


Joined: 14 Apr 2005
Posts: 194
Location: Germany

PostPosted: Fri Jul 13, 2007 8:45 pm    Post subject: best ide / debugger for eggdrop (tcl)? Reply with quote

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.

Any advice?
_________________
socketapi | Code less, create more.
Back to top
View user's profile Send private message
TCL_no_TK
Owner


Joined: 25 Aug 2006
Posts: 509
Location: England, Yorkshire

PostPosted: Fri Aug 31, 2007 4:22 am    Post subject: Re: best ide / debugger for eggdrop (tcl)? Reply with quote

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.
Quote:
.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.
_________________
TCL the misunderstood
Back to top
View user's profile Send private message Send e-mail
sKy
Op


Joined: 14 Apr 2005
Posts: 194
Location: Germany

PostPosted: Sat Sep 01, 2007 10:02 pm    Post subject: Reply with quote

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.

http://en.wikipedia.org/wiki/Debugger
_________________
socketapi | Code less, create more.
Back to top
View user's profile Send private message
TCL_no_TK
Owner


Joined: 25 Aug 2006
Posts: 509
Location: England, Yorkshire

PostPosted: Sun Sep 02, 2007 3:47 am    Post subject: Re: best ide / debugger for eggdrop (tcl)? Reply with quote

I see. Thank You. Smile 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.
_________________
TCL the misunderstood
Back to top
View user's profile Send private message Send e-mail
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Sun Sep 02, 2007 7:11 am    Post subject: Reply with quote

This code by user should be useful. It lets you emulate tclsh in Eggdrop's partyline.
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber