I started on a web app, not very adept yet at xojo web. But I added a few pages. I have a tool bar, similar to the example. It was all working.
Not sure what I changed but now starting the app causes it to just break in the debugger (running on MacOS) no page is displayed in chrome. It simply lists the app, runtime, threads etc. The left side says “Event loop”. No other info.
I tried putting an unhandled exception handler in app but it is not getting hit.
Ok… well it seems that somehow graffiti firewall is occupying the debug port. Changed it to different one and it now seems to work… Not sure how to kill graffiti firewall…
GraffitiFirewall doesn’t listen on any ports, and isn’t a standalone application. If you’re running two web projects simultaneously on the same debug port, though, you’ll experience exactly this issue.
Still, it would be nice if Xojo made it show a message in the messages pane telling you that the server socket couldn’t start and what the error was if it knows.
As I try to learn xojo web I have about 10 projects open not only from the examples but from Graffiti that I bought for this project. For desktop apps I usually enable the auto-quit so quitting the app shuts things down.
The paradigm is different for web apps in that you can close the webpage in say chrome or safari, but that of course does not stop the project. When I looked at Graffiti Firewall, I did just that. I shutdown the webpage but did not kill the running app and it does not really show up as a running app in Mac dock.
Been developing for 40 years and still learning new things. LOL