🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.delphi
Article #345398

Re: Lazarus - debugowanie

#345398
From: Piotr S.
Date: Wed, 30 Nov 2016 08:02
18 lines
2025 bytes
W dniu 2016-11-30 o 02:36, stchebel@gmail.com pisze:
> W D6 jest taka możliwość (i działa!!), mianowicie jeżeli w edytorze kodu źródłowego kliknę na jakiś tam kolejny wiersz, następnie mlasnę prawym klawiszem myszy, pojawia się popup-menu, w którym jest między innymi "Debug=>Run to Cursor". Bardzo fajna sprawa jak dla mnie, tyle że w D6 "Debug=>Run to Cursor" jest aktywne i dalej mogę oglądać efekty działania programu "step by step", natomiast w Lazarusie, po prawomlasku myszy też pojawia się "Debug=>Run to Cursor", tyle że niestety ta opcja jest nieaktywna. Czyli jest to w popup-menu, ale jest "na szaro". Wiadomo o co chodzi..
>
> Prośba o podpowiedź!!  Co znowu schrzaniłem ??!!
>

Wystarczyło poszukać w google:

> Yeah, that's also something I needed to get used to.
> F4 only works within the procedure you are at that moment.
> It doesn't work like in Delphi.
>
> The workaround is... you go to the place where you want to go.
> But you don't press F4 but F5 and press F9 (run).
> F5 sets a breakpoint.
> When the program breaks you directly press F5 again and the breakpoint is released.

P.S.
Technical Details
Message-ID: <o1m124$hml$1@news.icm.edu.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!.POSTED!not-for-mail
References: <4b7925e0-62ff-4137-8c4a-2cdc009f20b9@googlegroups.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!.POSTED!not-for-mail
From: "Piotr S." <sashxat@interia.pl>
Newsgroups: pl.comp.lang.delphi
Subject: Re: Lazarus - debugowanie
Date: Wed, 30 Nov 2016 09:02:15 +0100
Organization: ICM, Uniwersytet Warszawski
Lines: 18
Message-ID: <o1m124$hml$1@news.icm.edu.pl>
References: <4b7925e0-62ff-4137-8c4a-2cdc009f20b9@googlegroups.com>
NNTP-Posting-Host: ibw194.internetdsl.tpnet.pl
Mime-Version: 1.0
X-Trace: news.icm.edu.pl 1480492932 18133 79.189.48.194 (30 Nov 2016 08:02:12 GMT)
X-Complaints-To: usenet@news.icm.edu.pl
NNTP-Posting-Date: Wed, 30 Nov 2016 08:02:12 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.0
In-Reply-To: <4b7925e0-62ff-4137-8c4a-2cdc009f20b9@googlegroups.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit