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

How do you debug applications running on Citrix

stminfo
stminfo asked
on
Medium Priority
2,351 Views
Last Modified: 2012-05-05
I have a large and complex application written in C# (written using Microsoft Visual Studio 2003) that I run under Windows XP.  I need to run this application on the Citrix MetaFrame Presentation Server.  The question I have is how does one debug such an application.  When not using Citrix, I can step through the code using Visual Studio.  I have some bugs that only occur when running on Citrix.  How can I step through code in this case?

Thanks!
Comment
Watch Question

Commented:
you will not be able to debug like this unless you install Visual Studio on Citrix (which I wouldn't if I was you). Imagine a client running the compiled application and gets an error. Would you be able to step through?
I would suggest you to keep some sort of status messages on each operation and you will be able atleast to findout which block is causing the problem.

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

Ask the Experts
This is the approach that I take for debugging apps that I've written for Citrix servers (my apps are written in Delphi though)...

For testing & debugging, install VMware Workstation on your PC and set up a Citrix Presentation Server in a Virtual Machine (VM). Install VisualStudio (if you need it for debugging) and your app in the VM. You can install Citrix Program Neighbourhood onto your PC and use it to connect as a user (or developer / admin) on the VM, where you can test and debug the app.
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.