문제

In Visual Studio, when you're debugging with breakpoints you can change which line of code will be next to execute by dragging the execution cursor to another line; this lets you skip IF statements and the like.

I was idly wondering if there was a similar feature in Delphi anyone knew about?

I've been having a look around in the CPU window (Delphi 2006) but you only seem to be able to run through the instructions in order, not skip them.

도움이 되었습니까?

해결책

In CPU View you can right-click and choose "New EIP (Ctrl + N)" to set the instruction pointer.

다른 팁

In Delphi XE you can drag the execution cursor to another line as well. Not in the CPU window, but in the editor itself.

In the IDE of 2007 you can also set the execution pointer from the Debug-Contextmenu in the sourcecode. I've tried it a few times, but its very tricky. Don't try to move the pointer outside any begin-end block or it will bite you in the @ss later

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top