CanNOT Debug in Citrix Session or Terminal Server session

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Locked
User avatar
FrankAndrew
Posts: 138
Joined: Thu Oct 26, 2006 7:00 pm

CanNOT Debug in Citrix Session or Terminal Server session

Post by FrankAndrew »

Product, version and build: PrimalScript 2016 7.2.92
32 or 64 bit version of product: 64
Operating system: Windows 2008 R2 Enterprise, running Citrix Xenapp 6.5 Rollup 5
32 or 64 bit OS: 64

PrimalScript 2016 can NOT debug when running in a Citrix session or connecting using MSTSC.exe from Microsoft.

When starting the Debugger in PS 2016 I get the following error message:
First error when Debugging on Citrix
First error when Debugging on Citrix
2016.08.23_15-53-08_First_error_Message_when_Debugging_on_Citrix.png (6.34 KiB) Viewed 2268 times
PS 2016 is then "stuck" in the Debug Mode, even after I terminate PS 2016 and restart it, it comes back up in the debug mode.
This does NOT change even when logging off and back on again!

When I log off the first time after starting the Debug Mode I get the following error message:
Second error when Debugging on Citrix
Second error when Debugging on Citrix
2016.08.23_16-01-27_Second_Error_when_Debugging_on_Citrix_when_Logging_Off.png (13.7 KiB) Viewed 2268 times
This is the same when I connect to the same machine using the MSTSC.exe client.

What can I do to get PS 2016 out of the stuck Debug Mode?

When can you fix this?

User avatar
Alexander Riedel
Posts: 7404
Joined: Tue May 29, 2007 4:43 pm

Re: CanNOT Debug in Citrix Session or Terminal Server session

Post by Alexander Riedel »

The first error happens because you have a firewall that prevents local port connections. You need to consult with your Citrix folks on how to fix that.
As for the second error, PrimalScript has no mechanism to maintain a debug mode across sessions. So I cannot really tell you how to undo that, since this cannot really happen across sessions. My suspicion is that you terminal server maintains sessions across logins.

The V2 driver crash is caused by either your locked down local ports or by the absence of a V2 engine. I cannot tell from the information what it is.

I would suggest that you get everything you need working on a 2008 R2 physical box and then see that you apply the same config to your Citrix environment.
We do not have a Citrix environment I could test in, so I don't know a lot about that.
Alexander Riedel
SAPIEN Technologies, Inc.

DevinL
Site Admin
Posts: 1098
Joined: Mon Aug 17, 2015 2:25 pm

Re: CanNOT Debug in Citrix Session or Terminal Server session

Post by DevinL »

I'm trying to setup a Citrix environment to help figure out the reason behind this.

Before I continue I would like to verify if you're using Citrix XenServer or another Citrix product that I'm unaware of.
DevinL
SAPIEN Technologies, Inc.

User avatar
FrankAndrew
Posts: 138
Joined: Thu Oct 26, 2006 7:00 pm

Re: CanNOT Debug in Citrix Session or Terminal Server session

Post by FrankAndrew »

Hi DevinL,

As far as I know it is the XenServer.

Here again is the Infos that I got from our OS People:

running Citrix Xenapp 6.5 Rollup 5

This info was also included at the top of this Topic right after the OS info.

If there is anything else you Need from us let me know.

DevinL
Site Admin
Posts: 1098
Joined: Mon Aug 17, 2015 2:25 pm

Re: CanNOT Debug in Citrix Session or Terminal Server session

Post by DevinL »

My apologies, I seem to have missed that part.

In that case I'll see what I can do to reproduce this on our end, thanks.
DevinL
SAPIEN Technologies, Inc.

Locked