debuggingkeyboard-layout

How to debug without the F buttons?


How to debug on a laptop that has different Function keys?

On a PC those buttons work, but on my laptop they don't because, for example the F9 key (which should run the program) locks the screen. The F6, F7 and F8 keys do other things, too, like locking the touchpad. I start the program with the mouse, clicking the button in the RAD Studio that says "Run", but then when it reaches the breakpoint I don't know how to start moving to the next line.

Edit: The FN button helped me. I use laptop Lenovo IdeaPad 3


Solution

  • Your Lenovo IdeaPad 3 has (like also Fujitsu's Lifebook) the additional key Fn on the lower left, which occurs for compact keyboard layouts (such as on laptops). Handle it like you would handle Ctrl or Shift or Alt: press and hold it down first, then the actual key you want to press.

    In general multiple actions of a keyboard key are distinguished by their printed position:

    See Wikipedia for different layout examples, including potential Fn positions.