* * *

Recent Posts

Pages: [1] 2 3 ... 10
1
General / Re: Debug Information disable, any click?
« Last post by coradi on Today at 12:23:17 pm »
not Build modes.. Debugging => create debug and release

Great :-)Thanks .-) This works
2
Third party / Re: Fpcupdeluxe
« Last post by tomek1 on Today at 12:13:06 pm »
My own trick is easy:
Whenever I have a vanilla Linux install, I just install FPC and Lazarus from the available packages. This will also install all the needed dependencies. After that, I remove FPC and Lazarus again, and use fpcupdeluxe to install whatever version I need.
I didn't find any dedicated packages for CentOS, so I've installed mentioned dependencies and FPC/Laz from SourceForge.net rpm's. I worked ok. Then uninstalled rpm's  and tried fpcupdeluxe 1.6.0h trunk - it ends with attached errors.
Regards, Tomek
3
Third party / Re: LazProfiler (beta)
« Last post by Bram71 on Today at 12:09:18 pm »
Sadly not, it's a commercial application i maintain for a client.

I will try later to find out where exactly the out of bounds is happening. The out of bounds happens when selecting the "Run > profile" before the actual compile cycle starts. The code in the project is nothing fancy, there's just a lot of it spread over multiple include folders.

I have included a small other project that also fails to profile. Its a small (audio) function generator using uos (you might need to download the portaudio dll's and place them in al "lib" subfolder where the compiled executable resides if you actually try to run it). See the function LoadAudio on line 94 of main.pas.

When doing "Run > Profile" this project fails somewhere in uos.pas after some comment. At least thats where the ide opens the file.
4
General / Re: Debug Information disable, any click?
« Last post by Martin_fr on Today at 12:03:34 pm »
It wont be *one* click, but close.

Go into the "Project Options" => Compiler Options
Select "Build modes"
There is a button "create debug and release" modes. [1]

You can also do that, and set it as default for all new projects.

In the IDE main bar, there is an icon to select the build mode, so you can quickly toggle, and then build.


-------------------------------
[1] AFAIK that only affects project, but not packages. So LCL still has dbg info.
But you can edit the build mode once, and add "strip", or use "additions and overrides" to change packages....
5
Lazarus Extra Components / TRXDBGrid filter update
« Last post by xinyiman on Today at 11:47:57 am »
Hi guys, I'm using a RXDBGrid grid for my project with usable filters like excel filters. Everything works well if the filter on the various columns is not updated when imposing values in the filter. So in the columns filters I always have all available values in the column. Is there a way to self-reflow them?

Thank you
6
General / Re: Debug Information disable, any click?
« Last post by molly on Today at 11:41:15 am »
When you created a new project: Main Menu / Project / Project Options / Compiler Options / Debugging, should show a form that looks similar to this picture .

Turn on/off those settings that you wish to use for compiling your project and press the ok button. Be sure to save your project, then rebuild your project. That is, if i understood your question correctly.
7
Third party / Re: LazProfiler (beta)
« Last post by Pascal on Today at 11:23:00 am »
Ok, be warned! It is a BETA!

Make a backup / spare copy of your "to profile" project sources before trying. I'm glad i did.

Installed and tried with latest trunk. All seams ok when profiling a "small" project. When i try a big project (> 100k lines) i get error 416, list index out of bounds. After that i am unable to reopen and or rebuild the project for normal running / debugging. Als also "Run > Cleanup profiler" does not work on the big project so the code is full of the added profiling enter and exit routines.

Anyone else getting a list index out of bounds?

Strange! I'm sorry you have had trouble with LazProfiler.
At least "Run > Cleanup profiler" should restore the original sources.
The original sources are renamed to original_filename.lazprofiler_backup at it's original positions.

Is your "big project" available to the public? Then i could test it here.

My biggest test project was about 64k lines.
8
General / Debug Information disable, any click?
« Last post by coradi on Today at 11:12:01 am »
Hallo,
how can I compile a new File without Debug and other inforamations with on click?
9
Third party / Re: LazProfiler (beta)
« Last post by Bram71 on Today at 11:12:01 am »
Ok, be warned! It is a BETA!

Make a backup / spare copy of your "to profile" project sources before trying. I'm glad i did.

Installed and tried with latest trunk. All seams ok when profiling a "small" project. When i try a big project (> 100k lines) i get error 416, list index out of bounds. After that i am unable to reopen and or rebuild the project for normal running / debugging. Als also "Run > Cleanup profiler" does not work on the big project so the code is full of the added profiling enter and exit routines.

Anyone else getting a list index out of bounds?
10
General / Re: TLazSerial my best option?
« Last post by Thaddy on Today at 10:31:51 am »
Yes. Very good write up.
More specific the last remark: for reliable communication use a thread.

And use synapse: works perfectly OK on a Raspberry Pi and is very, very stable: hence the code needs less updates, hence you may be fooled it is not maintained: it is maintained, but because it is stable it needs less updates.

Note that means writing code by hand: TLazSerial components aren't very good (my opinion) and it takes just a few lines of code.
Pages: [1] 2 3 ... 10

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus