You can configure emc2 as a simulator (./configure --enable-run-in-place --enable-simulator) then you can also debug "realtime" components.
Most debugging I do is via print's and code reading ;) Regards, Alex ----- Original Message ----- From: "loretta" <[email protected]> To: "EMC developers" <[email protected]> Sent: Sunday, February 01, 2009 5:52 PM Subject: Re: [Emc-developers] Developing EMC >I finally got at a notebook I could dedicate to EMC2. I decided to go for > Code::Blocks as the IDE. It's not hard to get CB build EMC2: > Project -> Properties -> This is a custom Makefile = yes. > Then import all files recursively and you're done. > > It's easy for me now to go to declarations and implementations w/o > searching. > > However, I wonder how debugging is done now. There's no single emc2 > program, > there are quite a few deamons (tasks) started by a script. I guess, > debugging > realtime apps is not trivial anyway. Are you running some test suites to > check your code changes? > > Best regards > Loretta > > > On Sunday, 14. December 2008 16:32:19 Jeff Epler wrote: >> I prefer to use vim and the commandline to develop emc. >> >> However, your favorite IDE should work as well. Just configure it to >> run "make" in the "src" subdirectory of the emc2 checkout. That >> rebuilds everything. >> >> Before the first time you build, you'll have to run configure. When >> developing emc I use --enable-run-in-place, so that I can use the >> software without a "make install" step: >> ./configure --enable-run-in-place ... >> >> Please consider documenting what it takes to set up your IDE properly on >> our wiki, http://wiki.linuxcnc.org/ -- follow these instructions to log >> in before editing a page: >> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?BasicSteps >> >> Jeff >> >> --------------------------------------------------------------------------- >>--- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, >> Nevada. The future of the web can't happen without you. Join us at MIX09 >> to help pave the way to the Next Web now. Learn more and register at >> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com >>/ _______________________________________________ >> Emc-developers mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/emc-developers > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > Emc-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-developers -------------------------------------------------------------------------------- No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.0.233 / Virus Database: 270.10.16/1928 - Release Date: 01/31/09 20:03:00 ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
