In all instructions I can find, including the offline help, say to right click on a line in the editor and choose 'Add bookmark', but I have no such command in my context menu. So, how do I add a bookmark?
The Eclipse help topic is useless, as it describes an entirely different context menu to the one I get when I right click. And F2 does nothing, maybe sometimes shows function docs.
It is explained here, use Edit -> Add Bookmark for an editor file.
What the help says is that if the cursor is positions over the marker bar, you can right click and it will show "Add BookMark..." The marker bar is the bar on the left edge of the editor where you would place breakpoints.