Author Topic: Can't set application cmd-line params for WinDbg session in VC Proj  (Read 5031 times)

stizya

  • Junior Community Member
  • Posts: 2
  • Hero Points: 0
Hi,

I am evaluating SlickEdit v 15.0.0.6. In particular I am debuging using VC Project. I was able to set up my application cmd line parameters in "Execute" session in project properties. But I dont know how to do it for DebugWinDbg session, unfortuanatly these parameters are not passed to DebugWinDbg session by default.

Could anyone show me the correct way to do it?

THANKS!

Lee

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1299
  • Hero Points: 130
Yes, there is a way.  On the SlickEdit command-line, enter the command vcproj_debug_options.  There is a screenshot of this in the SlickEdit Help, in the Using WinDbg section.  Command-line parameters can be added on the executable name for any or all Configurations. You need to specify the executable name, but you can use the alias %o like you can on the Project Properties command-line for output file.  Something like this:
Executable Name:  "%o" arg1 arg2 arg3

Symbols Path can be left empty if your symbols are already being picked up by the compiler debugger.
« Last Edit: June 25, 2010, 01:36:27 PM by Lee »

stizya

  • Junior Community Member
  • Posts: 2
  • Hero Points: 0
Yes, it works for me. :)
Thank you.