I'm working on debugging this backtrace (from Emacs bug #12145, shortened):
Debugger entered--Lisp error: (wrong-type-argument "markerp nil") signal(wrong-type-argument ("markerp nil")) tramp-error((tramp-file-name #("scp" 0 3 (tramp-default t)) nil nil "blacky" nil "REDACTED/.dir-locals.el" > nil) wrong-type-argument "markerp nil") tramp-signal-hook-function(wrong-type-argument (markerp nil)) comint-output-filter(#<process *Find*> " 74785 4 -rw-r--r-- 1 thk thk ...") accept-process-output(#<process *tramp/scp blacky*> nil nil t) tramp-accept-process-output(#<process *tramp/scp blacky*>)
This backtrace tells me, that somewhere in comint-output-filter a function gets called with a wrong argument (nil instead of markerp). But it does not tell me, which function.
Is there something to answer this question, e.g. could Emacs print line numbers next to the backtrace to show what the last executed line of a funtion was before a new stackframe?