View unanswered posts | View active topics It is currently Thu Dec 26, 2024 5:59 pm



Reply to topic  [ 10 posts ] 
 tCrmitC: A command line CC Lua Debugger 
Author Message
User avatar

Joined: Mon Apr 05, 2010 8:04 am
Posts: 149
Location: Under your bed
Reply with quote
Post tCrmitC: A command line CC Lua Debugger
I'm thinking of writing a small command line based Lua debugger. Kind of like the one that comes with the download on the Lua site, but with all of Cortex Command's stuff built in.
Edit (3/8/10) I've gotten the basic interface down, I just need to actually work in the custom Lua that is in CC.
Image
The screen that is shown upon execution.

Image
If you pressed 1...

Image
If you pressed 2...


Last edited by blargiefarg on Tue Mar 08, 2011 3:59 pm, edited 2 times in total.



Sun Mar 06, 2011 1:19 pm
Profile YIM
Data Realms Elite
Data Realms Elite
User avatar

Joined: Tue May 25, 2010 8:27 pm
Posts: 4521
Location: Constant motion
Reply with quote
Post Re: If I made this, how many people would use it?
I would like that very much. It's always rather irritating to be checking for console errors repeatedly, and I would love a way to smooth out the process.


Sun Mar 06, 2011 1:21 pm
Profile
User avatar

Joined: Mon Apr 05, 2010 8:04 am
Posts: 149
Location: Under your bed
Reply with quote
Post Re: If I made this, how many people would use it?
Great! I'll also release the source code, in case I miss something.


Sun Mar 06, 2011 1:23 pm
Profile YIM
User avatar

Joined: Fri Aug 20, 2010 4:45 am
Posts: 911
Location: No Comment.
Reply with quote
Post Re: If I made this, how many people would use it?
i would use this if it worked for the Scripting Code i uses, But other than that Great idea.


Sun Mar 06, 2011 3:35 pm
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post Re: If I made this, how many people would use it?
I'd use it, it sounds very useful.
Fixing errors faster is better.


Sun Mar 06, 2011 10:43 pm
Profile
User avatar

Joined: Mon Apr 05, 2010 8:04 am
Posts: 149
Location: Under your bed
Reply with quote
Post Re: If I made this, how many people would use it?
Thanks for all of the support, guys. I've made some progress, but there's still loads to go. I'm definitely realizing how annoying it must have been for Data to set up all of this Lua-C++ integration. Respect for Data +1. I'm also very glad that this isn't really something that you'd need a GUI for, since I can't make GUIs for ♥♥♥♥.

Edit: Ok, there's not much left to be done at this point, If anyone knows something about adding custom functions and such to C/C++ Programs, Would they point me in the right direction? I initially thought it would only be a matter of running a Lua script in the background the entire time that the program is open, and pulling the custom functions from there, but tis not so, sadly almost everything about Lua is in C, which I don't understand as well as C++.


Tue Mar 08, 2011 1:05 pm
Profile YIM

Joined: Sun Jul 04, 2010 6:14 pm
Posts: 37
Reply with quote
Post Re: tCrmitC: A command line CC Lua Debugger
what?
http://csl.sublevel3.org/lua/

integrating lua with any c-based language is a trivial matter and doesn't take much effort in the slightest, the difficult part is accurately exposing the engine to the scripting(something data only slightly did in the current build)

C is very similar to C++, post anything in C you don't understand and I'll show you the C++ representation of it?


Fri Mar 11, 2011 10:15 pm
Profile
User avatar

Joined: Mon Apr 05, 2010 8:04 am
Posts: 149
Location: Under your bed
Reply with quote
Post Re: tCrmitC: A command line CC Lua Debugger
That post is quite outdated, I've been without internet for some time, I've fixed all of the problems I was having earlier.


Mon Mar 14, 2011 6:06 pm
Profile YIM
User avatar

Joined: Mon Jun 28, 2010 10:06 pm
Posts: 461
Location: STEPPING INTO THE RING
Reply with quote
Post Re: tCrmitC: A command line CC Lua Debugger
I could use this since I am dabbling in Lua, it would make it easier to tell if stuff would actually work.


Tue Mar 29, 2011 10:41 pm
Profile
User avatar

Joined: Mon Apr 05, 2010 8:04 am
Posts: 149
Location: Under your bed
Reply with quote
Post Re: tCrmitC: A command line CC Lua Debugger
It should be useful, however, don't take it as the final say, since I've made scripts that have had absolutely zero errors, and yet yielded no results within the actual engine.


Mon Apr 04, 2011 5:55 pm
Profile YIM
Display posts from previous:  Sort by  
Reply to topic   [ 10 posts ] 

Who is online

Users browsing this forum: No registered users


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.364s | 13 Queries | GZIP : Off ]