Sign in Join
Wiki copytemporary

Lazarus command line options: what changed

Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.

OldNewLine
11**[[Lazarus FAQ|lazarus]] \[options\] \<project-filename\>**
22
3-<table>
43<thead>
5-<tr>
6-<th>option</th>
7-<th>short</th>
8-<th>description</th>
9-</tr>
4+
105</thead>
116<tbody>
12-<tr>
13-<td>--help</td>
14-<td>-?</td>
15-<td>this help message</td>
16-</tr>
17-<tr>
18-<td>--version</td>
19-<td>-v</td>
20-<td>show version and exit</td>
21-</tr>
22-<tr>
23-<td>--quiet</td>
24-<td></td>
25-<td>be less verbose, can be given multiple times</td>
26-</tr>
27-<tr>
28-<td>--verbose</td>
29-<td></td>
30-<td>be more verbose, can be given multiple times</td>
31-</tr>
32-<tr>
33-<td>--setup</td>
34-<td></td>
35-<td>Show setup dialog for most important settings</td>
36-</tr>
37-<tr>
38-<td>--primary-config-path=&lt;path&gt;</td>
39-<td>--pcp=&lt;path&gt;</td>
40-<td>primary config directory where Lazarus stores its config files. Default is /home/USER/.lazarus</td>
41-</tr>
42-<tr>
43-<td>--secondary-config-path= &lt;path&gt;</td>
44-<td>--scp=&lt;path&gt;</td>
45-<td>secondary config directory where Lazarus searches for config template files. Default is /etc/lazarus</td>
46-</tr>
47-<tr>
48-<td>--debug-log= &lt;file&gt;</td>
49-<td></td>
50-<td>file where debug output is written to. If it is not specified, debug output is written to the console.</td>
51-</tr>
52-<tr>
53-<td>--debug-enable= [[-]OptName][,[-]OptName][...]</td>
54-<td></td>
55-<td>Enable or Disable groups of debug output. Valid Options are:<br />
7+
568DBG_VERBOSE, DBG_WARNINGS, DBG_STATE. DBG_EVENTS, DBG_STATE_EVENT, DBG_DATA_MONITORS, DBG_DISASSEMBLER, DBG_LOCATION_INFO, SYNMOUSEEVENTS, SRCED_LOCK, SRCED_OPEN, SRCED_CLOSE, SRCED_PAGES, DBG_CMD_ECHO, DBG_CMD_ECHO_FULL, DBGMI_TYPE_INFO, DBGMI_TIMEOUT_DEBUG, DBG_THREAD_AND_FRAME, DBGMI_QUEUE_DEBUG, DBGMI_STRUCT_PARSER, FPDBG_VERBOSE_MEM, FPDBG_THREADS, DBG_ERRORS, FPDBG_DWARF_VERBOSE, FPDBG_DWARF_ERRORS, FPDBG_DWARF_WARNINGS, FPDBG_DWARF_SEARCH, FPDBG_DWARF_DATA_WARNINGS, FPDBG_QUEUE, DBG_BREAKPOINTS, FPDBG_COMMANDS</td>
57-</tr>
58-<tr>
59-<td>--no-splash-screen</td>
60-<td>--nsc</td>
61-<td>Do not show splash screen</td>
62-</tr>
63-<tr>
64-<td>--force-new-instance</td>
65-<td></td>
66-<td>Do not check if another IDE instance is already running</td>
67-</tr>
68-<tr>
69-<td>--skip-last-project</td>
70-<td></td>
71-<td>Skip loading last project</td>
72-</tr>
73-<tr>
74-<td>--language=</td>
75-<td></td>
76-<td>Override language. For example --language=de. For possible values see files in the languages directory.</td>
77-</tr>
78-<tr>
79-<td>--lazarusdir=&lt;dir&gt;</td>
80-<td></td>
81-<td>directory to be used as a basedirectory</td>
82-</tr>
83-<tr>
84-<td>--lcl-no-transient</td>
85-<td></td>
86-<td>Do not set transient order for modal forms</td>
87-</tr>
88-<tr>
89-<td>--gtk-module module</td>
90-<td></td>
91-<td>Load the specified module at startup.</td>
92-</tr>
93-<tr>
94-<td>--g-fatal-warnings</td>
95-<td></td>
96-<td>Warnings and errors generated by Gtk+/GDK will halt the application.</td>
97-</tr>
98-<tr>
99-<td>--gtk-debug flags</td>
100-<td></td>
101-<td>Turn on specific Gtk+ trace/debug messages.</td>
102-</tr>
103-<tr>
104-<td>--gtk-no-debug flags</td>
105-<td></td>
106-<td>Turn off specific Gtk+ trace/debug messages.</td>
107-</tr>
108-<tr>
109-<td>--gdk-debug flags</td>
110-<td></td>
111-<td>Turn on specific GDK trace/debug messages.</td>
112-</tr>
113-<tr>
114-<td>--gdk-no-debug flags</td>
115-<td></td>
116-<td>Turn off specific GDK trace/debug messages.</td>
117-</tr>
118-<tr>
119-<td>--display h:s:d</td>
120-<td></td>
121-<td>Connect to the specified X server, where "h" is the hostname, "s" is the server number (usually 0), and "d" is the display number (typically omitted). If --display is not specified, the DISPLAY environment variable is used.</td>
122-</tr>
123-<tr>
124-<td>--sync</td>
125-<td></td>
126-<td>Call XSynchronize (display, True) after the Xserver connection has been established. This makes debugging X protocol errors easier, because X request buffering will be disabled and X errors will be received immediately after the protocol request that generated the error has been processed by the X server.</td>
127-</tr>
128-<tr>
129-<td>--no-xshm</td>
130-<td></td>
131-<td>Disable use of the X Shared Memory Extension.</td>
132-</tr>
133-<tr>
134-<td>--name programe</td>
135-<td></td>
136-<td>Set program name to "progname". If not specified, program name will be set to ParamStrUTF8(0).</td>
137-</tr>
138-<tr>
139-<td>--class classname</td>
140-<td></td>
141-<td>Following Xt conventions, the class of a program is the program name with the initial character capitalized. For example, the classname for gimp is "Gimp". If --class is specified, the class of the program will be set to "classname".</td>
142-</tr>
143-<tr>
144-<td>--disableaccurateframe</td>
145-<td></td>
146-<td>disables fully accurate window frame under X11. This feature is implemented for Qt, Qt5 and Gtk2 interfaces and used mostly by GetWindowRect().</td>
147-</tr>
9+
14810</tbody>
149-</table>
15011
15112---
15213*From the Free Pascal wiki, page "Lazarus command line options", as it stood on 2022-05-28 after a change by Trev, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*
15314Category: Debugging
15415Category: Lazarus

Back to history