A context menu item in the Debug view allows you to reverse engineer all Java stack frames or only the selected ones from a paused thread. You can only add stack frames to a sequence diagram that is open in an editor. If a message is selected in the sequence diagram, the added message sequence will originate from it.
Be careful with the mouse button you press: a left-click opens a source
editor for the selected stack frame which will obscure any open sequence
diagram. A right-click opens the context menu and shows the
'Add To Sequence Diagram' menu item.
Note that 'Add To Sequence Diagram' keeps track of object instances, so messages may go back to previous objects.