My solution has tho projects main executable and *.so project that dynamicly loaded with dlopen.
When i hit breakpoint in lib project – VisualGDB downloads this file from server instead of using project file?
Or if it impossible can i apply defines to auto download sources?
The main project needs to reference the library projects. Then VisualGDB will automatically grab the path mappings from them when debugging the main project.
Alternatively you can specify the mappings for the library sources manually via VisualGDB Project Properties -> Path Mapping.
I know about per user variables. bit i want something different behavior – i want add path mapping only for me, not different paths for different users.
This is not supported directly, however can be easily achieved with per-user variables: simply set them so that other users will have an irrelevant mapping (like /tmp/suchpath <=> c:\nosuchpath) and you will get the same effect.