On 2016-01-30 07:59, Martin Schreiber wrote: > Not the "best" way but how I debug programs. It heavily depends on the actual > problems.
In my opinion, MSEide's debugging is indeed better that Lazarus, but sadly both are hugely limited by GDB, and its lack of understanding the Object Pascal language. It pales in comparison to Delphi, Java and C# debuggers. eg: Can't query properties, function results, lacking support in array ranges etc. We need a native Object Pascal debugger in implement these features. The duby and fpdebug projects are a step in the right direction, but both are still far from complete. After having a terrible FPC debugging experience this week (again), I have renewed interest in improving fpGUI's Debug Server. It's based on the FPC dbugintf.pp unit, but with some improvements. In simple terms, your application sends debug info to the debug server. The debug server displays the information to you. fpGUI's version has some nice improvements, and I plan many more. eg: I already have the basics of "live view", so instead of simply having debug messages scrolling of the screen, you have gird that displays the latest values of Identifiers, data structures etc - something like a Watches window. I also started a "extended info" panel. This will for example not simply display the RGB color value, it will actually render the color, or display the actual image of a TfpgImage instance etc. If a record or object is sent to the debug server, the extended panel will display the property values in a Object Inspector grid view. Raize has developed a tool called CodeSite, which is what I'm aiming for. CodeSite is a very impressive piece of engineering (see the CodeRage videos), but unfortunately doesn't work with Free Pascal. :-/ http://www.raize.com/DevTools/CodeSite/images/CSLiveViewer.png http://www.raize.com/DevTools/CodeSite/Default.asp Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ mseide-msegui-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

