Friday, July 2, 2010

A Debugger's Life Part 1.

Hurm no new post so here's one. Lately after being shown the way of code by big boss. I'm starting to get hook lil bit on bug/debugs..

One thing I learn along the way is how to suspend a process. This is vital especially in playing Flash Game :)

How to suspend a process?

In Linux:

kill -STOP pid #suspend the process
kill -CONT pid #resume the process\\

In Windows:

You need to download the PsTools.. And use pssuspend.exe

pssuspend.exe pid #suspend the process
pssuspend.exe pid -r #resume the process

One thing I like about the latest Firefox is the plugins is running on a seperate Process. which is pretty good.


No comments: