select run to cursor.
Just making sure it really is "
run to cursor" and
not "
step to cursor". The latter will not do what you expect.
Though "step ..." is not enabled, until you already running/debugging.
From your description I am not sure why you get the asm window.... But you should always be able to close it, and see the source editor.
Only if the asm window did open, it means your app paused outside the code in your source. (e.g. the RTL, maybe the internal startup code...)
It is possible it stopped because something crashed before the code at the cursor was reached... But then the debugger should have displayed some popup. (You did not mention any ...)
Maybe you have some "writeln" but there is no STDIO open (no console win)?
What is your OS ? Bitness (32/64)?
Console app, or GUI?
Can you provide some example project (full project with lpi, lpr and unit(s))?
Or can you test with a new app, just one or 2 lines of code (For a GUI app, in FormCreate event).
var MyVar : Integer;
begin
MyVar := 1;
MyVar := random(MyVar);
MyVar := MyVar+1;
end
Then run to the 2nd or 3rd line of that, and see if it works.