1. iliyan iliev
  2. PowerBuilder
  3. Friday, 18 December 2020 12:28 PM UTC

It's possible to remote debugging of WebService(obsolte) on IIS on remote machine ?!

Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Friday, 18 December 2020 15:49 PM UTC
  2. PowerBuilder
  3. # 1

You can debug the PowerScript code itself is correct in PB IDE using the debugger, but debugging of the generated service itself is limited.  I strongly recommend to use the PowerScript Migrator and convert this to a C# REST API and use the RESTClient object to call it from PB.

Comment
  1. iliyan iliev
  2. Friday, 18 December 2020 16:25 PM UTC
When I use Localhost PB IDE connect to IIS and debugging works.

When i try to connect on remote machine only popup msg attach ASP.NET and counter.

PB IDE don't connect and don't debugging. It's possible to connect PB IDE to remote IIS ?!
  1. Helpful
  1. Armeen Mazda @Appeon
  2. Friday, 18 December 2020 16:37 PM UTC
Sorry, I don't know if it can do this or not. Let's see if other people who have used this feature have the answer.

But please consider to stop using obsolete feature so that if problems you can get tech support from Appeon.
  1. Helpful
  1. iliyan iliev
  2. Friday, 18 December 2020 18:12 PM UTC
10x for advice :) this is a service that I migrate from EAServer to IIS :) In the Future maybe convert with PS Migrator :)
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 18 December 2020 18:25 PM UTC
  2. PowerBuilder
  3. # 2

Hi iliyan;

  When Sybase added this feature in PB 11.x, the remote debugging feature only worked with your local IIS instance. When I asked about that restriction, the Sybase engineers told me that they use the .NET debugger for this task (which PB calls for this functionality).  They told me that the remote IIS debugging was a restriction of the .NET Debugger / Framework and not PB's.

HTH  Regards ... Chris

Comment
  1. Chris Pollach @Appeon
  2. Friday, 18 December 2020 18:58 PM UTC
Welcome Armeen!

However, iliyan should also note that Appeon (comapared to Sybase or SAP) has also now provided a solution for this restriction in the name of the "online" PB license feature. That means that iliyan can install a copy of the PB IDE on the various IIS machines where the old .NET 2.0 WS Objects are running. In a trouble situation (or even just for monitoring), iliyan could remote into an IIS machine and then login to the other PB IDE instance (now local to that IIS instance) using his Appeon "online" license credentials. Then he can remote monitor / debug the now local (to that PB IDE's IIS instance) the IIS based WS exceution from there. Food for thought.

Of course, that's just a temporary solution until iliyan can convert these to Snap based WS's. ;-)
  1. Helpful
  1. iliyan iliev
  2. Saturday, 19 December 2020 21:07 PM UTC
Chris this is solution if the remote machine have internet connection, but this machine separately from internet and online license doesn't work.
  1. Helpful
  1. Chris Pollach @Appeon
  2. Sunday, 20 December 2020 03:03 AM UTC
It was a good thought while the servers have internet access as one online PB license would suffice. Unfortunately, the off-line license would work but you would be incurring a cost per PB install per machine.
  1. Helpful
There are no comments made yet.
Kevin Ridley Accepted Answer Pending Moderation
  1. Saturday, 19 December 2020 16:06 PM UTC
  2. PowerBuilder
  3. # 3

Can you tell us more about what you're trying to do?  Are you having an internal error in the web service and you want to step through it, or are you trying to see what the response is that's coming back?  If you are just trying to see and debug what's in the response, you can use Postman or Fiddler to trap both the request and response.  I've used those tons of times to figure out what's wrong with my request and/or response.  If you're trying to debug internally what's going on in the service and you control the service, add logging at key points of the service and re-deploy it.

 

Kevin

Comment
  1. iliyan iliev
  2. Saturday, 19 December 2020 21:04 PM UTC
This one of solution for debug.it takes more time. it is much easier to put a breakpoint and click debug and start debugging :)
  1. Helpful
  1. Kevin Ridley
  2. Monday, 21 December 2020 17:55 PM UTC
I'm just telling you what you *CAN* do versus what you *CAN'T* do but want to. ;-)
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.