Opened 9 days ago

#1505 new defect

Trace output is messy for eggs

Reported by: sjamaan Owned by:
Priority: not urgent at all Milestone: 5.1
Component: extensions Version: 5.0
Keywords: trace output, messy Cc:
Estimated difficulty: medium

Description

Trace output (and, by extension, profiler output) is quite messy for the parts that are compiled from eggs.

Trivial example:

(import intarweb)

(headers 'fail)

Results in:

Error: bad argument type - not a list: fail

        Call history:

        /home/sjamaan/src/intarweb/intarweb.scm:652: chicken.base#make-parameter          
        /home/sjamaan/src/intarweb/intarweb.scm:671: chicken.base#make-parameter          
        /home/sjamaan/src/intarweb/intarweb.scm:786: chicken.base#make-parameter          
        /home/sjamaan/src/intarweb/intarweb.scm:864: chicken.base#make-parameter          
        /home/sjamaan/src/intarweb/intarweb.scm:959: chicken.base#make-parameter          
        /home/sjamaan/src/intarweb/intarweb.scm:987: chicken.irregex#irregex      
        /home/sjamaan/src/intarweb/intarweb.scm:1010: chicken.irregex#irregex     
        /home/sjamaan/src/intarweb/intarweb.scm:1043: chicken.base#make-parameter         
        test.scm:2: intarweb#headers      
        ##sys#dynamic-wind        
        ##sys#profile-entry       
        /home/sjamaan/src/intarweb/intarweb.scm:236: make-headers         
        ##sys#dynamic-wind        
        ##sys#profile-entry       
        ##sys#profile-exit        
        /home/sjamaan/src/intarweb/intarweb.scm:237: srfi-1#fold                <--

This is caused by the full pathname that's in the build script emitted by chicken-install. I'm not sure how to best fix this (or if it's even worth fixing?), but it looks messy and causes chicken-profile output to wrap columns in many cases.

Change History (0)

Note: See TracTickets for help on using tickets.