Application of Vs2013 in Linux development (17): Debug Parameter passing

Source: Internet
Author: User

Happy Shrimp

http://blog.csdn.net/lights_joy/

Welcome reprint, but please keep the author information


After starting debugging, there is a problem, that is, the debug parameter delivery, when the debugger started, we seem to have been unable to obtain the IDE project parameters, which can only be passed through the debugger's environment variables at this time.


First, define the relevant information for the target machine in the project parameters:


These parameters are then passed in through the debugger's environment variable parameters:


When you start debugging, SDM will be called:


       intIDEBUGENGINELAUNCH2.launchsuspended(stringPszserver,IDebugPort2Port,stringEXE,stringargs,stringdir,stringEnv,stringOptions,Enum_launch_flagsLaunchflags,UINThStdInput,UINTHstdoutput,UINTHstderror,IDebugEventCallback2Ad7callback, outIDebugProcess2Process)


in here Env you can get the environment variables passed in:







Application of Vs2013 in Linux development (17): Debug Parameter passing

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.