Have you tried to set breakpoints and start the debugger with F9? That should work.

F7 and F8 will work once you  reached a breakpoint.

Using F7 and &8 before to start the debugger (when the app is not yet running) is currently not working correctly (unless you use the workaround from the link).

Also to be sure, you enabled to compile with debug info?
http://wiki.lazarus.freepascal.org/Debugger_Setup#Project_Options


On 03/04/2013 14:34, Lubos Pintes wrote:
I did it "just for fun". Mainly I wanted to see how debugging goes with screen reader, if this will be similar to my Delphi experience. Currently I only met the Assembler window. Is this normal, or something is set up differently? I expected that cursor will be moved in various files like in Delphi 6. Currently I was unable to debug even very simple project. Only assembler window appeared and then program ran normally.

Dňa 3. 4. 2013 12:55 Martin wrote / napísal(a):
On 03/04/2013 08:28, Lubos Pintes wrote:
Hi,
Just tried the following:
Opened <lazarus>\ide\lazarus.lpi and then pressed F7.
The Assembler window appeared and after next F7 press, the following error appeared (copy of window text follows)

Debugger Error
The debugger encountered an error when trying to run/step the application:
Cannot find bounds of current function
Press "Ok" to continue debugging (paused), and correct the problem, or choose an alternative run command.
Press "Stop" to end the debug session.

Pressing OK doesn't help.
I am using the latest SVN, fresh build. OS is win 7 pro 64 bit.

This is probably the same issue as described here: http://bugs.freepascal.org/view.php?id=24208

There is a workaround described in the notes.

However unless you want to debug the startup code (begin end block of the "program"), it makes no sense to use F7.



--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus



--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to