Table of Contents
Automated flow options
WinGDB offers several options to customize how much automated certain complex
operations should be. For example, when you add a file to the project, it
might be desirable to automatically transfer the file to the remote development
host. If you use the makefile generator, also regenerating the makefile
would be necessary. WinGDB can do it either automatically, display a question,
or leave it for you to do manually at convenient moment.
To configure these options, go to the Automated flow page on
WinGDB project properties. There are the following options:
- Transfer new files to remote host: when a file is added, it can be automatically
uploaded to the remote host if the mapping requires synchronization. In case of shared mappings
or local operation, this action will be ignored (being not necessary). The transfer also works for renamed files,
although WinGDB will not delete the file under old name from the host. By default, WinGDB will
ask you whether the file should be transfered. You can suppress further asking by
selecting the Remember choice option.
- Update makefile on adding sources: when a file is added, regenerates (or updates)
the makefile in order to reflect the change. This also works for deleted and renamed files.
WinGDB can also ask you whether the makefile should be updated. You can suppress further asking by
selecting the Remember choice option. By default, the automated updating is disabled.
- Open connections on project load: whether to open connection to the remote host
when loading the project. The development host is the build machine (if specified), or the debug
machine otherwise. Since this option can slow down opening projects, it is turned off by default.
You can open connections manually by activating Open connections for source mappings
option. If you turn on automatic opening, you will not have to open them manually. You can also
set the 'Ask user' option, which means that WinGDB will ask you whether to open the connection.
It might be useful if your connection to the remote host is not permanent and you do not
want to open it every time.
- Update CMakeList on files change: whether to update CMakeLists.txt file
when sources in CMake project are added, removed or renamed using Solution Explorer.
- Update makefile before build: when build is initiated, regenerates (or updates)
the makefile. Also might transfer files to the remote host, if any were added (or renamed)
since last build. This option is an alternative to Update makefile on adding sources
and Transfer new files to remote host. It delays updates to the moment of the build,
instead of doing them immediately.
Table of Contents
Copyright (C) 2008-2016 SOFT-ERG. All rights reserved.