Openlaszlo dhtml debugging - openlaszlo

Is it possible to debug the application in dhtml runtime. I installed the firebug and then i gave debug = true and i started my application. But i got an error
$reportException is not defined and later i figured out that i haven't included the LFCdhtml-debug.js.
After including the js the debug window appeared but the window is not draggable and the window looks distorted any idea why do i need to include any more resources?

Related

How can i debug:Xamarin SpringBoard(UIKitCore) Error?

Since a few days a good working Xamarin App does not RUN on iOS anymore. On opening the splashscreen opens and than following error occurs: SpringBoard(UIKitCore)Error creating the CFMessagePort needed to communicate with PPT (Do not really know if this is the crash error)
I have tried rebuild, reinstalling, rebooting, removing splash screen.Also tried on real device and several emulators.
I set breakpoint in Main.cs, AppDelegate.cs and App.xaml.cs but these are never reached.
I use Firebase pushmessages and Analytics. I think there is the issue, but I do not know how to debug or see log?

Invisible and locked Breakpoint in Sphere SDK for vs code

I'm trying to get started with microsoft's azure sphere development.
When I try to debug any of the starter projects within vs code, it tells me that I have a breakpoint set on the first line of the app.
However, vs code doesn't show any breakpoints in the "Breakpoints" tab.
I am running the latest VS code version (1.44) with the Azure Sphere Extension 20.1 on windows 10. The same problem appears on Linux.
To reproduce the bug:
Download the starter projects from github
Install the Azure sphere extension for visual studio code.
open HelloWorld_HighLevelApp folder in azure-sphere-samples\Samples\HelloWorld\HelloWorld_HighLevelApp in visual studio code.
Go to the Debug tab and hit the green play button on top left corner. Next to the button it should say Launch for Azure Sphere High-Level Applications (gdb)
For me it doesn't an error but the output console shows:
Deploying image...
Starting debugger....
Process /mnt/apps/1689d8b2-c835-2e27-27ad-e894d6d15fa9/bin/app created; pid = 2233
Listening on port 2345
Remote debugging from host 192.168.35.1, port 54911
Starting CMake Hello World application...
The Debug Console shows:
...
Breakpoint 1, main () at ../../main.c:45
45 {
Loaded 'target:/usr/lib/libapplibs.so.0'. Symbols loaded.
Loaded 'target:/lib/libgcc_s.so.1'. Symbols loaded.
Loaded 'target:/usr/lib/libc++runtime.so.1'. Symbols loaded.
Is there a work around / a plan to fix the issue?
Addition 1:
To provide extra clarification here is a screenshot, showing the miss match of console output (breakpoint set) and ui (no breakpoint set)
Azure Sphere uses gdbserver to provide a debug channel to the device. A default behavior of gdb is to break on entering main. This can be confusing to people on Windows who expect a run to breakpoint behavior as is common in Visual Studio. For our interface with GDB we intentionally silently skip the breakpoint on entering main in Visual Studio to be consistent. You can actually see that breakpoint skipped in the debug log output window.
For VS Code we also skip the breakpoint on main when you are on Windows. It looks like you are on Linux from the output above. I haven't used it on Linux for a few weeks so can't recall if the behavior is intentionally different there or not. It would make sense to me to break on entering to main when on Linux as that is the common expectation when using GDB which is more common there than on Windows. I'll check if this is by design or not and reply back, but I suspect it is.
Solution:
Finally I found the root cause of the issue. Visual studio code acts just slightly different when debugging the sphere device compared to just plain c code.
When you start the debugging mode and you haven't set a breakpoint initially, it won't start running your program till you have set a breakpoint. In plain c debugging the program just runs through and printed values are shown in the debug console.

Xamarin iOS Black screen only after update UnifiedAPI. apparently all resources not loading

After migrate Xamarin iOS project to Unified API, the app shows black screen only.
Apparently all resources are not loaded at all.
Not only all images including icon, splash are not loaded, but also all XIBs are not loaded.
Now only default black window screen is shown.
Any advice to solve this?
In some cases XI 8.6.0 new msbuild-based build system can forget to copy some files into the app bundle.
This is fixed in the service release (8.6.1) which is in the alpha channel (right now). You might want to try it to see if this is the issue (if not then please file a bug report so it can be investigated).

Apportable doesn't show custom UIScroll on android and some other issues

I have ported my ios game to android using indie version. It has following issues:
Custom scroll implemented through code doesn't show up
Touches on ccmenu works on and off i.e i have to restart the game again and again sometimes they work sometimes they don't.
Nib files have the same issue mentioned in step two. Works on and off have to restart again and again.
Game icon is not appearing
Sometimes game stucks randomly and crashes.
Update:
Note: UIScroll works where we have used them in tableView and doesn't work where we have only used UIscroll.

Minimizing application with qt

I created (in Qt5 under Linux) a small QMainWindow app.
I noticed that when I'm clicking on the minimizing button, I cannot see my app anymore. In other term, I cannot see it in the bar !?
I tried with docky, cairo-dock and native Mint bar and... nothing work !)
Any idea ?
Is this running it in the debug mode inside of Qt Creator? Maybe you have to deploy it and run it outside of Qt Creator for it to get its own button on the dock/taskbar.
If not, you might have a bug that should be reported to qt.

Resources