On Thu, 31 Jan 2013 15:23:24 Per Jessen wrote:
[...]
When a problem is not immediately reproducable, you can't do much else than wait and see - collect diagnostics, core dumps etc. Debugging a production issue with gdb and strace is for the optimistic.
What? It isn't opportunistic at all.
I meant it is optimistic to expect to have access to a production system and to run e.g. a daemon with gdb or strace it.
I would agree. It would be silly to try that on a live, production system, which is why, if you must do the debugging yourself, you need test environment where you can duplicate the production system (including simulating the problem transaction(s)), do the debugging and test the fixes before pushing them out into the production environment. Of course, this requires considerable investment in the initial instance but it isn't really optional if you are developing and/or maintaining software in- house (but this is getting outside the scope of the original discussion). -- ============================================================== Rodney Baker VK5ZTV rodney.baker@iinet.net.au ============================================================== -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org