Showing posts with label Tools. Show all posts
Showing posts with label Tools. Show all posts

June 02, 2011

DiffMerge

Visually compare and merge files within Windows, Mac OS X and Linux.

http://www.sourcegear.com/diffmerge/downloads.php

October 22, 2008

Debugging Windows Handles (COM+ crash)

This post explains how to debug COM+ crashing issues using windows debugging tools.

Problem:

The main problem is that the COM+ applications are crashing and reporting event log entries that access violations have occurred. The access violations that are occurring within your “MyCOM” COM+ application is crashing the entire COM+ application and will get restarted on the next activation request.

What I would like to do is to enable PageHeap for this “MyCOM” COM+ application and then configure DebugDiag again to monitor for additional Access Violation exceptions for this process. Here are the precise steps to troubleshoot further.

Action

I’m not sure how many COM+ applications you have running on the machine. When we enable pageheap we have to do it based on process name so ALL dllhost.exe processes would have pageheap enabled. If you only have one or two COM+ applications then it won’t be much of a problem. If you have multiple COM+ applications then you’ll see a memory performance impact on the machine as more memory will be required by each instance of dllhost.exe running on the machine. I’ll assume that you have a lot of COM+ apps so to workaround this we can isolate the “MyCOM” to its own custom COM+ application process using the steps below.

1. Download the Windows Debugging Tools onto the APP server. You can download these tools onto a workstation and just copy the installation directory over to the APP machine if you prefer. We recommend during installation select the directory C:\Debuggers for the location to install these tools. http://www.microsoft.com/whdc/devtools/debugging/installx86.mspx#a  (Current release 6.11.1.404 will be fine)

2. On the APP server navigate to C:\Windows\System32 directory. Find the executable ‘dllhost.exe’. Right click on the file -> select Copy -> then in file explorer go to Edit -> Paste copy. Then rename the copy to ‘mydllhost.exe’. This step effectively just creates a copy of the surrogate process, dllhost.exe, but we isolate and rename this copy to ‘mydllhost.exe’

3. Next let’s enable pageheap for the mydllhost.exe process. Open a command prompt and change directories to where you installed or copied the debugging tools (c:\debuggers). At the command prompt enable pageheap for the mydllhost.exe process by entering the following command:

gflags.exe /p /enable mydllhost.exe

4. Next we need to configure the “MyCOM” COM+ application to launch in ‘mydllhost.exe’ instead of the normal ‘dllhost.exe’ process.

a. Open up Component Services

b. Expand Computers -> My Computer -> COM+ Applications -> Right-click on the “MyCOM” COM+ application and select properties

c. When properties window opens click the “Advanced” tab

d. In the Debugging section on this tab click the checkbox for “Launch in debugger”. This enables the debugger path text box, in this text box remove the current string and replace it with the following string exactly. NOTE: I have already entered the correct process id GUID for your specific COM+ application which I was able to dig out of the crash dumps.

C:\WINDOWS\system32\mydllhost.exe /Processid:{A89A82B5-FE7C-4210-A79F-EBCE8811463C}

e. Then click the OK button to apply these settings change

5. At this point you just need to restart the “MyCOM” COM+ application. You can do this manually within component services, just right click on the COM+ app, select shutdown, then right-click again and select start

6. Open up Task Manager and confirm that you now have a new process called mydllhost.exe running. Since we enabled pageheap for this process name before restarting the COM+ app, pageheap is currently enabled for the mydllhost.exe that’s running

7. Now we just need to configure DebugDiag to monitor the mydllhost.exe process instances and create full user dumps when an access violation occurs

a. Open up DebugDiag 1.1

b. On the Rules tab click the “Add Rule…” button

c. Select Crash rule radio button and click Next

d. Select “A specific process” radio button and click Next

e. Find and select the mydllhost.exe process that’s in the process list. Make sure that the “This process instance only” check box is NOT selected, we need that cleared so that it re-attaches if the COM+ app recycles. Then click Next

f. Click the “Exceptions” button -> Click the “Add Exception…” button -> Click the C0000005 Access Violation exception in the list on the left -> On the right hand side here change the Action Type drop down to Full Userdump and change the action limit number value to 10. -> Click Ok -> Click Save and Close -> Click Next

g. Note the location where the userdumps will be written and then click Next

h. Select “Activate the rule now” radio button and click Finish

8. At this point, we’ve isolated your COM+ application to mydllhost.exe process, and we’ve enabled pageheap for that process. We also have DebugDiag attached and it will create full userdumps when any code violates any memory management problems which appears to be causing the memory corruption we see in the dumps already collected.

Lastly analyze the dump file to see actual problem.

Article:

Pushing the Limits of Windows: Handles

Video:

Understanding handle leaks and how to use !htrace to find them

December 06, 2007

Agile Development Tools

Some tools for Agile Development -

http://www.scrumworks.com/

http://studios.thoughtworks.com/mingle-project-intelligence

May 12, 2007

Who Locked Me?

Have you ever bored by this Windows message : "Error Deleting File or Folder, ... There has been a sharing violation. The source or destination file may be in use.", when you try to delete, move or rename a file ?

WhoLockMe is a little extension for Windows Explorer. It permeets you to list all the process locking your selected file.

This is very helpful tool but....it won't work with Vista.

April 11, 2007

.NET, ORM and lots of other tools...

Check this site for several ORM as well as number of other tools.

March 26, 2007

Open source alternatives

This site listed several open source software alternatives to well-known commercial software applications, some of top 10 alternatives are:

1. Visio
2. Outlook
3. Norton Ghost
4. Photoshop
5. Nero Burning Rom
6. Dreamweaver
7. Access
8. Illustrator
9. MSN Messenger
10. Premiere Pro

Whiteboard Photo Note Capturing Software

Last week my fellow co-worker shown us great tool for capturing while board writing. Basically it converts digital image of white board in to proper image.

He also pointed some more tools on Hanselman's blog.

February 16, 2007

Thoughtworks opensource projects

http://opensource.thoughtworks.com/projects/index.html

Projects
Listed here are the open source projects that ThoughtWorkers contribute to, grouped by function.
Build & Continuous Integration
Ant
Ant is the standard Java build tool
Buildix
Buildix is a version of Linux that contains a ready to go collaboration environment for development teams
CruiseControl
CruiseControl is a framework for a continuous build process written in Java
CruiseControl.NET
A framework for a continuous build process for .NET applications
Maven
Maven is a build and meta-project tool that goes a step beyond Ant
NAnt
A free .NET build tool that is a lot like Ant
Testing
Ashcroft
A tool to help enforce best practices in unit tests
ASPUnit
ASPUnit is a unit testing framework based on the architecture of JUnit for ASP
BTSUnit
A unit testing framework for BizTalk Server 2004
COMUnit
A COM unit testing framework based on the architecture of JUnit
Dashboard
A plugin for IntelliJ IDEA and Eclipse that gives instant feedback regarding the current status of a continous integration build
DbFixture
A lightweight testing fixture framework that helps database related testing using HSQLDB.
DynaMock
One of the frameworks for building MockObjects on the fly using Java's DynamicProxy mechanism.
FitNesse
The fully integrated standalone wiki, and acceptance testing framework.
Guantanamo
A tool to hunt down and destroy bad tests and untested code
Hansel
Hansel is an extension to JUnit that adds code coverage testing to the testing framework.
hloader
A tool to aid population of Hibernate objects from an XML file for test data
JBehave
A unit testing framework for Java
Jester
Jester finds code that is not covered by tests.
jfcUnit
jfcUnit is a GUI-test tool that allows you to simulate user actions against a Java Swing UI
JMock
A Java mock objects implementation
JUnit
A regression testing framework written in Java
JUnit Addons
A collection of helper classes for JUnit
JWebUnit
An extension to HTTPUnit for testing web applications
Marathon
Marathon is a GUI-test tool that allows you to play and record scripts against a Java Swing UI
MockMaker
A tool for automated code generation of mock objects for existing Java class/interfaces
NMock
A toolkit for .NET that allows mock objects to be dynamically created at test-time
NUnit
A unit-testing framework for all .NET languages
NUnitAsp
NUnitAsp is a tool for automatically testing ASP.NET web pages.
NUnitForms
NUnitForms is an NUnit extension for unit and acceptance testing of Windows Forms applications.
OO-Matron
Experimental TDD tool
RVTest
RV Test provides a unit testing framework for TIBCO Rendezvous messaging.
Selenium
Selenium is a system testing tool for web applications
SelfEsteem
A graphical presentation of Acceptance Test results
SharpRobo
Functional Testing and Recording tool for WinForm applications written in C#
Test Simple Unit
A simplified Perl unit-testing framework
Test::Unit::Mock
A utility for conveniently building mock objects in Test::Unit
TestKit
Mock objects for the Objective-C programming language
Watir
A Ruby library that enables you to automate tests for Web applications using Internet Explorer
XMLUnit
Extensions to JUnit, NUnit and PyUnit to enable assertions to be made about generated XML content
XPath Explorer
A GUI application for XPath experiment, and a library for XML assertions through xpath
Performance
ehcache
A pure Java, in-process cache
ehcache-constructs
Implementations of common caching patterns
JBenchmark
A tool for benchmarking the performance of web applications
Ruby-MemCache
A client library for memcached, a high-performance distributed memory cache
Intregrated Development Environments
Eclipse
An IDE and framework for building GUI applications
jbuilder-opentools
A JBuilder OpenTool community
Monocle
A set of add-ins, macros, and extensions for VisualStudio.NET
Transparent
A ClearCase plugin for IntelliJ
Presentation Layer
Apache MyFaces
An open source JSF implementation, and a several extensions libraries for MVC based java web applications
SiteMesh
A Java module from OpenSymphony that allows look and feel to be abstracted from a web-application
SiteMesh.NET
A .NET port of the popular OpenSymphony Sitemesh
Turbine
A servlet based framework that allows experienced Java developers to quickly build web applications.
WebWork
An MVC model 2 web framework.
Persistence Layer
iBATIS
Maps objects to SQL statements using a very simple XML descriptor (Java and .NET)
Jaxor
A simple, yet powerful tool for creating an object to relational mapping layer
JDBCFacade
JDBCFacade is a library for making JDBC easier to use and less error prone while encouraging a clean separation between persistence and domain logic
Neo
A framework for .NET developers who want to write enterprise applications with an object-based domain model
rBatis
rBatis is the Ruby port of the iBatis framework.
Torque
A persistence layer that include generator for OM/Peer classes
Prevayler
A persistence framework for Java
AOP and IoC (Dependency Injection)
AspectWerkz
A dynamic, lightweight and high-performant AOP framework for Java
Nanning
A simple yet scaleable aspect-oriented framework for Java
MicroContainer
MicroContainer is an lightweight container for self contained NanoContainer applications.
NanoContainer
a small container for Constructor Dependency Injector (CDI) Components at Codehaus, that composes components via scripts
PicoContainer
PicoContainer is a small embeddable container for Constructor Dependency Injector (CDI) Components
XWork
A command-pattern framework that is used to power WebWork
General Infrastructure
Apache Axis
A WSI Web Services implementation
BEEP for Ruby
An implementation of BEEP (Blocks Extensible Exchange Protocol) in Ruby
Enterprise Object Broker (EOB)
An alternative to EJB, bringing some of the simplicity of application serving for .Net back to Java
jTDS
100% pure Java (type 4) JDBC 2.1 driver for Microsoft SQL Server and Sybase 10
OpenSymphony
An umbrella project for component building blocks for kick-starting J2EE application development
QuickFix
QuickFix is a multi language open source API for the FIX (Financial InterXchange) protocol.
Tanga
Tanga is an alternative syntax for XML designed for certain scenarios where human readability is required.
Game Engines
Enigma
Enigma is a puzzle game inspired by Oxyd on the Atari ST and Rock'n'Roll on the Amiga.
FaerieMUD
The F?rieMUD Project is an effort to create a new MMORPG
MUES
A multi-threaded, event-driven internet game environment server written in Ruby
Quizzo
A word game quiz program written in Ruby
Utilities
Arrow
A framework for building web applications using Apache and mod_ruby
Barbecue
A Java barcode library that provides the means to create barcodes for printing and display
BlueCloth
A Ruby implementation of Markdown, a text-to-HTML conversion tool
CrossCase
A Ruby mixin for auto-generating under_barred aliases for camelCased methods
FOP
a Java application that reads a formatting object tree and renders the resulting pages to a specified output (eg. PDF, PCL, PS, etc.)
IO::Reactor
A Ruby implementation of an asynchronous multiplexed IO Reactor
JAggregate
A J2SE 5.0-aware collections library modelled after the Smalltalk collections protocol
JOpt Simple
A test-driven command line parser for Java programs
Linguistics
A generic, language-neutral framework for extending Ruby objects with linguistic methods
PluginFactory
A Ruby mixin to facilicate creating derivative classes
Rdoc
Generates documentation from Ruby source files
Ruby-ODE
A Ruby binding for the Open Dynamics Engine
Ruby-WordNet
A Ruby interface to the WordNet? Lexical Database
Test::SimpleUnit
A Perl unit-testing framework.
Win32Utils
Windows utilities for the Ruby programming language
XStream
A Java library to serialize/deserialize objects to/from XML
xwork-optional
An XWork library for handling other domains than the web, such as email, command line processing, or JMS
Web Container
Apache Tomcat
The reference implementation for the Servlet and Java Server Pages specifications
Jetty
A Java HTTP Server and Servlet Container
RSS
Aggrevator
Aggrevator is a cross-platform RSS/Atom aggregator
Informa
An RSS aggregation library based on the Java Platform
Operating System
FreeBSD
FreeBSD is an advanced operating system for x86 compatible, amd64 compatible, Alpha/AXP, IA-64, PC-98 and UltraSPARC? architectures
Other
Blogue
A Java blog
Boo
A new object oriented statically typed programming language for the Common Language Infrastructure
EDFrameworks
A collection of three frameworks that provides seamless extensions of Foundation and AppKit, and provides services for Internet applications, style sheet driven export of your objects and message handling
GUJ
A Brazilian Java users group and forum
JForum
Powerful, database-independent, and multi-threaded forum software
MCI
An Interface Builder extension allowing for advanced connections
MKConsole
A little application that displays logfiles on your desktop
ModRuby
Embedded Ruby interpreter in Apache webserver
Ruby
An object oriented scripting language
WordNet
Application to provides a graphical interface for the WordNet semantic network
Doclets, Attributes and Metadata
AgileDox
Creates simple documentation from the method names in JUnit test cases
MiddleGen
A general-purpose database-driven code generation engine
NetReflector
An attribute-based configuration framework for .NET
QDox
A very fast JavaDoc parser designed for use in code generation apps
XDoclet
A code generation engine to enable Attribute-Oriented Programming for Java
XDoclet 2
The second generation of XDoclet

February 04, 2007

SQL Comparison and synchronization tools - SQL Examiner

SQL Comparison and synchronization tools - SQL Examiner: "SQL Examiner is an easy-to-use database comparison tool that quickly and accurately compares and synchronizes SQL Server database schemas. With a few clicks of the mouse, SQL Examiner merges selected databases and delivers exact results by analyzing the dependencies between the objects and your data.
The tool’s flexibility allows you to be as involved as you want in the development process, from step-by-step processing to full automation. You can choose automatic, one-click synchronization and focus on the main design and development. SQL Examiner handles all the routine work itself."

December 11, 2006

Tools for .NET Reflector and Resourcer

Lutz Roeder's Programming.NET C# VB CLR: "Tools and source code for .NET, C# and Visual Basic. Reflector is a popular class browser. Resourcer is a .NET resource editor. "

March 30, 2006

Copyright © Brush in PS 7

Came across this post to make copyrighs on digital photos(I haven't tried yet...)

http://www.myjanee.com/tuts/brush/cbrush7.htm

January 03, 2005

300D - Learning / Techniques / Tips - Tricks ............

Here are some site which has great information on Digital Photo Learning

Some related stuff -

August 16, 2004

Image Enhancement software downloads

Here is site to download Image Enhancement software tools for digital photos....

July 30, 2004

Ten Must-Have Tools (.NET)

This article introduces 10 development tools that can increase your productivity, give you a better understanding of .NET, and maybe even change the way that you develop applications. The tools covered include NUnit to write unit tests, Reflector to examine assemblies, FxCop to police your code, Regulator to build regular expressions, NDoc to create code documentation and five more.

http://msdn.microsoft.com/msdnmag/issues/04/07/MustHaveTools/#bottom?_r=1