It's possible to remote debugging of WebService(obsolte) on IIS on remote machine ?!
- You are here:
- Home
- Q&A
- Q&A
- PowerBuilder
- Remote debugging WebService(Obsolete)
- iliyan iliev
- PowerBuilder
- Friday, 18 December 2020 12:28 PM UTC
- Saturday, 19 December 2020 16:06 PM UTC
- PowerBuilder
- # 1
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
- iliyan iliev
- Saturday, 19 December 2020 21:04 PM UTC
-
Helpful Loading... Helpful 0
- Kevin Ridley
- Monday, 21 December 2020 17:55 PM UTC
-
Helpful Loading... Helpful 0
- Friday, 18 December 2020 18:25 PM UTC
- PowerBuilder
- # 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
- Chris Pollach @Appeon
- Friday, 18 December 2020 18:58 PM UTC
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. ;-)
-
Helpful Loading... Helpful 0
- iliyan iliev
- Saturday, 19 December 2020 21:07 PM UTC
-
Helpful Loading... Helpful 0
- Chris Pollach @Appeon
- Sunday, 20 December 2020 03:03 AM UTC
-
Helpful Loading... Helpful 0
- Friday, 18 December 2020 15:49 PM UTC
- PowerBuilder
- # 3
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.
- iliyan iliev
- Friday, 18 December 2020 16:25 PM UTC
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 ?!
-
Helpful Loading... Helpful 0
- Armeen Mazda @Appeon
- Friday, 18 December 2020 16:37 PM UTC
But please consider to stop using obsolete feature so that if problems you can get tech support from Appeon.
-
Helpful Loading... Helpful 0
- iliyan iliev
- Friday, 18 December 2020 18:12 PM UTC
-
Helpful Loading... Helpful 0
- Page :
- 1
However, you are not allowed to reply to this question.