[M3devel] paths too truncated in assertion failures
Darko Volaric
lists at darko.org
Mon Aug 31 16:26:59 CEST 2015
Absolute path is important for tools that read the output and use it.
For instance my text editor jumps straight to the line in the source file
when an assert occurs.
On Mon, Aug 31, 2015 at 6:31 AM, Olaf Wagner <wagner at elegosoft.com> wrote:
> On Sat, 29 Aug 2015 22:12:37 +0000
> Jay K <jay.krell at cornell.edu> wrote:
>
> > These messages:
> > ****** runtime error:*** <*ASSERT*> failed.*** file
> "../src/convert/Convert.m3", line 47***
> >
> > 1) It should really be a full path.
> > I know people will disagree with me.You want more commonality across
> machines.I'm not sure that is worth it.In particular, debuggers always work
> more easily with full paths, for local private builds.Hopefully for
> debugging someone else's, some search pathwith "prefix replacement" is
> viable.But debugging your own build is more common and ideallyno special
> setting is needed to make that work.
> > Yes, full paths could "leak" across machines but I think that is ok.
> > I did work on this long ago but people disagreed with at the time.
>
> I'd vote for full absolute path.
>
> Olaf
> --
> Olaf Wagner -- elego Software Solutions GmbH -- http://www.elegosoft.com
> Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
> phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45 86
> 95
> Geschäftsführer: Olaf Wagner | Sitz: Berlin
> Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr:
> DE163214194
> _______________________________________________
> M3devel mailing list
> M3devel at elegosoft.com
> https://mail.elegosoft.com/cgi-bin/mailman/listinfo/m3devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20150831/bcf104e0/attachment-0002.html>
More information about the M3devel
mailing list