Is it possible to debug two or more web applications at the same time.
I’m trying to run my web service and web client application in debug mode at the same time. But the system is not able to run the second application in debug mode.
I’m using xojo in a windows environment. Did anyone encounter this issue too?
This is driving mad. All items you mentioned are unique and still, the second application is not launching.
I’m receiving a dialog with options to “Continue Waiting”, “Hide” or “Cancel”.
The second application is trying to use the same tab in my browser (I have tried Chrome, IE and Firefox). I can see that the second application is frustrating the first application.
I have created 2 simple web applications with a unique;
Application name
Debug port
Application ID
But no luck. Xojo is still not able to execute the second application. The same dialog screen is displayed with options as described before.
I’m using xojo in a windows 10 environment. I have tried your option, but again no luck.
I wonder whether you guys are encountering this strange issue.
I’m using xojo in a windows 10 environment. I have tried your option, but again no luck.
I wonder whether you guys are encountering this strange issue.[/quote]
See, sometimes omitting a crucial detail masks the issue. I tried before on Mac and could never evidence the problem. Now that you mentioned Windows 10, I can confirm indeed that the second app never launches.
More interesting, the workaround I suggested of running one in 2015R3.1 and the other in 2015R4 does not work either. I suspect some conflict, maybe some mutex.
The only way I see now is to build one of your programs. I did just that. First program I built as standalone for Windows with port 8080. I double clicked on the exe, then in Chrome, went to http://127.0.0.1:8080. It works just as well in Internet Explorer.
I noted an issue with Edge : for some reason, it displays a box saying it needs to open an application, but the Open button stays grey disabled.
Then the other application I set the debug port to 8081 and ran it just fine.
I figured that it’s a windows 10 issue. I have tried all kind of workarounds, nothing seems to work. This is really a show stopper, I’m trying to build a web service application, but this type of issues really get you down.
I will file a bug report for now.
I figured that it’s a windows 10 issue. I have tried all kind of workarounds, nothing seems to work. This is really a show stopper, I’m trying to build a web service application, but this type of issues really get you down.
I will file a bug report for now.
Thanks for your help.[/quote]
It is only an issue if you try to run in the IDE two different programs. If you run one of them as a build, that lets you debug the other one just fine.
I did verify that two builds program run fine as well, which is the most important.
I was thinking (surprise)…Can Remote debugging be used?
Start a VM that runs the remote debugger and debug one of your apps using that and the other app locally?
I don’t have Windows so I can’t test it out though.
The issue may have been here for a while. I just see it in 2014R2.1 under Win 10.
It is not everyday that two apps need to be run simultaneously within the IDE, so that may explain why it has not been spotted earlier.
[quote=237238:@Albin Kiland]I was thinking (surprise)…Can Remote debugging be used?
Start a VM that runs the remote debugger and debug one of your apps using that and the other app locally?
I don’t have Windows so I can’t test it out though.[/quote]
Good idea. Worth trying. It should work, since there will be two instances of Windows.