Re:Inspector – A drop-anywhere C++ REPL
by zitterbewegung on Monday February 12, 2018 @02:46PM
(#16361411)
Even just knowing the variables in the Stack frame is useful also. The error pages for Django and pyramid have this. Also, at a previous job someone created a toolbar that had all of the relevant server variables in your session.
[ Parent
| on HN ]
Re:Inspector – A drop-anywhere C++ REPL
by majewsky on Monday February 12, 2018 @03:26PM
(#16361755)
At a previous job, I built a server-side debugging tool which would record the requests that you made. For each request, you could see the HTTP request, the HTTP response, and events like SQL statements and log messages. (Sort of like Sentry.) There was also a button that re-ran the same request under a profiler.
Sadly the tool was never merged into mainline, so the feature branch has probaly rotten away by now.
Shlightly off-topic:
Maybe it's just me, but this is exactly why I'm not a fan of feature branches.
I do like to have local branches which sometimes serve as feature branches. But those are short-lived, so these either make it into mainline within a few days, or are deliberately marked as dead ends. (Or developed into a separate project, but this is very seldom and even then quickly moved into a new repository.)
Re:Inspector – A drop-anywhere C++ REPL
by Ono-Sendai on Monday February 12, 2018 @09:53PM
(#16364371)
A decent debugger will show all the local variables and their values.