Sign in Join

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

Mailing lists / lazarus / 2009-10

Command line number would be more useful

6 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

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

Arí Ricardo Ody

I'm running a custom program under Lazarus control. When occurs an exception that I didn't intercept I receive a assembly screen.

For me, it's totally useless. I don't program in assembly. I know lots of programmers that program in high level languages(as pascal) and don't know assembly.

I would like to suggest that Lazarus Team and FPC Team spend efforts in develop ways to inform the command line number of the exception. Even when I compile in Free Pascal using "-CX -XX -gl" I don't receive the line number of the exception.

IMHO, I have no doubts that the command line number information would be more useful that the assembly code.

Greatings from Sao Paulo - Brazil

Ricardo

Reply by email

Andrew Haines
Ar? Ricardo Ody wrote 14 lines
I'm running a custom program under Lazarus control. When occurs an exception that I didn't intercept I receive a assembly screen. For me, it's totally useless. I don't program in assembly. I know lots of programmers that program in high level languages(as pascal) and don't know assembly. I would like to suggest that Lazarus Team and FPC Team spend efforts in develop ways to inform the command line number of the exception. Even when I compile in Free Pascal using "-CX -XX -gl" I don't receive the line number of the exception. IMHO, I have no doubts that the command line number information would be more useful that the assembly code.

I always use View -> Debug windows -> Call stack since it has the line numbers.

Regards,

Andrew

Reply by email

Alexander Klenin
to Andrew Haines
Andrew Haines wrote 18 lines
Ar? Ricardo Ody wrote: > I'm running a custom program under Lazarus control. When occurs an > exception that I didn't intercept I receive a assembly screen. > > For me, it's totally useless. I don't program in assembly. ?I know lots > of programmers that program in ?high level languages(as pascal) and > don't know assembly. > > I would like to suggest that Lazarus Team and FPC Team spend efforts in > develop ways to inform the command line number of the exception. Even > when I compile in Free Pascal using "-CX -XX -gl" I don't receive the > line number of the exception. > > IMHO, I have no doubts that the command line number information would be > more useful that the assembly code. I always use View -> Debug windows -> Call stack since it has the line numbers.

I argee here -- although I do know assembler, it is still useless to me in 99% of cases. So I suggest to display the call stack by default, and only display assembler window if the call stack is corrupted/unavailable.

Alexander S. Klenin

Reply by email

Andrew Haines
to Arí Ricardo Ody
Ar? Ricardo Ody wrote
I can't catch it. May you explain a little bit, please?

In the "View" menu the second to last item is "Debug Windows" which has "Call stack" in it. It shows the "stack" of functions called by your program and the lines which are being executed.

If your ide language is not english maybe someone else can give the proper names of the menuitems.

Regards,

Andrew

Reply by email

Marcelo Borges de Paula
Show quoted text 16 lines
Andrew Haines escreveu: Ar? Ricardo Ody wrote: > I can't catch it. May you explain a little bit, please? > > In the "View" menu the second to last item is "Debug Windows" which has "Call stack" in it. It shows the "stack" of functions called by your program and the lines which are being executed. If your ide language is not english maybe someone else can give the proper names of the menuitems. Regards, Andrew

In portuguese: Menu Visualizar -> Janelas de Depura??o -> Chamada de Pilha ou CTRL+ALT+S

Marcelo.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20091002/19f4cb6e/attachment.html>

Reply by email