http://git.mah.priv.at/gitweb/emc2-dev.git/commit/9b5aa6323a05479ac071528537690a081d8d626f
-Michael Anfang der weitergeleiteten E-Mail: > Von: Michael Haberler <[email protected]> > Datum: 03. Mai 2011 15:31:44 MESZ > An: EMC developers <[email protected]> > Betreff: Re: [Emc-developers] [ emc-Bugs-2561963 ] run from line in gcode > with subs doesn't work > Antwort an: EMC developers <[email protected]> > > The more I look at the code for run-from-line: a source location will never > be properly identified by staring just at a line number like task does when > more than one file is involved. It probably used to work fine before oword > subs and stacked files were introduced. > > A generalized source location would be a file-id/linenumber pair. > > As for a fix, either the decision wether the proper source location has been > reached during readahead is made by the interpreter itself because it knows > about nested files, or the NML messages are tagged with a file-id so task can > decide it. Or both. > > > -mah > > Am 03.05.2011 um 12:15 schrieb SourceForge.net: > >> Bugs item #2561963, was opened at 2009-02-03 21:30 >> Message generated for change (Comment added) made by mahsofo >> You can respond by visiting: >> https://sourceforge.net/tracker/?func=detail&atid=106744&aid=2561963&group_id=6744 >> >> Please note that this message will contain a full copy of the comment thread, >> including the initial issue submission, for this request, >> not just the latest update. >> Category: Task Controller >> Group: None >> Status: Closed >> Resolution: Fixed >> Priority: 5 >> Private: No >> Submitted By: Michael (micges) >> Assigned to: Chris Radek (cradek) >> Summary: run from line in gcode with subs doesn't work >> >> Initial Comment: >> this is the buggy gcode: http://www.pastebin.ca/1326535 >> >> run it in sim_mm >> >> F1 >> F2 >> F3 >> CTRL-HOME >> R >> ESC at any line >> select line 61 >> MENU->MACHINE->RUN FROM SELECTED LINE >> >> expected behaviour: >> program will start from line 61 and continue running >> >> actual behaviour: >> program will start from line 241 >> >> >> any next try to sleecting and runnung from line will not work. >> >> ---------------------------------------------------------------------- >> >> Comment By: Michael Haberler (mahsofo) >> Date: 2011-05-03 12:15 >> >> Message: >> This bug is still present. Try the following .ngc fragment and do a >> run-from-line of the (debug..) >> statement just before M2. >> >> >> (debug, pre testsub declaration) >> o<testsub> sub >> (debug, testsub called) >> o<testsub> endsub >> (debug, pre testsub call) >> o<testsub> call >> (debug, post testsub call) >> m2 >> >> >> >> >> ---------------------------------------------------------------------- >> >> Comment By: Chris Radek (cradek) >> Date: 2010-07-13 02:10 >> >> Message: >> Fixed in master. >> >> ---------------------------------------------------------------------- >> >> Comment By: Jeff Epler (jepler) >> Date: 2009-02-04 01:51 >> >> Message: >> I have minimized the program that shows this problem. >> >> 1. Use configs/sim/axis.ini >> 2. Load the attached 'minimal.ngc'. >> 3. Click line 9 of the program >> 4. Right-click >> 5. Choose "run from here" >> >> Expected behavior: the program starts from line 9 and moves next to X1Y1 >> Actual behavior: the program starts from line 15 >> >> Tested version: TRUNK, 2009-02-02 >> >> Note: by changing the O-call lines to G0X0Y0Z2, the program behaves as >> expected >> File Added: minimal.ngc >> >> ---------------------------------------------------------------------- >> >> Comment By: Jeff Epler (jepler) >> Date: 2009-02-04 01:39 >> >> Message: >> Please use attachments to the bug report. by default, pastebin.ca posts >> expire, so in the future they might not be available for emc developers to >> look at. I have copied your part program from pastebin and will attach it >> this time. >> File Added: micges.ngc >> >> ---------------------------------------------------------------------- >> >> You can respond by visiting: >> https://sourceforge.net/tracker/?func=detail&atid=106744&aid=2561963&group_id=6744 >> >> ------------------------------------------------------------------------------ >> WhatsUp Gold - Download Free Network Management Software >> The most intuitive, comprehensive, and cost-effective network >> management toolset available today. Delivers lowest initial >> acquisition cost and overall TCO of any competing solution. >> http://p.sf.net/sfu/whatsupgold-sd >> _______________________________________________ >> Emc-developers mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/emc-developers > > > ------------------------------------------------------------------------------ > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > _______________________________________________ > Emc-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-developers ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
