How can I show webkit inspector in tidesdk - tidesdk

When I try to right click and show webkit developer tools in tideSDK nothing happens, No context menu appears.
This doesn't work either ??
$(".inspect").bind("click", function() {
try {
Ti.UI.currentWindow.showInspector();
} catch(e) {
alert(e.toString());
}
})

The web inspector/developer tools console only works when you are using Launch App from TideSDK Developer (during development of your app). Once you execute the packaged app after using Package with Runtime, the inspector is not enabled. Could that be the issue?

Note that you should also be able to just run your Tide application in debug mode.
e.g.
myAppBuiltByTide.exe --debug
Running in debug mode:
Opens the debug console, in addition to your application window, and
Enables the 'Show Inspector' right click option

Related

Razor Not Hot Reloading After .Net Core 6 Upgrade

I'm using Rider. After updating our .net Core project to 6, the razor hot reloading stopped working.
When I make a change to my razor file, if I'm running the Rider build configuration, I get this "sources are modified" message.
If I click "Configure in settings", this is what I see.
If I click apply changes, and refresh the page in chrome, I still see the old version of the page without the changes I applied. There's also this little bubble in the bottom right.
I tried running with dotnet run and dotnet watch in the command line, and also tried debugging with Rider.
This worked before the upgrade by running the app both via the Rider configuration and the command line, making the change, then refreshing the page.
I think if I'm reading this issue correctly, this is just a known issue with Rider.
I think I figured it out after writing this up and looking at this answer (different issue though). I upgraded Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation to 6.0.7. I'm still getting the "Sources are modified" pop up, and have to click "Apply changes" to see my changes. It'd be great if they could just be applied automatically. But, this is way better than having to rebuild.
I have added these configs to my launchSettings.json and it worked
{
...
"Watch": {
"commandName": "Executable",
"executablePath": "dotnet",
"workingDirectory": "$(ProjectDir)",
"commandLineArgs": "watch run"
}
}
It's basically adding an Executable run and JetBrains Rider will added it to the list of profilers to the top and you can use it then. This will refresh the page automatically.

Using cloudpebble.net for chalk javascript app

I am using the cloudpebble.net to write my app. The app is working fine in the emulator. But when i try to put it in my watch, the pebble phone application show that my app don't support my watch.
After some search in the internet it's seem that my app is not compiled for my watch (the pebble round, using chalk sdk). On the webide, i can't compile my applifaction for chalck, (grey button). Am i missing something ?
Thanks.
Good news! Pebble updated CloudPebble to support Chalk apps in Pebble.js. As of 5/17/2016 there are still some UI bugs to work out, but the emulator works.
You can go into Settings in one of your projects and enable Build Chalk to target Chalk platforms.
I got a answer from the pebble developper, right now pebble.js doesn't support the chalk framework.
Time to use C !
If you go to "SETTINGS" when your project is opened, there are checkboxes for every platform and you can choose what platform it should be built for. Make sure "BUILD CHALK" is checked. Then go to "COMPILATION" and click "RUN BUILD". You should now be able to run it in the chalk emulator as well as install it to your watch.
If you cannot see CHALK in the list, it's because your project is built upon Pebble.js and that is not yet supported as of 2016-01-12.
If you cannot see any platforms to select, you need to switch to SDK 3.0 and reload the page.

Webstorm: is it possible to debug a Meteor application directly in Chrome DevTools' console, instead of Webstorm GUI?

As the title says,
I see it is possible to debug a Meteor application in Webstorm but I can't figure out how to do the debug directly on Chrome DevTools
You can debug the client code using Chrome DevTools by just opening Chrome DevTools while viewing localhost:3000.
I'm not aware of a way to use Chrome DevTools for server-side debugging, but you can debug from Chrome via Node Inspector. For details, type meteor help debug and follow the directions.
To get into CDT, mash F12 in the browser window.
Then, you can select the "Sources" tab, followed by the .js file you want to inspect, and at a breakpoint by clicking on the line of code you're currently interested in. e.g., this screamshot shows a breakpoint in a template's "events" section:
As you can see, there are many other tools CDT allows you; poke around, experiment, research, and you will find a wealth of valuable insight.
Besides Chrome, Firefox also has good debugging tools, and probably most other browsers, too, including Microsoft's new Edge browser. AFAIK, they are all invoked via F12.

Unable to launch web browser flex

I AM Using Flex Builder 4 for flex Web application, In which I create one flex Web Application. Now i am trying to run my application on web browser at that time builder shows some error like (Cannot run program "C:\Program Files\Mozilla Firefox\firefox.exe": CreateProcess error=5, Access is denied).
This error shows me from last one day. So will anyone can give me answer that why i got such error. In preferences Default System Web browser is selected. which is Mozilla Firefox.
Thanks
Go to Window -> Preferences -> General -> Web Browser. There you can see the available browsers listed and a radio button for selecting either the internal or external browser. Do check these settings and try to launch again. It may be that the path you have shown, where "firefox.exe" resides has not been updated within the Flash Builder.
Rigth click on the flashbuilder shortcut -> run as administrator
If you can't run as an admin, try checking on the security settings to ensure all users have full access to the Firefox directory & files. This almost has to be security related, unless Firefox is actually a location different from where it's looking.
I just clean and close flash builder project. And then close flash builder and restart my system and then relaunch flash builder then it will works now.
Thanks to all.

Dubuging problem in asp.net?

in my project when i build the project it is giving this message :
To debug this module, change its project build configuration to debug mode. To suppress this message, disable the "Warn inf no user code on launch" debugger option
due to this when i place the break point. break point is not working. can u help me.
Check that the Standard toolbar shows that you are working in Debug mode. This is the most common cause for this problem. This setting controls what mode the Run will use. (Too see this toolbar, right click in the Visual Studio menu area and make sure the 'Standard' toolbar is checked.)
Check that you are not running with ctrl+f5 (which equals Start Without Debugging). This does not match the error message you get, so likely not the answer.
Check that the Solution Configuration does not specify that the project should be built in Release mode. To access this, right click the solution, see properties for the solution and then review the configuration settings for your projects in the configuration dialog editor that pops up.
you're trying to debug your project in Release mode... Switch the project into Debug mode, click Rebuild and then press F5.

Resources