21 个解决方案
#1
呵呵~~
给你个建议:直接双击你的工程文件启动delphi;
给你个建议:直接双击你的工程文件启动delphi;
#2
可以直接打开,不用理会自动创建的工程.
#3
不错,刚在别处找了个办法,Delphi快捷方式里启动指令后面加 -np 也可以
#4
受教了,谢谢楼上
#5
Delphi快捷方式里启动指令后面加 -np
这样可以?试下
这样可以?试下
#6
学习
#7
学到一招
#8
顶
#9
受教育了
#10
3楼的方法确实好用哈哈,受教了
#11
顶下
#12
学到了
#13
学习了.
#14
学习了
#15
顶
#16
学习了.
#17
摘自Delphi帮助;
For example:
delphi32.exe -ns -hm
Starts the IDE with no splash screen and tracks memory allocation.
delphi32.exe 杝dc:\test\source 杁 c:\test\myprog.exe -td
Starts the IDE and loads c:\test\myprog.exe into the debugger and used c:\test\source as the location for the source code while debugging. The 杢d and any other argument that appears after the 杁exename debugger option is used as an argument to c:\test\myprog.exe.
General options
Option Description
? Launches the IDE and displays online help for IDE command-line options.
-- Ignore rest of command line.
hm 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. Information gets updated when the IDE is idle.
hv Heap Verify. Performs validation of memory allocated using the memory manager. Displays error information in the IDE title bar if errors are found in the heap.
ns No splash screen. Suppresses display of the splash screen during IDE startup.
np No Project. Supresses loading of any desktop files on IDE startup and suppresses creation of a default project.
Debugger options
Option Description
attach:%1;%2 Performs a debug attach, using %1 as the process ID to attach to and %2 as the event ID for that process. It can be used manually, but is used mostly for Just in Time debugging.
dexename Loads the specified executable (exename) into the debugger. Any parameters specified after the exename are used as parameters to the program being debugged and are ignored by the IDE. A space is allowed between the d and the exename.
The following options can only be used with the -d option:
hhostname Hostname. Must be used with the d option. When specified, a remote debug session is initiated using the specified host name as the remote host to debug on. The remote debug server program must be running on the remote host.
l (Lowercase L) Assembler startup. Do not execute startup code. Must be used with the d option. Normally, when you specify the d option, the debugger attempts to run the process to either main or WinMain. When l is specified, the process is merely loaded and no startup code is executed.
sddirectories Source Directories. Must be used with the d option. The argument is either a single directory or a semicolon delimited list of directories which are used as the Debug Source Path setting (can also be set using the Project|Options|Directories/Conditionals option page). No space is allowed between sd and the directory list argument.
td TDGoodies. Implements several features found in the Turbo Debugger, TD32 (available on Windows only). It must be used with the d option. It causes the CPU and FPU views to stay open when a process terminates. It causes Run|Program Reset to terminate the current process and reload it in the debugger. If there is no current process, Run|Program Reset reloads the last process that terminated. It also causes breakpoints and watches to be saved in the default desktop if desktop saving is on and no project is loaded.
Project options
Option Description
filename (No preceding dash) The specified filename is loaded in the IDE. It can be a project, project group, or a single file.
b AutoBuild. Must be used with the filename option. When specified, the project or project group is built automatically when the IDE starts. Any hints, errors, or warnings are then saved to a file. Then the IDE exits. This facilitates doing builds in batch mode from a batch file. The Error Level is set to 0 for successful builds and 1 for failed builds. By default, the output file has the same name as the filename specified with the file extension changed to .err. This can be overridden using the o option.
m AutoMake. Same as AutoBuild, but a make is performed rather than a full build.
ooutputfile Output file. Must be used the b or m option. When specified, any hints, warnings, or errors are written to the file specified instead of the default file.
For example:
delphi32.exe -ns -hm
Starts the IDE with no splash screen and tracks memory allocation.
delphi32.exe 杝dc:\test\source 杁 c:\test\myprog.exe -td
Starts the IDE and loads c:\test\myprog.exe into the debugger and used c:\test\source as the location for the source code while debugging. The 杢d and any other argument that appears after the 杁exename debugger option is used as an argument to c:\test\myprog.exe.
General options
Option Description
? Launches the IDE and displays online help for IDE command-line options.
-- Ignore rest of command line.
hm 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. Information gets updated when the IDE is idle.
hv Heap Verify. Performs validation of memory allocated using the memory manager. Displays error information in the IDE title bar if errors are found in the heap.
ns No splash screen. Suppresses display of the splash screen during IDE startup.
np No Project. Supresses loading of any desktop files on IDE startup and suppresses creation of a default project.
Debugger options
Option Description
attach:%1;%2 Performs a debug attach, using %1 as the process ID to attach to and %2 as the event ID for that process. It can be used manually, but is used mostly for Just in Time debugging.
dexename Loads the specified executable (exename) into the debugger. Any parameters specified after the exename are used as parameters to the program being debugged and are ignored by the IDE. A space is allowed between the d and the exename.
The following options can only be used with the -d option:
hhostname Hostname. Must be used with the d option. When specified, a remote debug session is initiated using the specified host name as the remote host to debug on. The remote debug server program must be running on the remote host.
l (Lowercase L) Assembler startup. Do not execute startup code. Must be used with the d option. Normally, when you specify the d option, the debugger attempts to run the process to either main or WinMain. When l is specified, the process is merely loaded and no startup code is executed.
sddirectories Source Directories. Must be used with the d option. The argument is either a single directory or a semicolon delimited list of directories which are used as the Debug Source Path setting (can also be set using the Project|Options|Directories/Conditionals option page). No space is allowed between sd and the directory list argument.
td TDGoodies. Implements several features found in the Turbo Debugger, TD32 (available on Windows only). It must be used with the d option. It causes the CPU and FPU views to stay open when a process terminates. It causes Run|Program Reset to terminate the current process and reload it in the debugger. If there is no current process, Run|Program Reset reloads the last process that terminated. It also causes breakpoints and watches to be saved in the default desktop if desktop saving is on and no project is loaded.
Project options
Option Description
filename (No preceding dash) The specified filename is loaded in the IDE. It can be a project, project group, or a single file.
b AutoBuild. Must be used with the filename option. When specified, the project or project group is built automatically when the IDE starts. Any hints, errors, or warnings are then saved to a file. Then the IDE exits. This facilitates doing builds in batch mode from a batch file. The Error Level is set to 0 for successful builds and 1 for failed builds. By default, the output file has the same name as the filename specified with the file extension changed to .err. This can be overridden using the o option.
m AutoMake. Same as AutoBuild, but a make is performed rather than a full build.
ooutputfile Output file. Must be used the b or m option. When specified, any hints, warnings, or errors are written to the file specified instead of the default file.
#18
5楼的方法可以~~~
#19
顶
#20
orz.. 我也试试看
#21
支持搂主,收藏
#1
呵呵~~
给你个建议:直接双击你的工程文件启动delphi;
给你个建议:直接双击你的工程文件启动delphi;
#2
可以直接打开,不用理会自动创建的工程.
#3
不错,刚在别处找了个办法,Delphi快捷方式里启动指令后面加 -np 也可以
#4
受教了,谢谢楼上
#5
Delphi快捷方式里启动指令后面加 -np
这样可以?试下
这样可以?试下
#6
学习
#7
学到一招
#8
顶
#9
受教育了
#10
3楼的方法确实好用哈哈,受教了
#11
顶下
#12
学到了
#13
学习了.
#14
学习了
#15
顶
#16
学习了.
#17
摘自Delphi帮助;
For example:
delphi32.exe -ns -hm
Starts the IDE with no splash screen and tracks memory allocation.
delphi32.exe 杝dc:\test\source 杁 c:\test\myprog.exe -td
Starts the IDE and loads c:\test\myprog.exe into the debugger and used c:\test\source as the location for the source code while debugging. The 杢d and any other argument that appears after the 杁exename debugger option is used as an argument to c:\test\myprog.exe.
General options
Option Description
? Launches the IDE and displays online help for IDE command-line options.
-- Ignore rest of command line.
hm 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. Information gets updated when the IDE is idle.
hv Heap Verify. Performs validation of memory allocated using the memory manager. Displays error information in the IDE title bar if errors are found in the heap.
ns No splash screen. Suppresses display of the splash screen during IDE startup.
np No Project. Supresses loading of any desktop files on IDE startup and suppresses creation of a default project.
Debugger options
Option Description
attach:%1;%2 Performs a debug attach, using %1 as the process ID to attach to and %2 as the event ID for that process. It can be used manually, but is used mostly for Just in Time debugging.
dexename Loads the specified executable (exename) into the debugger. Any parameters specified after the exename are used as parameters to the program being debugged and are ignored by the IDE. A space is allowed between the d and the exename.
The following options can only be used with the -d option:
hhostname Hostname. Must be used with the d option. When specified, a remote debug session is initiated using the specified host name as the remote host to debug on. The remote debug server program must be running on the remote host.
l (Lowercase L) Assembler startup. Do not execute startup code. Must be used with the d option. Normally, when you specify the d option, the debugger attempts to run the process to either main or WinMain. When l is specified, the process is merely loaded and no startup code is executed.
sddirectories Source Directories. Must be used with the d option. The argument is either a single directory or a semicolon delimited list of directories which are used as the Debug Source Path setting (can also be set using the Project|Options|Directories/Conditionals option page). No space is allowed between sd and the directory list argument.
td TDGoodies. Implements several features found in the Turbo Debugger, TD32 (available on Windows only). It must be used with the d option. It causes the CPU and FPU views to stay open when a process terminates. It causes Run|Program Reset to terminate the current process and reload it in the debugger. If there is no current process, Run|Program Reset reloads the last process that terminated. It also causes breakpoints and watches to be saved in the default desktop if desktop saving is on and no project is loaded.
Project options
Option Description
filename (No preceding dash) The specified filename is loaded in the IDE. It can be a project, project group, or a single file.
b AutoBuild. Must be used with the filename option. When specified, the project or project group is built automatically when the IDE starts. Any hints, errors, or warnings are then saved to a file. Then the IDE exits. This facilitates doing builds in batch mode from a batch file. The Error Level is set to 0 for successful builds and 1 for failed builds. By default, the output file has the same name as the filename specified with the file extension changed to .err. This can be overridden using the o option.
m AutoMake. Same as AutoBuild, but a make is performed rather than a full build.
ooutputfile Output file. Must be used the b or m option. When specified, any hints, warnings, or errors are written to the file specified instead of the default file.
For example:
delphi32.exe -ns -hm
Starts the IDE with no splash screen and tracks memory allocation.
delphi32.exe 杝dc:\test\source 杁 c:\test\myprog.exe -td
Starts the IDE and loads c:\test\myprog.exe into the debugger and used c:\test\source as the location for the source code while debugging. The 杢d and any other argument that appears after the 杁exename debugger option is used as an argument to c:\test\myprog.exe.
General options
Option Description
? Launches the IDE and displays online help for IDE command-line options.
-- Ignore rest of command line.
hm 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. Information gets updated when the IDE is idle.
hv Heap Verify. Performs validation of memory allocated using the memory manager. Displays error information in the IDE title bar if errors are found in the heap.
ns No splash screen. Suppresses display of the splash screen during IDE startup.
np No Project. Supresses loading of any desktop files on IDE startup and suppresses creation of a default project.
Debugger options
Option Description
attach:%1;%2 Performs a debug attach, using %1 as the process ID to attach to and %2 as the event ID for that process. It can be used manually, but is used mostly for Just in Time debugging.
dexename Loads the specified executable (exename) into the debugger. Any parameters specified after the exename are used as parameters to the program being debugged and are ignored by the IDE. A space is allowed between the d and the exename.
The following options can only be used with the -d option:
hhostname Hostname. Must be used with the d option. When specified, a remote debug session is initiated using the specified host name as the remote host to debug on. The remote debug server program must be running on the remote host.
l (Lowercase L) Assembler startup. Do not execute startup code. Must be used with the d option. Normally, when you specify the d option, the debugger attempts to run the process to either main or WinMain. When l is specified, the process is merely loaded and no startup code is executed.
sddirectories Source Directories. Must be used with the d option. The argument is either a single directory or a semicolon delimited list of directories which are used as the Debug Source Path setting (can also be set using the Project|Options|Directories/Conditionals option page). No space is allowed between sd and the directory list argument.
td TDGoodies. Implements several features found in the Turbo Debugger, TD32 (available on Windows only). It must be used with the d option. It causes the CPU and FPU views to stay open when a process terminates. It causes Run|Program Reset to terminate the current process and reload it in the debugger. If there is no current process, Run|Program Reset reloads the last process that terminated. It also causes breakpoints and watches to be saved in the default desktop if desktop saving is on and no project is loaded.
Project options
Option Description
filename (No preceding dash) The specified filename is loaded in the IDE. It can be a project, project group, or a single file.
b AutoBuild. Must be used with the filename option. When specified, the project or project group is built automatically when the IDE starts. Any hints, errors, or warnings are then saved to a file. Then the IDE exits. This facilitates doing builds in batch mode from a batch file. The Error Level is set to 0 for successful builds and 1 for failed builds. By default, the output file has the same name as the filename specified with the file extension changed to .err. This can be overridden using the o option.
m AutoMake. Same as AutoBuild, but a make is performed rather than a full build.
ooutputfile Output file. Must be used the b or m option. When specified, any hints, warnings, or errors are written to the file specified instead of the default file.
#18
5楼的方法可以~~~
#19
顶
#20
orz.. 我也试试看
#21
支持搂主,收藏