Is there any Very sleepy profiler tutorial? [closed] - testing

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I've created a simple program printing "Hello world" 1000 times in C. Now I want to test very sleepy profiler, but it doesn't see the running program among processes.
I run the application in the debug mode, visual studio 2010.

Alternatively you can also launch the profiler first, then run your program via File/Launch...
Shameless plug: You can use the modified version of 'Very sleepy' that allows you to start the profiling target w/ profiling paused, and with an API that allows you to start/stop profiling programmatically here: http://hoffesommer.com/weblog/2011/06/17/very-sleepy-0_7_2-cpp-profiler-now-with-api/

If you're using Vista or Windows 7, you may need to run Very Sleepy as an Administrator so it can see (and list) the process.

I would suggest you to use process explorer. Launch it before you launch your program, and you will see it appearing on the list, and know its identifier, and even its threads if you wish it, by going to properties.
So when you launch sleepy, you will exactly now the PID and TID you are looking for.

Related

Testing flash applications on web using selenium [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I want to test Microstrategy applications using any web testing tools. I figured out seleniun serves my purpose well. But microstrategy applications are deployed in flash formats. Please help me to guide how to test these flash applications is there any tool available? Can I use selenium only and how to use?
Thanks in advance
Selenium cannot interact with Flash objects.
You can use FlashSelenium, which is quite old but seems to work:
http://code.google.com/p/flash-selenium/
Or use Sikuli, Adobe's 'Genie' library, or Ranorex's library:
http://sourceforge.net/adobe/genie/wiki/Home/
http://www.ranorex.com/product/automated-ui-testing-of-flash-flex-applications.html
http://www.sikuli.org/
There is very limited tools and information for Flash UI Testing.
Another alternative is to interact with it directly using Javascript.
sikuli is a good one for it is based on JAVA so that you can add its jar file in to your build path .. Another one is AUTOIT where it is an 'easy bad' idea which is not recommend but in some case it may (or may not) come handy. As you have to give the co-ordination (x,y) of any element and enter code for it to interact with it like clicking or entering a text..

Turn off logging for a Mac OSX application [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am working on an Mac OS X application, and I would like to know a few things:
What are log files that will be updated when an application is run? and their paths? Would it be possible to turn off logging (programmatically)? If so, would it be possible to do that for a particular application? I want my app to run covertly. so, any other ideas?
There isn't any standard "Here's every application that was ever launched" log on the system, nor do applications automatically log anything in particular upon launch. For GUI apps, the "Recent Applications" preference will be updated. But any number of things could be updated in response to something your application does, and there's not any finite list of these things or where they might be located (e.g. I could write a custom script that watches for program launches and writes the name of the program and the file handles it holds to ~/Documents/InnocuousFile.tbz).
Basically, as long as you don't log anything yourself, you're doing about as much as you reasonably can do on this front. But this doesn't really make your app covert in any meaningful way, as there are many ways to notice a program's presence other than logs, and I wouldn't even think logs are a big one.

Full featured example application written in Cocoa (Mac desktop) [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Is there a fully featured cocoa sample application you can recommend I look at?
I've seen the sample's on the developer.apple.com website, but they are usually focused on a single feature.
Looking for something that is not so simple, and is written with clean code etc.
There are tons of them out there, but they are definitely hard to find. Here's a list of ones I can think of off the top of my head. Although do note that these will probably look very overwhelming if you're just starting with OS X development (sorry but I don't have enough reputation to make these all actual links).
QuickSilver is a very complicated application launcher that has recently started being under active development again.
nvALT is a note taking application that syncs with SimpleNote
QuickCursor is a small menu bar utility for opening copied text in different editors.
Kod which is an unfinished programmers text editor. Even being only half way completed (it is no longer under active development) it's still a great app.
Colloquy which is a IRC application.
Chuck is a very minimal application launcher.
Adium (as mentioned by Rob) is an IM application with a ridiculous amount of features.
http://cocoadev.com/wiki/CocoaOpen has a list, of which at least Adium and MacHg look decent.

GUI for Dialog-design for WiX [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
WiX is great in that there is no GUI, you just write the installer you want it to be. No fiddling with GUI-wizards!
However, drawing GUI is actually one thing I prefer to use a GUI for.
So, is there any Dialog-drawing program which exports WiX-data?
(I suppose else-wise perhaps I could transform what Visual Studio's forms editor does to WiX-XML.)
/L
I created a full list of editors for WiX here: https://robmensching.com/blog/posts/2007/11/20/wix-editors/ (which is amazingly still up to date)
You can try WixEdit.
SharpDevelop also has built-in capabilities for laying out a WiX dialog. I prefer it over WixEdit.
this is excellent GUI IDE and it is open source.....
try this...
http://community.sharpdevelop.net/blogs/mattward/archive/2006/09/17/WixIntegration.aspx
download IDE from here:
http://www.icsharpcode.net/OpenSource/SD/Download/
If you use Visual Studio 2008/2010 and want to install an application that requires .NET framework you might be interested in having a look at SharpSetup. It allows you to graphically edit installer UI as WinForms controls (and use VS designer for that).

(Apache) Error log beautifier [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Anyone knows of a good error log beautifier? (should be able to handle apache error logs).
Should be open source / free, preferably with a web interface
I use http://www.librelogiciel.com/software/ScanErrLog/action_Presentation It runs through the error log producing a summary webpage, or some other formats. While it's best run from a regular cron-job (and it will keep a record of what it's parsed before to save effort), it can also be run as a CGI (though the demo appears to be broken).
You can see a sample report generated using Analog and Report Magic at this address: http://www.reportmagic.org/sample/index.html. The Failure Report is simple, but is a starting point.
I use Webalizer to process my website's logs. Its web-interface might be a bit dated but it's very powerful, reliable and can handle very large logs. It's also quite easy to set up which a big plus in my book as you don't want to be worrying about the software, you just want to visualise the data.
Apache Chainsaw