title: Debugging haskell: Display a function's name at each call
body: <p>Is there a tool that automatically "marks" some functions so that I can get an approximation of a "call stack".</p>
  
  <p>Actually, I would like to have a behavior similar to the one you get by writing <code>fct = Debug.trace "fct" $ ...</code> without having to add it before each function.</p>
  
  <p>I know that profiling does something similar with -fprof-auto, but I need it to be displayed while the application is running.</p>
  
  <p>Some time, I have infinite loops and having this display could show me immediately which function(s) is faulty. Using hlist and breakpoints isn't really helpfull since you already have to know the name of one of the functions in the cycle.</p>