Sign in Join
Wiki copytemporary

Lazarus command line options: what changed

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

OldNewLine
11**[[Lazarus FAQ|lazarus]] \[options\] \<project-filename\>**
22
3-<thead>
4-
5-</thead>
6-<tbody>
7-
8-DBG_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>
9-
10-</tbody>
3+| option | short | description |
4+|---|---|---|
5+| --help | -? | this help message |
6+| --version | -v | show version and exit |
7+| --quiet | | be less verbose, can be given multiple times |
8+| --verbose | | be more verbose, can be given multiple times |
9+| --setup | | Show setup dialog for most important settings |
10+| --primary-config-path=<path> | --pcp=<path> | primary config directory where Lazarus stores its config files. Default is /home/USER/.lazarus |
11+| --secondary-config-path= <path> | --scp=<path> | secondary config directory where Lazarus searches for config template files. Default is /etc/lazarus |
12+| --debug-log= <file> | | file where debug output is written to. If it is not specified, debug output is written to the console. |
13+| --debug-enable= [[-]OptName][,[-]OptName][...] | | Enable or Disable groups of debug output. Valid Options are: · DBG_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 |
14+| --no-splash-screen | --nsc | Do not show splash screen |
15+| --force-new-instance | | Do not check if another IDE instance is already running |
16+| --skip-last-project | | Skip loading last project |
17+| --language= | | Override language. For example --language=de. For possible values see files in the languages directory. |
18+| --lazarusdir=<dir> | | directory to be used as a basedirectory |
19+| --lcl-no-transient | | Do not set transient order for modal forms |
20+| --gtk-module module | | Load the specified module at startup. |
21+| --g-fatal-warnings | | Warnings and errors generated by Gtk+/GDK will halt the application. |
22+| --gtk-debug flags | | Turn on specific Gtk+ trace/debug messages. |
23+| --gtk-no-debug flags | | Turn off specific Gtk+ trace/debug messages. |
24+| --gdk-debug flags | | Turn on specific GDK trace/debug messages. |
25+| --gdk-no-debug flags | | Turn off specific GDK trace/debug messages. |
26+| --display h:s:d | | 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. |
27+| --sync | | 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. |
28+| --no-xshm | | Disable use of the X Shared Memory Extension. |
29+| --name programe | | Set program name to "progname". If not specified, program name will be set to ParamStrUTF8(0). |
30+| --class classname | | 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". |
31+| --disableaccurateframe | | disables fully accurate window frame under X11. This feature is implemented for Qt, Qt5 and Gtk2 interfaces and used mostly by GetWindowRect(). |
1132
1233---
1334*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).*
1435Category: Debugging
1536Category: Lazarus

Back to history