Home > OS >  How to debug without the F buttons?
How to debug without the F buttons?

Time:10-21

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

CodePudding user response:

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:

  • bottom left: the default action - have a look at f.e. , or 8 or Home.
  • top left: when holding Shift - this also explains why all letters are printed in uppercase. See also how you'd press ? or > or :.
  • bottom right:
    • if you have: when holding Alt Gr - on f.e. German layouts by this you achieve pressing µ or or ³. If you also have a Fn key then actions for for that are enclosed in a rectangle.
    • if no Alt Gr is available, it is meant for holding Fn (and then actions are not essentially in rectangles) - that's how you finally can press F9 and such, while the key's default action is device specific.
  • top right: almost only encountered outside latin alphabets, when whole input method menus need to be used.

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

  • Related