root-project / web

root.cern
29 stars 51 forks source link

Add page about debugging while using root and about using valgrind? #487

Open hageboeck opened 3 years ago

hageboeck commented 3 years ago
hageboeck commented 3 years ago

Good start: Copy this to a new webpage with proper formatting.

Axel-Naumann commented 3 years ago

Copy

We've been there in the past - having two copies means being out of date and out of sync sooner than later :-) Would linking the HowTo section from root.cern work?

couet commented 3 years ago

The HowTo section of the forum is already mentioned in the TOC of the manual: https://root.cern/manual/ Does this HowTo needs a more visibility ? We do not have a page about "debugging ROOT" right now in the web site. May be this HowTo is enough ?

hageboeck commented 3 years ago

Clearly not enough:

ferdymercury commented 3 years ago

I think it could be also really helpful to mention in the website (or in the HowTo forum post) examples on how to use interactive debuggers with ROOT, like for example QtCreator, which easily allows you to run gdb or valgrind and at the same time lets you put breakpoints and pause/resume your debugging session. If the devs consider it interesting, I can take care of the QtCreator part with some screenshots. Maybe someone else can do the same with CLion or Visual Studio.

EDIT: is now https://root.cern/blog/code-horsepower-f1/