We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

variable post-build command execution

szafran
szafran asked
on
Medium Priority
406 Views
Last Modified: 2013-11-22
Hi

I'm using post-build commands to do some things after building my project. Unfortunatelly those commands make some changes to the exe file that prevent me from debugging. Is the any way to make those commands execute only when I do a build, and not when I run for debugging ?

Szafran
Comment
Watch Question

Geert GOracle dba
CERTIFIED EXPERT
Top Expert 2009

Commented:
you could check if the debughook is not 0
if not 0, then the program is running from the debugger

Author

Commented:
can you post a statement how can i check for it in the post-build command line ?
Oracle dba
CERTIFIED EXPERT
Top Expert 2009
Commented:
if debughook <> 0 then
  ShowMessage('debugging');

what is exactly you are debugging, with those post-build commands ?
change the exe name ?

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.