Can I change the Program Counter (pc) value?

Yes. The pc value can be changed through the debugger shell. In order to change the pc value through the debugger shell follow steps below in debug perspective:

  1. From the debug perspective, select Window > Show View > Debugger Shell .

    The Debugger Shell window appears docked to the lower right hand side of debug perspective.

  2. In debugger shell, type reg pc.

    The present value of pc is displayed.

  3. In debugger shell, type reg pc=0x10000000.

    This command changes pc value to 0x10000000.

  4. In debugger shell, type reg pc.

The current value of pc is displayed; which in this case should be PC=0x10000000.