BCBDELPHI unapproved command line switch

zhaozj2021-02-08  254

Unapproved command line switch in BCB / DELPHI

Undocunted Command-Line Switches

The Delphi IDE supports a number of command-line switches. The release of Delphi 5 documented a number of them, and added many new ones. For those people with earlier versions, the table below shows a list of what is available.

The IDE of BCB / DELPHI supports certain command line switches. Delphi 5 discloses part of it and adds a lot of new switches. For users who use earlier versions, the version availability of these switches is shown in the table below.

Note That Sests-Line Switches Are Case-Insensitive and Can Be Prefixed with Either - OR /.

It is worth noting that all of these command line switches are sensitive. Please add prefix when used.

Undocunted Command-Line Switches Unprecedented Command Board Switch

NS Delphi 2 and Later. No Splash Screen. This Suppresses Display of The Splash Screen During IDE Startup. Delphi2 or more. Disable the Splash screen at startup. hm Delphi 2 and later. Heap Monitor. Displays information in the IDE title bar regarding the amount of memory allocated using the memory manager. Displays the number of blocks and bytes allocated (visible in the screenshot below). Information gets updated when the IDE is iDle. Delphi 2 or more. Stack monitor. The amount of memory allocated by the memory manager is displayed on the title bar of the IDE. Displays allocated memory blocks and bytes (see the screenshot below). And update information when Ide is idle. HV Delphi 3 and Later. HEAP VERIFY. Performs Validation of Memory Allocated Using The Memory Manager. Displays Error Information In The Ide Title Bar IFERRORS Are Found in The Heap. Delphi 3 or more. Pile check. Perform a verification for the memory allocated by the memory manager. After the error is found in the heap, the error message is displayed on the title bar of the IDE. Attach Delphi 4 and Later. Attach to Running Process. this command-line is buy to make delphi 4 a jit debugger on window 45/98 / nt. Delphi 4 or more. A process that is attached to the system run. This switch is used to use Delphi 4 as a JIT (real time) debugger under Windows 95, 98, NT.

The Effect of the Heap Monitor Switch (-hm) Can Be Seen in The screenshot Below:

The effect of the heap monitor switch (-HM) is shown below:

Note That The Heap Verification IS Performed Through A Call To The RTL Routine GetHeapStatus. The Error Codes Are Described in The RTL Include File getMem.inc. Note: The heap check actually called the RTL function GetHeapStatus. The error code is described in the RTL's header file getMem.inc.

Also note that you can set up the IDE as a JIT debugger in the registry under / HKEY_LOCAL_MACHINE / SOFTWARE / Microsoft / WindowsNT / CurrentVersion / AeDebug by setting the Debugger value to C: / Delphi 4.0 / Delphi32.Exe / Attach:% ld, Specifying the appropriate path and version of the appriate. later version of the ide check this value on Startup, And Offer To set it for you, unless to to.

In addition, you can manually edit the key value debugger under the registry / hkey_local_machine / software / microsoft / windowsnt / currentversion / waybug to set to the appropriate version and path. Such as: C: / Delphi 4.0 / Delphi32.exe / attach:% LD, or D: /borland/cbuilder6/bin/bordbg61.exe -aeargs% LD% LD, makes IDE a JIT debugger. 4.0 The version will check this key value at startup and submit the corresponding settings unless you have explicitly stop this feature.

Note: These switches are also used with BCB.

转载请注明原文地址:https://www.9cbs.com/read-2235.html

New Post(0)