Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2013-11

Debugging Wince shows NO debugger output

8 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

GREP

Hi
I could not get the breakpoints to work, I googled a lot, tried all the suggestions
unsuccessfully.
After a full day of trial I ended up that now the project does not show anything in the Debugger output window.

I have this setup
Windows XP, lazarus 1.0,12, svn 42478
(installed with the exe provided)
(sorry for the spanish legends, but regrettably when I installed lazarus I did not find an option for choosing the language, it took it by default from geographical origin)

<http://free-pascal-lazarus.989080.n3.nabble.com/file/n4034315/debug1.jpg>

<http://free-pascal-lazarus.989080.n3.nabble.com/file/n4034315/debug2.gif>

<http://free-pascal-lazarus.989080.n3.nabble.com/file/n4034315/debug3.gif>

with Level1 and nothing else checked
The project build with no apparent problems, except the breakpoints don't work
(there are no blue dots, and when I click on a line to add a breakpoint, it shows a
red circle with a "?" inside)
Any help please?

View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Debugging-Wince-shows-NO-debugger-output-tp4034315.html Sent from the Free Pascal - Lazarus mailing list .

Reply by email

Chris Kelling

As a work around, try using showmessage(variable.field):

That will at least let you see what's in the variable at that point, and program execution should stop until you hit OK.

-Chris

Information in this message is intended for sole use of the recipient unless otherwise noted.

Show quoted text 42 lines
On Nov 13, 2013, at 15:40, GREP wrote: Hi I could not get the breakpoints to work, I googled a lot, tried all the suggestions unsuccessfully. After a full day of trial I ended up that now the project does not show anything in the Debugger output window. I have this setup Windows XP, lazarus 1.0,12, svn 42478 (installed with the exe provided) (sorry for the spanish legends, but regrettably when I installed lazarus I did not find an option for choosing the language, it took it by default from geographical origin) <http://free-pascal-lazarus.989080.n3.nabble.com/file/n4034315/debug1.jpg> <http://free-pascal-lazarus.989080.n3.nabble.com/file/n4034315/debug2.gif> <http://free-pascal-lazarus.989080.n3.nabble.com/file/n4034315/debug3.gif> with Level1 and nothing else checked The project build with no apparent problems, except the breakpoints don't work (there are no blue dots, and when I click on a line to add a breakpoint, it shows a red circle with a "?" inside) Any help please? -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Debugging-Wince-shows-NO-debugger-output-tp4034315.html Sent from the Free Pascal - Lazarus mailing list . -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Martin
to GREP: Hi I could not get the breakpoints to work, I googled a lot, tried all the suggestions…
GREP wrote 11 lines
Hi I could not get the breakpoints to work, I googled a lot, tried all the suggestions unsuccessfully. After a full day of trial I ended up that now the project does not show anything in the Debugger output window. I have this setup Windows XP, lazarus 1.0,12, svn 42478

Not sure, never done wince.

But you can try and sent a log
http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#Log_info_for_debug_session

Maybe something stands out.

Reply by email

Sven Barth
to Martin: Not sure, never done wince. But you can try and sent a log…
Martin wrote 18 lines
On 13/11/2013 20:40, GREP wrote: > Hi > I could not get the breakpoints to work, I googled a lot, tried all the > suggestions > unsuccessfully. > After a full day of trial I ended up that now the project does not show > anything in the Debugger output window. > > I have this setup > Windows XP, lazarus 1.0,12, svn 42478 > > Not sure, never done wince. But you can try and sent a log http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#Log_info_for_debug_session Maybe something stands out.

I mention this as something that stands out for quite some time already: http://bugs.freepascal.org/view.php?id=21061

Regards,
Sven

Reply by email

GREP
to GREP: Hi I could not get the breakpoints to work, I googled a lot, tried all the suggestions…

Thanks martin and Sven

The url you gave me do not have a solution. They state the problem, but there is no solution.
I downloaded 1.0.14 and re-installed Lazarus.
I first compile with the -g linker option, it compliled but still no blue dots.
Then I tried with -gw -godwarfsets (I put -dgodwarfsets in the Define window).
This time the Project does not compile, it gives me a bunch of erros like this for all files
in the project:
pos.lpr(30) Error: Failed reading coff file, illegal reloctype $000F while reading d:\cf1\output\pos.o
I went back to the -g option and get the same errors. I have d:\cf1\output in the output directory window (-FU). Any Idea what this is? I have no ebug outpu, b/c it stops before getting there

View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Debugging-Wince-shows-NO-debugger-output-tp4034315p4034439.html Sent from the Free Pascal - Lazarus mailing list .

Reply by email

Sven Barth
to GREP
GREP wrote
The url you gave me do not have a solution. They state the problem, but there is no solution.

Did you try adding the drive where your sources reside to the "other unit paths (IDE only)" option? By judging your below examples it should be "D:\".

Show quoted text 10 lines
I downloaded 1.0.14 and re-installed Lazarus. I first compile with the -g linker option, it compliled but still no blue dots. Then I tried with -gw -godwarfsets (I put -dgodwarfsets in the Define window). This time the Project does not compile, it gives me a bunch of erros like this for all files in the project: pos.lpr(30) Error: Failed reading coff file, illegal reloctype $000F while reading d:\cf1\output\pos.o

It could be that Dwarf is not correctly supported for WinCE...

I went back to the -g option and get the same errors. I have d:\cf1\output in the output directory window (-FU). Any Idea what this is? I have no ebug outpu, b/c it stops before getting there

Test the following:
- disable generation of debug info and completely rebuild project (maybe delete *.o and *.ppu manually if necessary)
- enable generation of debug info (stabs/default) again and completely rebuild

At work a colleague and me recently had success at debugging a WinCE program on the emulator though I had thought that it might not work.

Regards,
Sven

Reply by email