How do I debug a PyGTK application without an interactive session?

If you need to debug an application but are unable to obtain an interactive session to trace it from (for instance, if it crashes at startup or shutdown), you can use the following recipe, contributed by Gustavo Carneiro: 1. Install Xnest; 2. Add a test user to your system; 3.

Run a nested window GDM session (in System Tools); 4. Login as the test user; 5. In your own user session: • open a shell • change DISPLAY to the test user nested session display (eg.

:20) • run: gdb python • inside gdb: run /foo/bar/myapplet.py 6. In the test user nested session, trigger the error. 7.

View the python backtrace in your shell, or trigger an interrupt in gdb to capture a stack trace. More.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions