The more I look around, the more it looks like this feature just isn't supported.
When I try to run the graphics diagnostics tools, it just launches the app and debugs normally. I see nothing new that is related to graphics anywhere on the screen (every button on the graphics toolbar is grayed out).
I'm surprised I wasn't able to get an answer from my search engine, but I would love guidance so I could try some other form of debugging instead.
Thanks for reading
Related
When I use the Chrome DevTools debugger to debug a chromecast custom receiver the screen is green.
I have disabled hardware acceleration in Chrome. This happens on both Windows and Mac. It happens from all PCs in my home.
No error messages are provided. Here is what it looks like.
Sir i think there might be something wrong with the chromecast,
i had the similiar issue here.
i want to debug webview app using emulator and it just shows green screen but i still tap on the screen. then i using real device to test my app and it works. it shows the page how it should be.
On Windows 8.1, if you right-click on the taskbar and point to Toolbars you can turn on Touch Keyboard, which makes a small image of a keyboard appear at the far right of the task bar just to the left of the notification area.
I want to develop an application that can make a presence here with a dynamically updating display of a time string (a count down application).
Can anyone advise if this is possible using C# .NET?
From various research I've discovered it is extremely difficult to determine exactly what Microsoft refer to this utility as. I have seen 'deskbar', 'deskband' and obviously it's under 'toolbars' in the task bar context menu. It also seems every major OS release changes the terminology and functionality completely. So bonus points if anyone can clear up what it's called on Windows 8.1 in addition to what term to research or MSDN article to read about developing an application that sits there.
I wanted to develop my own watchface for my Gear S2. I found some good documentation on downloading and using the Tizen IDE. All is well, but I'm finding the tweak css/html5-run/upload-switch faces-view-wash-rinse-repeat to be very tedious and time-consuming.
I know I can point my browser (Chrome) to my development workspace and load the index.html up and I surmise that I could tweak what I have, which came from the template to work in the browser if I made the sizes in the css static vs dynamic (absolute vs percentages). But is there a better way? Scouring the Internets Googles have yielded nothing too helpful yet.
moderators: this might be OT for this particular SO. If that's the case, I apologize. A nudge in the right direction would be greatly appreciated, if so.
So, I was able to make a little progress on this myself. I am using Chrome in developer mode, which almost works perfectly when using the developer device emulator. To toggle the device emulator, open developer mode (windows: ctrl+shift+I, OS X: cmd+option+i) and when the tool window opens up, look for the little device button next to the element button in the upper left corner of the developer tools window. When the device emulator open, switch the resolution to 320x320 (top of the window next to "screen").
Now, open your index.html file for your project in Chrome, and you can at least muck around with your css styling.
Now to get around the whole issue of reloading your clock with the default clock in the Java emulator for Tizen, I was able to get my changes to automatically assert when running the new code. The way I did it, though I'm not sure if all of these steps were necessary was:
In the emulated watch:
1. set the screen timeout to 15 mins.
2. set the watch face to your development watch face
In the IDE:
1. when ready, use the button for smart launch (it's the blue button just to the left of the bug button in the tizen web IDE). This is in the Tizen SDK version 2.3.1 build 20150721-1440.
At the time of running your code -- making sure both your emulated watch is running too:
1. In the IDE, click the smart launch button
2. Click over to your emulated watch and make sure it's in focus.
It should update the watch face with your latest changes in realtime. This worked for me, so YMMV, but at least I didn't have to reload the watch face after asserting the latest version.
I know about firebug and the developer tools for the major modern desktop browsers, but I can't find any way of debugging JavaScript code on mobile browsers.
What are some high level techniques I can use to debug code on mobile browsers?
Android devices can be put into developer mode by going through settings>Phone status then tapping on "Build number" 7 times. This allows you to do a bunch of things (see step 5) including USB debugging. (Some devices might have Build number under Software Info)
To activate USB debugging, look in Settings for the newly appeared "{ } Developer Options", open this and switch on USB debugging. Connect your device using a direct USB connection.
In Chrome on your desktop, in the usual developer tools panel used for debugging, look in the menu for more tools>remote devices. With Discover USB devices selected, you should now see your mobile device on the side.
Select it to see a list of all the chrome tabs you have open and the ability to enter URLs directly.
Selecting one of the links will open up a new window with a mirror of your device screen on the left and all the familiar chrome debug tools on the right. You can still control your device directly or use the mouse on the mirrored screen. It even rotates.
full details on remote debugging from google and how to enable developer mode (link as above) from askvg.com
Android provides a tool set for these purposes:
https://developers.google.com/web/tools/chrome-devtools/remote-debugging/?utm_source=dcc&utm_medium=redirect&utm_campaign=2016q3
Apple does it a similar way:
https://developer.apple.com/safari/tools/
Tutorial: https://css-tricks.com/using-chrome-devtools-to-debug-javascript-in-any-browser-with-ghostlab-2/
You can debug on Safari Mobile with any iPhone/iPad. In Developer menu you can find your device and you can then debug your code with inspector.
If you have an Android Device instead, you can debug on Chrome Desktop (remember to active the debug mode) with chrome://inspect
On the IPhone you can go into settings>Safari>advanced and turn web inspector on
Sometimes I get bugs reported by customers that are not reproducible every time or in our testing. For such cases I recommend Lucky Orange. It records the user activity and also has the option to record console messages.
PS - I'm not an affiliate, I use them for my own projects and like it.
Another solution for basic debugging (which many times is all is needed), is having a console polyfill on mobile without the need to plug into USB on desktop.
mobileConsole is such a console polyfill.
Hope it helps someone, I found it useful.
I download the Android code and "make sdk" to build out my own SDK, but the emulator from this SDK does not work well -- it only shows the black window with the "ANDROID" string, but I can't see any desktop picture or any applications. what's wrong here? anyone could please provide me a hint? Thanks a lot.
I use the command:
$./emulator #jiawelin -debug all
and the last output message is:
emulator: android_hw_control_init: hw-control qemud handler initialized
It's working, just give it time. The Android emulator is ridiculously slow to start up, especially if your computer isn't the fastest. Wait for a few minutes and it will eventually load.
(I know this reply is very late, but I just had the same problem - hopefully this will be useful to anyone else who finds this question through a search engine)
The latest emulator in tools versions 18+ have a known problems that exhibits for some. Kill the emulator and restart it with the same AVD. Give it some time to boot this second time and you should be good to go.