DEBUGGING

How can see registers value in response to some external switch closed at run time ?

EC