Re: [Lazarus] Some debug facts/improves

2009-10-05 Thread Graeme Geldenhuys
2009/10/4 JoshyFun joshy...@gmail.com: I know, and that's my next step if there is interest. But by now and in order to help me in my other projects I'm using the default Another nice to have debugging window would be to select a class or record structure you want to debug. It then shows at

Re: [Lazarus] Some debug facts/improves

2009-10-05 Thread Marc Weustink
Graeme Geldenhuys wrote: 2009/10/4 JoshyFun joshy...@gmail.com: I know, and that's my next step if there is interest. But by now and in order to help me in my other projects I'm using the default Another nice to have debugging window would be to select a class or record structure you want to

Re: [Lazarus] Some debug facts/improves

2009-10-05 Thread JoshyFun
Hello Lazarus-List, Monday, October 5, 2009, 4:25:56 PM, you wrote: PI JoshyFun wrote: Maybe the attached solution is not the best, but at least it works :) It basically moves the assembler window show to after the offended line has been found, and only displayed if no line has been found.

Re: [Lazarus] Some debug facts/improves

2009-10-04 Thread Marc Weustink
JoshyFun wrote: Hello Lazarus-List, Saturday, October 3, 2009, 5:47:53 PM, you wrote: MG Thanks for testing. Fixed. Can anybody apply this patch locally and tell me if this kind of debug changes are of interest ? Main changes: 1) Once stop on exception the assembler window will only appear

Re: [Lazarus] Some debug facts/improves

2009-10-04 Thread JoshyFun
Hello Lazarus-List, Sunday, October 4, 2009, 7:21:44 PM, you wrote: 1) Once stop on exception the assembler window will only appear if no backtrace information is available. It will show the clser offended line with debug information. MW I thought it was already the case :) No it was not

Re: [Lazarus] Some debug facts/improves

2009-10-03 Thread JoshyFun
Hello Lazarus-List, Saturday, October 3, 2009, 3:36:46 AM, you wrote: PI Debugger has one set of classes for IDE and another set of classes for PI the debugging itself. PI Classes which has IDE in name are used by IDE to save/load their values PI to/from streams, etc. PI TDBGWatch is used as a

Re: [Lazarus] Some debug facts/improves

2009-10-03 Thread Luiz Americo Pereira Camara
Paul Ishenin escreveu: Yes, as I remember I did so but don't remember the reason. Many times after I though to remove DT_CENTER too. When I have time to work I will look for reasons and remove it. I can confirm that the Delphi behavior is different from Lazarus: it does not center text in

Re: [Lazarus] Some debug facts/improves

2009-10-03 Thread Martin
JoshyFun wrote: Hello Lazarus-List, Saturday, October 3, 2009, 3:36:46 AM, you wrote: PI Debugger has one set of classes for IDE and another set of classes for PI the debugging itself. PI Classes which has IDE in name are used by IDE to save/load their values PI to/from streams, etc. PI

Re: [Lazarus] Some debug facts/improves

2009-10-03 Thread Martin
JoshyFun wrote: Hello Lazarus-List, I'm trying to improve some debug parts up to where my skills let me and I had found some things that I was unable to understand: 1) I was unable to find how TIDEWatch is connected with GDBMIDebugger, in special the GetValue property getter. As I understand

Re: [Lazarus] Some debug facts/improves

2009-10-03 Thread Luiz Americo Pereira Camara
JoshyFun escreveu: PI Yes, as I remember I did so but don't remember the reason. Many times PI after I though to remove DT_CENTER too. When I have time to work I will PI look for reasons and remove it. I had removed it to test and no side effect apparently except that there are 2 kinds of

Re: [Lazarus] Some debug facts/improves

2009-10-03 Thread Martin
Hi JoshyFun, in this context, maybe have a look at: http://bugs.freepascal.org/view.php?id=10665 I don't know if it overlaps with your plans, or is unrelated... Best Regards Martin JoshyFun wrote: Hello Lazarus-List, I'm trying to improve some debug parts up to where my skills let me and

Re: [Lazarus] Some debug facts/improves

2009-10-03 Thread JoshyFun
Hello Lazarus-List, Saturday, October 3, 2009, 2:40:18 PM, you wrote: M in this context, maybe have a look at: M http://bugs.freepascal.org/view.php?id=10665 M I don't know if it overlaps with your plans, or is unrelated... That's exactly one of the things that I'll try to implement, and the

Re: [Lazarus] Some debug facts/improves

2009-10-03 Thread Paul Ishenin
Paul Ishenin wrote: Yes, as I remember I did so but don't remember the reason. Many times after I though to remove DT_CENTER too. When I have time to work I will look for reasons and remove it. I am wrong. That was Mattias who made text centering for the THintWindow. Best regards, Paul

Re: [Lazarus] Some debug facts/improves

2009-10-03 Thread Mattias Gaertner
On Sat, 03 Oct 2009 23:05:03 +0800 Paul Ishenin webpi...@mail.ru wrote: Paul Ishenin wrote: Yes, as I remember I did so but don't remember the reason. Many times after I though to remove DT_CENTER too. When I have time to work I will look for reasons and remove it. I am wrong. That was

Re: [Lazarus] Some debug facts/improves

2009-10-03 Thread Luiz Americo Pereira Camara
Mattias Gaertner escreveu: On Sat, 03 Oct 2009 23:05:03 +0800 Paul Ishenin webpi...@mail.ru wrote: Paul Ishenin wrote: Yes, as I remember I did so but don't remember the reason. Many times after I though to remove DT_CENTER too. When I have time to work I will look for reasons and

Re: [Lazarus] Some debug facts/improves

2009-10-03 Thread Mattias Gaertner
On Sat, 03 Oct 2009 12:35:00 -0300 Luiz Americo Pereira Camara luiz...@oi.com.br wrote: Mattias Gaertner escreveu: On Sat, 03 Oct 2009 23:05:03 +0800 Paul Ishenin webpi...@mail.ru wrote: Paul Ishenin wrote: Yes, as I remember I did so but don't remember the reason. Many

Re: [Lazarus] Some debug facts/improves

2009-10-03 Thread JoshyFun
Hello Lazarus-List, Saturday, October 3, 2009, 5:47:53 PM, you wrote: MG Thanks for testing. Fixed. Can anybody apply this patch locally and tell me if this kind of debug changes are of interest ? Main changes: 1) Once stop on exception the assembler window will only appear if no backtrace

Re: [Lazarus] Some debug facts/improves

2009-10-03 Thread Mattias Gaertner
On Sat, 3 Oct 2009 18:24:42 +0200 JoshyFun joshy...@gmail.com wrote: Hello Lazarus-List, Saturday, October 3, 2009, 5:47:53 PM, you wrote: MG Thanks for testing. Fixed. Can anybody apply this patch locally and tell me if this kind of debug changes are of interest ? Main changes:

Re: [Lazarus] Some debug facts/improves

2009-10-03 Thread JoshyFun
Hello Lazarus-List, Saturday, October 3, 2009, 6:52:06 PM, you wrote: Can anybody apply this patch locally and tell me if this kind of debug changes are of interest ? [...] MG Sounds useful to me. MG The debugger is Marc's work. But Marc is busy the next days, so MG don't expect anything soon.

[Lazarus] Some debug facts/improves

2009-10-02 Thread JoshyFun
Hello Lazarus-List, I'm trying to improve some debug parts up to where my skills let me and I had found some things that I was unable to understand: 1) I was unable to find how TIDEWatch is connected with GDBMIDebugger, in special the GetValue property getter. As I understand GetValue will

Re: [Lazarus] Some debug facts/improves

2009-10-02 Thread JoshyFun
Hello Lazarus-List, Friday, October 2, 2009, 9:19:27 PM, you wrote: MG On Fri, 2 Oct 2009 20:57:21 +0200 MG JoshyFun joshy...@gmail.com wrote: [...] 2) The IDE hints are always draw using DT_CENTER which ruins any multiline representation. Is possible to remove this DT_CENTER from procedure

Re: [Lazarus] Some debug facts/improves

2009-10-02 Thread Paul Ishenin
JoshyFun wrote: 1) I was unable to find how TIDEWatch is connected with GDBMIDebugger, in special the GetValue property getter. As I understand GetValue will return the default value representation so to add override representation, in example memory dump, a new function should be added like

Re: [Lazarus] Some debug facts/improves

2009-10-02 Thread Alexander Klenin
On Sat, Oct 3, 2009 at 12:36, Paul Ishenin webpi...@mail.ru wrote: 2) The IDE hints are always draw using DT_CENTER which ruins any multiline representation. Is possible to remove this DT_CENTER from procedure THintWindow.Paint ? Yes, as I remember I did so but don't remember the reason. Many