What do you mean “inside a text editor”? What’s the workflow that you describe like?
VSCode for sure does this.
Now picture XEmacs and Emacs, running gdb as subprocess, with a little pointed finger showing the current line and a stop sign for breakpoints.
The lower buffer shows the usual gdb repl and output.
I always felt the drive towards mouse-driven tools in the PARC world (InterLisp/SmallTalk/CedarMesa) was actually a regression because of the loss of history ("how the hell did I get here?")