system.DebugLog not working on web?

I’m going to play with Xojo Web for a bit, I fired up a blank project, added the Open event to WebPage1 and put system.DebugLog(“Hello World”) in there. It doesnt seem to output to the message window in the IDE, am I doing something wrong? I put a breakpoint on it and it stopped, so its definitely running.

Help! :slight_smile:

Just did that. App.open and wabpage1.open in fresh project works with system.debuglog

Did you select WebPage1 as DefaultWebPage ???

Download DebugView http://technet.microsoft.com/en-us/sysinternals/bb896647.aspx

The other advantage is that it gets messages from release builds as well.

I thought the bug that prevents the IDE to display messages in Xojo Web was fixed, but apparently it is far from being reliable yet.

Yeah my breakpoints are even firing on the system.debuglog lines so I know the code is running.

Are you on windows or mac? (goes off to try on mac)

Mac

Windows Xojo Web is the only one that does not display messages.

Windows Desktop works just fine, and all types of projects display messages on Mac.

[quote=310739:@Michel Bujardet]Download DebugView http://technet.microsoft.com/en-us/sysinternals/bb896647.aspx

The other advantage is that it gets messages from release builds as well.

I thought the bug that prevents the IDE to display messages in Xojo Web was fixed, but apparently it is far from being reliable yet.[/quote]

Thanks Michel, I’ll use that for the time being, the messages are coming through loud and clear! :slight_smile:

Hmm, I found <https://xojo.com/issue/38173> but its not confirmed, it seems to have slipped the net :frowning:

Ahhh this one is active, but not fixed since 2013 :frowning: <https://xojo.com/issue/29596>

Any input from Xojo on this would be nice (I’ll wait for them to wake up) :slight_smile:

Old topic but still relevant, today tested xojo web and noticed that the system.debuglog message are not showing in the xojo web ide. Code runs as tested using break points. The only line that shows is DebugMyBrokenIDE.exe Launched.

(Also breakpoints can’t be set during debugrun anymore)

Yeah, system.debuglog isnt working here still in 2018r4, I got side tracked by something and never followed this up as the tickets I mentioned above were either closed as duplicates or closed unable to reproduce. I can set breakpoints at runtime though.

You sure, is desktop breakpoints can be set (and work actually?) as i can set them but they won’t break when debugrun paused. The debuglog is reported.

<https://xojo.com/issue/54511>

If I run the web edition of EddiesElectronics and while the project is running add a breakpoint to CustomerDetailsPage.Shown on the first like there, the If Height… then I refresh the web view is breaks there as expected.

Yes they do work but when you want to Pause and Set another, that one Wont work as i see here.

Steps:

  • debugrun
  • pause
  • set breakpoint
  • resume
  • it will pas the breakpoint without stopping

I can’t seem to replicate that, can you do a quick video of it happening with EddiesElectronics?

On windows or mac doesn’t matter, not a single runtime-added breakpoint will work for me with 2018 R4

It looks like the debuglog issue has been sorted :slight_smile: Cheers Norman <https://xojo.com/issue/29596>

You might want to create a ticket for the breakpoint issue with a video or something because I can’t replicate that Derk.

[quote=419010:@]It looks like the debuglog issue has been sorted :slight_smile: Cheers Norman <https://xojo.com/issue/29596>

You might want to create a ticket for the breakpoint issue with a video or something because I can’t replicate that Derk.[/quote]

I’m working on it, wanna reproduce it reliably