Where is the dump file of windows store app on windows 8? - windows-8

I can't find any dump file in test or publish enviroment when my windows store app crashs, instead the app just automatica terminate.
How can I got dump file in test device or in dashboard, does something must done first?

C:\Users\UserName\AppData\Local\Microsoft\Windows\WER\ReportArchive
This location have the crash logs for apps. Please locate your apps folder and get the Report.wer file

Related

How to install the uploaded Voice command definition(VCD) file to another windows phone application?

I want to upload the VCD file through an through application A and need to install that uploaded files to other Cortana application B. How can I achieve that? Any answer would be appreciated.
Naveen,
I think instead of having a separate app, You can have a setting to upload VCD through application A itself. To say correctly, you should upload the VCD file through the app A and install it straight away from there. That would be more intuitive.

Cocoa application reinstall

I would like to detect if my application was "reinstalled".
Currently my application install means only a copy to the /Applications folder.
I would like to detect if somebody deleted the application and after a time he installed it again.
Do you have any ideas how can this be solved?
I would like to detect if somebody deleted
You can use FNSubscribeByPath(Deprecated in OS X v10.8.) for watching trash folder.
I would like to detect if my application was "reinstalled"
You can create one file in application support (your application folder) folder and refer that file. Write application version number in that file.
Your app is just a folder on HDD/SSD, so user can manipulate it like usual file. User can put your app in ~/Applications/MyStuff, make 300 copies of your app and launch them at once.
The only thing you can check is the bundle version of app. Read version from user defaults (written by previous app lauch) and compare to your own bundle version. This may be useful for updates to detect which resources can be upgraded or created.
How about checking for an existing preferences file or expected user defaults setting?
That would give you some hint it was installed recently - few people clean up their preferences folder.

How to debug a Windows Store app that crashes on a customer's machine?

I got a support email from a customer saying his app crashes when it starts and all he gets is a message like:
(App Name) ran into a problem You can send info to Microsoft about
what went wrong to help improve this app.
Files that will be sent to Microsoft
C:\Users\User_Name\AppData\Local\Temp\WER####.tmp.appcompat.txt
C:\Users\User_Name\AppData\Local\Temp\WER####.tmp.hdmp
I thought - Microsoft isn't going to help them really with my silly app. They should send the dump file to me for debugging, but how to do it? A sample dump file I got from a crashing app was 90MB and after zipping it is still 30MB. How do I debug the app? Is there a simple way to get these dump files from a customer? These also get deleted right after you switched from the crashing app window to the desktop unless you leave it running (crashed) in snapped view and hit WinKey+D.
It seems like the Windows developer Dashboard has an option to get mini dump files for most common crashes that could help find the problem (assuming your customer is having one of the most common problems for a crash or that there are actually few problems causing your app to crash and all of them are there). You just need to go to:
Dashboard/App/Reports/Quality/Most common crashes
There you can download a cab file that includes the mini dump from there. You might be able to extract the file by just renaming cab to zip or using a tool that extracts cab archives. Then just open the dump file in WinDbg and start debugging!

i created a database in my app, but i don't find it in the DDMS

I can't find my test.db in the file manager in DDMS. Does someone know when we create a database, where it's installed ?
If you are using a non-developer (or non-rooted) android device, the database will not be visible to you in DDMS. It's only visible to the parent application, as each application on android runs as a separate linux process.
However, if you are using the emulator or a developer/rooted device, the database file should be in /data/data/<package_name>/databases/ (link).
/data/data/package_name/databases
Taken from here

How to distribute a self developed mac application?

I've developed an application on XCode, compiled and built it.
If I run the app on the same machine using Finder, it starts normally.
But if I copy the app to another machine and try to run it, the application does not start.
Is there another step that I forgot after building the application on XCode?
I think it seems to be a simple issue, but I really need some help on it...
Thanks!
On a machine where it doesn't start, open the Console utility, try launching your program, and see if any new messages appear in the Console window.
OK, It was a very stupid error...
I was sending the app to the other machine through iChat. When the download completes the execute permission of the executable file inside the app is automatically removed.
So, I was trying to execute a non executable app.
Thanks everybody!