<div dir="ltr"><div>Thanks, I will take look.<br>As for condition types, well, mostly its si::standard-error, so nothing much to go with.<br><br></div>And as far as I know, I have no idea what level of compilation is there. If I compile file, I have debug 2, but I usually only evaluate (while I develop), with only (load "file") <br>
and then inline evaluation C-x C-e in emacs.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/1/19 Matthew Mondor <span dir="ltr"><<a href="mailto:mm_lists@pulsar-zone.net" target="_blank">mm_lists@pulsar-zone.net</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Sat, 19 Jan 2013 02:09:58 +0100<br>
Peter Enerccio <<a href="mailto:enerccio@gmail.com">enerccio@gmail.com</a>> wrote:<br>
<br>
> Right now, I there is a problem with lisp, the resulting condition is not<br>
> very<br>
> helpful, unless I go into backtrace. In some environments, however, I can't<br>
> do such a thing, so I am left with (if printed readably):<br>
><br>
</div>> *Odd number of keys<br>
<div class="im">><br>
> *<br>
> Now when I write it's usually new code which is wrong so I find these<br>
> quite easily, but I mean generally, this is not much helpful.<br>
</div>> *<br>
<div class="im">> *<br>
> that is all I get. Is there a better way to print conditions, maybe<br>
> include some localization for the error or something?<br>
<br>
</div>Was the code compiled using a debug level of 2 or more?  If I remember<br>
those are necessary for CL-friendly backtraces, and at this debug level<br>
explicit stack frames are inserted to allow that.<br>
<br>
Also, I'm not sure if it can help, but at<br>
<a href="http://cvs.pulsar-zone.net/cgi-bin/cvsweb.cgi/mmondor/mmsoftware/cl/server/ecl-mp-server.lisp?rev=1.44;content-type=text%2Fplain" target="_blank">http://cvs.pulsar-zone.net/cgi-bin/cvsweb.cgi/mmondor/mmsoftware/cl/server/ecl-mp-server.lisp?rev=1.44;content-type=text%2Fplain</a><br>

the functions LOG-ERROR (and STACKTRACE), as well as the<br>
WITH-LOG-ERRORS macro were useful for me in cases where I wanted errors<br>
to be logged non-interactively with some backtrace (i.e. in<br>
httpd.lisp's worker threads).<br>
<br>
I remember that some work was done a while ago for ECL to at least also<br>
show the condition type when printing condition objects, perhaps that<br>
this doesn't occur in all cases though...<br>
--<br>
Matt<br>
<br>
------------------------------------------------------------------------------<br>
Master Visual Studio, SharePoint, SQL, <a href="http://ASP.NET" target="_blank">ASP.NET</a>, C# 2012, HTML5, CSS,<br>
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current<br>
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft<br>
MVPs and experts. SALE $99.99 this month only -- learn more at:<br>
<a href="http://p.sf.net/sfu/learnmore_122912" target="_blank">http://p.sf.net/sfu/learnmore_122912</a><br>
_______________________________________________<br>
Ecls-list mailing list<br>
<a href="mailto:Ecls-list@lists.sourceforge.net">Ecls-list@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/ecls-list" target="_blank">https://lists.sourceforge.net/lists/listinfo/ecls-list</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Bc. Peter Vaņu¹anik<br><a href="http://www.bishojo.tk" target="_blank">http://www.bishojo.tk</a><br>
</div>