Pernosco / pernosco

General-purpose public wiki and issue tracking
13 stars 0 forks source link

Automatically include pid and thread name in the Notebook #16

Open hsivonen opened 4 years ago

hsivonen commented 4 years ago

I often use Pernosco to debug multi-process interaction. I find that when using the Notebook, I often end up writing the pid associated with the Notebook entry in the entry itself.

It would help if the automatically-included data in a Notebook item included the pid and the thread name in addition to the already automatically-included function name, file name, and line number.

(At least with my screen size, there'd be plenty of horizontal space for these on the same line as the current automatically-included data, so this wouldn't need to make the Notebook items take more vertical space.)

rocallahan commented 4 years ago

Sounds reasonable.

tbodt commented 3 years ago

Maybe you could configure a list of arbitrary expressions to show in each notebook entry? I might want to show $time for instance.