Home |
RTTarget-32 Programming Manual Running Win32 Programs without Win32 Running a Program on the Target Prerequisites for Cross Debugging Program DbgShell Compiling and Linking with On Time RTOS-32 |
Program DbgShellProgram DbgShell intercepts a debugger's interaction with the program to be debugged to use RTTarget-32's host <-> target communication module. You must use program DbgShell to start Visual Studio or Borland Delphi to be able to perform cross debugging. The command line syntax of DbgShell is: DbgShell [IDE] [ProjectFile] [IDE Options...] Parameter IDE is the full path name of a Win32 debugger (for example, the path to the Visual Studio executable Devenv.exe). Parameter ProjectFile should be a workspace, project, or solution file to load. Both parameters are optional, but at least one of them must be specified. If the IDE parameter is missing, DbgShell will attempt to locate the program associated with given project file type. If only the IDE parameter is specified, but no project file, the IDE is started without loading a project. Example:DbgShell "C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\Devenv.exe" Hello.x.sln Ideally, On Time RTOS-32 projects should be launched through a Start Menu or Desktop shortcut which invokes DbgShell. Another advantage of DbgShell is that it defines environment variable RTTARGET to point to the On Time RTOS-32 installation directory and that it places the On Time RTOS-32 Bin directory on the PATH before the debugger or IDE is started. Prerequisites for Cross Debugging
|