DakerShaffer
DakerShaffer
LTLeaning Technologies
Created by DakerShaffer on 7/30/2024 in #support
Trying webworker sample, no console output...
Hmm... although I had reloaded & hit the option-reload button, now I explicitly selected the menu for a forced 'empty cache and hard reload', and Chrome appears to be 'working' also!?
31 replies
LTLeaning Technologies
Created by DakerShaffer on 7/30/2024 in #support
Trying webworker sample, no console output...
Ah, yes, you are correct (Ops, sorry about my part in that!) : I just pasted in the apparent body change, missing the [w]... The altered code does appear to be producing the dual "Hello World" console result in my Safari and FireFox browsers, but now gives an error in Chrome saying ~"worker.js:1 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'buffer') at worker.js:1:1143", hiliting the " heap = asm.W.buffer;" line.
31 replies
LTLeaning Technologies
Created by DakerShaffer on 7/30/2024 in #support
Trying webworker sample, no console output...
Reported on github issues also, with reply showing compiler ~"error: variable 'w' cannot be implicitly captured in a lambda with no capture-default specified w->postMessage(String("Hello World"));"...
31 replies
LTLeaning Technologies
Created by DakerShaffer on 7/30/2024 in #support
Trying webworker sample, no console output...
WTF?
31 replies
LTLeaning Technologies
Created by DakerShaffer on 7/30/2024 in #support
Trying webworker sample, no console output...
Yes, for some reason single stepping from the addEventListener() calls causes the console.log() call to be eventually reached, otherwise generally not (!?).
31 replies
LTLeaning Technologies
Created by DakerShaffer on 7/30/2024 in #support
Trying webworker sample, no console output...
Hmm; if I set a breakpoint right on the 'console.log' call, it is reaching there, and if I single step over, it shows up in the console, but otherwise mostly not (?).
31 replies
LTLeaning Technologies
Created by DakerShaffer on 7/30/2024 in #support
Trying webworker sample, no console output...
Wait, apparently not not working again... had it call the event listener once while debugging though!?
31 replies
LTLeaning Technologies
Created by DakerShaffer on 7/30/2024 in #support
Trying webworker sample, no console output...
Ah... interesting, IMO: console in the 'worker.js' file shows the "Hello World" output, not visible from loading the index.html
31 replies
LTLeaning Technologies
Created by DakerShaffer on 7/30/2024 in #support
Trying webworker sample, no console output...
In debugging it, breakpoints added at the addEventListener calls are reached
31 replies
LTLeaning Technologies
Created by DakerShaffer on 7/30/2024 in #support
Trying webworker sample, no console output...
No description
31 replies
LTLeaning Technologies
Created by DakerShaffer on 7/30/2024 in #support
Trying webworker sample, no console output...
Got the other examples working
31 replies
LTLeaning Technologies
Created by DakerShaffer on 7/30/2024 in #support
Trying webworker sample, no console output...
Console is totally empty
31 replies
LTLeaning Technologies
Created by DakerShaffer on 7/30/2024 in #support
Trying webworker sample, no console output...
% /Applications/cheerp/bin/clang++ --version
Cheerp 3.0 clang version 16.0.0 (https://github.com/leaningtech/cheerp-compiler 29e4600563ed2153faf0221362ce4f0a5b93e1ce) Target: cheerp-leaningtech-webbrowser-wasm Thread model: posix InstalledDir: /Applications/cheerp/bin
31 replies
LTLeaning Technologies
Created by DakerShaffer on 7/30/2024 in #support
Trying webworker sample, no console output...
31 replies