question

Allister Wilson avatar image
0 Likes"
Allister Wilson asked Ben Wilson answered

Webkit debug console

Can you access the webkit console from within FlexSim?

I'm talking about things like JS' console.log(), errors, etc.

Testing in a browser becomes a bit tricky once you get into dynamically building DOM from FlexSim-originating data, and downright impossible when writing logic involving 2-way communication between JS and FlexSim. I'm guessing there must be a better way.

FlexSim 17.1.2
debuggingwebkitconsole
· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Ben Wilson avatar image
2 Likes"
Ben Wilson answered

It is worth noting that since version 21.0.0 (released Dec 2020), FlexSim's internal web renderer was upgraded from Webkit to Chromium Embedded Framework. The browser dev tools are included with Chromium, accessible by right-clicking any html widget and choosing "inspect":

2022-05-23-09-04-02-flexsim-2022-update-1.png


5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Ben Wilson avatar image
0 Likes"
Ben Wilson answered

@Allister Wilson, Sorry, no. I contacted the original developer, Alex, who integrated Webkit into FlexSim, and received the response above. Alex actually moved on from FlexSim and now works on Webkit full time.

One of the dev team will need to take it from here, and as I understand they are all busy with final 17.2 polishing, which should have final release the week following the FlexSimposium.

Hopefully some time will be dedicated to Webkit in August, but I shouldn't promise someone else' time. The best thing would be at the FlexSimposium to corner one of the devs and see what they think.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.