Tag | Debugging Posts

Last couple of weeks I was really busy with some R&D works on Google Web Toolkit (GWT). May be you already know GWT is an open source software development framework for creating Ajax enabled web applications like Gmail. Wonderful thing about GWT is may be you don’t have any knowledge about Ajax or in depth knowledge in java script but yet you can develop very advanced Ajax enabled applications. So if you have a web application project and a team of java developers who don’t know much about web ...
Today marks the start of my journey to becoming a better developer. I am telling you all about it so that I can be held accountable for things I am about to say. I did not want to over think this but I did want to do things that challenged me as a developer on a variety of level. This is the current list of 6 months goals. I will not remove anything from this list, but I may add to it as I begin this journey to improve as a developer. I will read 1 technical book every month for the next 6 months. ...
Scott Berkun has an amusing post on ADD (**shole Driven Development), a parody on TDD which occurs when the technical decision-making process in an IT Shop is hijacked by an over-bearing personality who always manages to persuade people into doing things a certain way because the cost of opposing that person is simply too high. The comment section of this blog post is definitely worth reading and coins some other noteworthy processes that are rampant in the industry, such as BTPWAL (Blame the People ...
I personally hate to open blogs, that just have list of links without more useful information. But as I wrote in Ways to store bookmarks/favorites post, blog is a convinient way to save favorites. So I will just save links for now, and hopefully will add more comments about them later. FIDDLER supports HTTPS, ensure that "Capture HTTPS Connects" and "Decrypting HTTPS traffic" are ticked in in "Fiddler options". However running Fiddler in "https mode" can have side effects, e.g. my connection to TFs ...
Today, the ReMix 07 event is taking place in the World Trade Center in Zurich, Switzerland. Lots of great speaker, includign Scott Guthrie, Wayne Smith, Beau Ambur and more. Wayne Smith just showed his video encoding and XAML editing demo, pretty much the same demo as in Vegas, but very well received here anyway! You got to love his accent :) but more important, the content is great. One new thing presented today compared to the Las Vegas edition is a new plug-in for LiveWriter which allows embedding ...
Cream, as in 'Pick of the Litter' is always subjective, but this is my list for today as I view my Morning Paper, and will add on as I come across others Silverlight implementation of Surface's "photo table" UI Delay got around the 'bring to top of the Z-Order on a mouse click' problem with this... looks like I'm going to have to switch to Alpha :) .. Very cool! Adding Thrust Bill Reiss' site was down for a day a while back. I'm glad it's back up and he's moving forward with the game developement. ...
I bit the bullet and installed IE 7 on my main development machine (Windows XP SP2). I had held back due to the fact that one of my main clients has an Intranet web application running under IE 5.5 / IE 6.0 and I need to develop against that as the benchmark standard. Thanks to the wonderful Multiple IE installer I quickly had IE 3.0, IE 4.01, IE 5.01, IE 5.5 and IE 6.0 all available for testing my ASP.NET application. The only tricky bit was getting Visual Studio 2003 to run the ASP.NET application ...
We have all had the experience of debugging an application in Visual Studio and run into the problem of not having the debugging symbols or having incorrect symbols. This is particularly true when you need to step into .NET CLR code to track down a problem. Microsoft maintains a public symbol server that provides symbols for the different Windows operating system versions, MDAC, IIS, ISA, and the .NET Framework. This server is for symbol downloads only and is not browseable. In addition to the Microsoft ...
I have been working on a CSLA project for the last few months. We are working on refining our unit testing now that we have implemented our authorization rules. All good. We are working VS2005. Honestly, I like CSLA in many ways, but there are few gotchas we've seen along the way. This post outlines one of them. However, we noticed something today. We establish our starting conditions in our ClassIinitalize in the TestClass. When we have only one TestMethod in the class, this works fine. We recently ...
The Ajax Revolution with Derek Hatchard I was hoping to hear about some more advanced talk about the trials and tribulations of using Ajax in this session but it turned out to be a basic demo of the simple AjaxToolkit controls and some Script.aculo.us effects. Nothing was new to me so there's not much to talk about. If you've seen the AjaxControlToolkit demo page and the Script.aculo.us demos then you've seen it all. Security Through Partial Trust with Don Kiely Security is always an issue with web ...
Few days back , i was having a strange problem. i have a table inside a div and i want the items in table to be centered aligned. Now generally i have declared a class like this. table.thumb{ margin-bottom : 1px; } table.thumb td{ text-align:center; vertical-align :top; } In general sense , this css will have the table leave 1px from bottom and colums will have items center align. Now, this wont work. because , the table is nested inside a div , with float set to "left", in that case even i set the ...
Amazing day yesterday. It all started with a great breakfast set up by the Venetian team. They really do an amazing job. The hotel is just great, not only because it's so big and luxurious, but also because every details is taken care of, every detail is perfect. I had the same impression last year, impression confirmed. The key note was great, though to be fair last year's was better. Ray Ozzie just cannot beat Bill Gates, charisma wise. I was very happy to see Scott Guthrie on stage again, this ...
Wow, it has been quite a day here at MIX -- I hardly know where to begin. As Ray Ozzie started his keynote this morning, he talked about some new concepts in application categories that reall make a lot of sense. First, there is the idea of the "universal web application," or an app that lives solely online and is accessed via the browser. Then he talked about the "experience first" application, an app that runs on the desktop and can heavily leverage the resources of the desktop. So ok, we've given ...
Subtitle: Oracle vs. MySQL As I posted before, I have been tasked with converting a large block of Oracle stored procedures to MySQL. As you might expect, MySQL won out over Oracle in the "bean counter test" (accounting and administration procurement project approval) because it cost $5K vs. over $100K for Oracle. So we were basically told to use it. Opportunity cost of the extra time to learn it, code it, and the possible risks were voiced but not considered in the decision. The vast difference ...
HOT OFF THE PRESS...Great new tool released easing CPS and Smartphone Integration http://support.citrix.com/k... Mobile VM Manager Document ID: CTX113193 Created: Apr 24, 2007 Updated: Apr 24, 2007 Products: N/A Attachment: Mobile VM Manager.zip (221.4 K) Mobile VM Manager Description The Mobile VM Manager was developed using Microsoft Visual Studio 2005 and the VMware software development kit (SDK). The development of this application illustrates the advantages of using Visual ...
Hello folks I want to share my new experience of development. Microsoft again come with great Integrated Development Environment (IDE), yes I am talking about the new release of March CTP of Visual Studio Orcas. One good feature that I found in Orcas is support of JScript debugging that improve the development time. New vanilla feature of coding is available in Orcas. Fig 1. Declare JavaScript function in Orcas. Fig 2. Debugging in Orcas We can now write code more easily with asp files, html files ...
In my last blog we saw the Web application trust levels, how we configure trust level from the application. Strong-named assemblies must be stored in the GAC (short of global assembly cache). By default, strong-named assemblies will not grant access to partially trusted code, because of the visibility of strong-named assemblies in the global assembly cache is high. What going on when partial trusted application call the Full trusted assembly. If the calling assembly marks with the APTCA (short of ...
I discovered an interesting issue while decorating an EventTopic subscription in my ModuleController for one of my modules. The decoration was like this: [EventSubscription(EventTop... ThreadOption.UserInterface)... void OnMsgReceived(object sender, EventArgs<Msg> ev) The event is fired on a non-UI thread, and I disovered this event handler was being called on that thread, NOT on the UserInterface thread as specified in the decoration. This decoration works fine in a ...
Visual WebGui is.... User-Friendly – Visual WebGui was designed to be the next VB6 for the web. Simple to program, simple to deploy. With a full WinForms API and design time support you can start developing complex AJAX applications in seconds with no web know-how. Secured – Visual WebGui was designed to provide for military grade secured AJAX applications by eliminating client side service consumption and business logic processing using an empty client concept. The browser is used as a looking glass ...
I really didn't expect to be debugging site issues this morning, and funny that all of a sudden this would appear: Exception Details: System.InvalidOperationExce... Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached. The DiscountASP.net support folks were very helpful to explain I apparently was not closing every connection string, and the site was busy past what ...
My team has been working on and off all week trying to find out why one of our windows services was crashing at the same time every day with a very unhelpful eventlog message. Like all good errors, a search on the error message returns many results where people get the same message but for a bunch of different reasons and where many of the search result threads are left unanswered. This service was first developed in .NET 1.1 way before I joined the company (only 5 months ago). It had been running ...
Getting Started Overview Installing ASP.NET AJAX Sample ASP.NET AJAX Application Introduction to the UpdatePanel Control Introduction to the UpdateProgress Control Introduction to the Timer Control ASP.NET AJAX Server Controls UpdatePanel Control Overview The UpdatePanel Control UpdateProgress Control Overview The UpdateProgress Control Timer Control Overview The Timer Control ScriptManager Control Overview Client Scripting Extending JavaScript with ASP.NET AJAX Creating Custom Client Script in ASP.NET ...
Debugging the XamlParseException (continued) In a previous post, I mentioned how you can get more details about the XamlParseException thrown when something is wrong with the XAML (but you don't know what exactly). Well, a reader named Daniel Puzey made a comment to that, and I think it's worth posting that again: There's another trick to this. Often, by default, you'll get an error reported at Line 1 of the xaml, which is an obvious lie. You can catch the original exception, though: - Open the "Exceptions" ...
First let me say thanks to Craig Shoemaker for sending me a copy of this book. Yes, I know it has been a while since it came out, but I just finally got around to going through it. In that time Craig has been working on another book and Microsoft has renamed Atlas to ASP.NET Ajax. Craig, Wally, Paul and Scott packed this text with gems, not only on Ajax, but also the technologies that it grew up from. The book covers how we got to this point. They start all the way back with JavaScript and the DOM ...
Re-throwing an exception is a little more complex that I had realized. The gotcha, pointed out by helpful reader "Sander", is that when the initial exception is thrown from directly inside the try block, rather than from within a method call inside the try block, you will lose the line number of the faulty line of code, regardless of how you re-throw the exception. Here's some sample code that demonstrates what I mean: using System;namespace RethrowExTest{ class Program { static void Main(string[] ...
Thank God I don't have to install Visual Studio 2003 onto Vista. Well, that may be a bit premature. I have to make sure that debugging and the like will still work. But I don't see why it wouldn't. So yes, it does turn out that you can work on .NET 1.1 projects in Visual Studio 2005 with a couple of project templates called "Everett Compiler". The Everett Compiler project templates include Console Application and Class Library templates that use a custom MSBuild .targets file that directs the compiler ...
If you're too lazy to type in a name when creating a character in HA! I give you one randomly chosen from a list. Sometimes it's the name of a friend, like Robin, or it's androgynous, like Pat. Sometimes it's just silly, like TinkyWinky or IneedaName. So lately, in an effort to test and refine the autowalk feature, I've been creating a lot of characters that I didn't care much about. As with most manual testing, you often discover stuff along the way, while focusing on something else entirely. I've ...
I have a z39.50 client, that uses CQL language and YAZ to communicate to Z39.50 server. Yaz distribution includes etc/pqf.properties CQL to RPN mapping file, that I've used satisfactory without changes. However one of the servers, that I wanted to search, returned 0 to any query in CQL.Some debugging showed that the server doesn't support BIB-1 COMPLETENESS ATTRIBUTES (TYPE = 6) and any query, that included @attr 6, retuned 0. Additionally they didn't understand support attribute 1=1016 (any). I ...
In my previous post I wrote how you can access the contents of discussion boards using web services. For reading existing discussions threads the Lists web service was all that we needed. However there were problems when creating discussions using the same service. After whole day of trial and error I finally gave up this approach and decided to first try using SharePoint's object model instead.
Paessler Site Inspector is a Web browser that combines the two most frequently used browser engines (Internet Explorer and Mozilla/Gecko) into one program. Its advanced web page analysis features make it the perfect companion for webmasters and web developers. Paessler Site Inspector works like an x-ray device, allowing you to peer into the working of website pages and expose their secrets. With Site Inspector’s very own browser, the Analyzing Browser, users can switch between the two browser engines ...
I was playing around with Mart's idea and wanted to 'step through' the Infopath Down Level Script. So how do you debug wsh scripts? That is a question that has been asked before in the newsgroups. The best answer I could find is this response by Michael Harris. Solution: wscript /d /x <script file> where /d = Enable Active Debugging /x = Execute script in debugger Technorati tags: Debugging, WSH Scripts, js, Debugger Cross-posted from tariqayad.com ...
Update: See more information about XAML debugging here. Here's a trick: When you work a lot with XAML, you'll be confronted to the dreaded XamlParseException sooner or later. This exception is thrown whenever something goes wrong while the XAML code is parsed. However, this exception is not very helpful. Typically, you get a message box telling you that: An unhandled exception of type 'System.Windows.Markup.Xaml... occurred in PresentationFramework.dll Additional information: Cannot create ...
Well, you heard it right! Visual Studio "Orcas" the next version of Visual Studio is getting ready and stated for release later this year. Visual Studio "Orcas" presents unlimited capabilities and compelling features which can make a developer's life, more productive. Lets have a peek into the list of features .NET Framework 3.5 (includes support for 3.0, 2.0 versions) - You can write applications which target any of these versions and Visual Studio would automatically filter intellisense, toolbox ...
For anyone intersted in doing PowerShell cmdlet development, Mike Stall has a good post on using Visual Studio to create and debug cmdlets: Here's how you can get a sweet Visual Studio development experience for building and debugging your own PowerShell cmdlet:- It has Wizard support for initially creating the cmdlet, - intellisense- F5 build support which also registers your cmdlet- provides the full power of the VS debugger including Edit-and-Continue when debugging your cmdlets. I've not done ...
One of the interesting things about Windows Vista is the User Acccount Control (UAC) and the Elevation it requires when executing activities that require Administrative Priveleges. Windows Vista, by default runs users as a Standard User and as such when an administrative task is attempted, it prompts you to verify the permission. If you are running your applications on Windows Vista for the first time, you may be a little amused by this operation but it shows the security model that has been the ...
My friend, Pandurang Nayak put up a good list of download links for Microsoft .NET Framework, WCF, WPF Extensions, AJAX 1.0 and a list of other latest Microsoft Technologies which can be downloaded for free. So, herebelow is the list. Product URL Release Status Notes Microsoft .NET Framework 3.0 http://www.microsoft.com/do... RTM Installs .NET Framework 3.0 and all libraries for WPF, WCF and WF Windows SDK and .NET ...
Before you install SP2 you really should read the readme file. I have already seen one post on the MSDN forum who ran into the issue documented in section 5.3.2 of the readme. You can find the ReadMe file here http://download.microsoft.c... And the What's new file here http://download.microsoft.c... There are a lot of good things in SP2, ...
SmartCodeGenerator fans the CTP 2.6.0 has been uploaded to CodePlex. This latest version remembers the entered values on the custom properties and does not require you to retype the property values repeatedly everytime you run the application. I hope this will make codegeneration and debugging experience more simpler. Also Uploaded 2 Articles at Code Project, but still in the Unedited Section. Hope Code Project will move them to the right section soon. This article demonstrates how to use SCGSmartCodeGenerator: ...
ATLAS / ASP.NET AJAX Extensions has finally graduated to RTM. Exams are done and it's time for fun :):):):) ;-) That's true. ASP.NET AJAX 1.0 is coming with source. The Microsoft AJAX library is code complete of course, while the core server side controls will have their source code posted within a week or so. Download the Core Extensions Download the Futures January CTP (this is the only one still CTP of course) Download Microsoft AJAX Library (that has its own source of course) Download the Sample ...
Found this post earlier and well worth sharing; I have wanted to know how to do this for sometime. I have googled, searched books etc but never come up with the answer. Fortunately there are smarter and more experienced people out there than me and Rick Strahl is one of them, if you don't subscribe to his blog I recommend it. He has posted some code on how to find out if the application is running in debug mode...turns out its pretty simple and if I had spent sometime with intellisense (the best ...
Dan Walhin made this good video tutorial to show us steps needed to debug client side script : Video : Debugging ASP.net Ajax Application with Visual Studio 2005 Basically, The following steps need to be performed Step1: Need to tweak IE to enable client script debugging :Go to Tools > Internet Options > Advanced and uncheck both "Disable script debugging (Internet Explorer)" and "Disable script debugging (Other)" .Step2:Then in your client code where you want the breakpoint write debug.fail("Something") ...
All the following Videos are available in this bloghttp://blogs.interfacet... Video: Viewing Albums with WPF/E and ASP.NET AJAX Video: Edit XML Data with the XmlDocument Class Video: Using XPath with the XmlDocument Class Video: Parsing XML with the XmlDocument Class Video: Debugging ASP.NET AJAX Applications with VS.NET 2005 Video: Calling Web Services with ASP.NET AJAX and JavaScript Video: Using the ASP.NET AJAX UpdatePanel, Triggers and PageRequestManager Video: Minimize Code ...
Few days back, I was getting HTTP 404 error in my RSS Reader for some feeds. Some of them are very popular feeds and when I checked the feed XML content, I couldn't find any problem. After doing some step by step debugging I found an interesting thing - the path provided for the DTD in <!DCOTYPE... is no longer valid. When the XmlTextReader was trying to download the DTD from "http://my.netscape.com/pub... it got the exception "HTTP 404 error" and bubbled up to the top level. ...
What an year 2006 has been? There were major releases such as Windows Vista, Office 2007 and Exchange 2007. There were interim releases of Microsoft Ajax Library Beta 1, Beta 2 and RC1. There has been an SP1 Release for Visual Studio 2005. Clearly, it has been an year of new technologies. Secondly, the term "Web 2.0" caught up attention everywhere and suddenly everyone seems to have swallowed "Web 1.0" which never existed. Well, I am planning for a detailed post on Why it is never "Web 2.0" later ...
Had issues debugging a web application on Vista, it kept complaining that Integrated Authentication was necessary. So goggled around and came across this post on Rick's Strahl's blog, and decided to install VS2005 SP1. The VS2005 SP1 setup experience in my case was horrible. it ended up being a memory hog brought the machine down to near halt, and that was just the setup initialization. I would advise folks to run the setup overnight if all they got is 1GB of Ram on their Vista boxes/notebook. So ...
I've just updated VS 2005 to SP1. I am using WAP project with DevServer and enabled "Edit and Continue". My common procedure is to start debugging session, do the changes in the code if required, and if the code is blocked by VS(very annoying, but MS doesn't want to fix it) ,I detaching the debugger from the project. In SP1 it started to show error:Unable to detach from one or more processes. Operation not supported. Unknown error: 0x80131c32.It is not always reproducible, but happened a few times ...
IIS 6 recently popped out an error when I am unable to replicate. I think this will be worth noting here for the sake of those who had the same encounter or who doesn't want to spend too much time debugging a "it should work" problem. This problem and it's resolution is documented in MSDN here. However, for some reason, the recommended methods did not solve my encounter. Here are the steps to first created this problem, note that subsequently the same steps will no longer reproduce this error. Create ...
Microsoft has released service pack 1 for Visual Studio 2005. A few of the New Items I want to point out are: Web Application Projects do not require thet add-in. If you are using Web Application projects, you will need to uninstall the addin before installing SP1. xsl editor, xsl transformation previews, debugging xsl including evaluating xpath expressions export/import of ide settings I am specifically looking forward to the new support for migrating large web apps from 2003 to 2005. Also, be sure ...
This post disappeared from a previous blog of mine so I'm reposting it. --- 'Thank you' to everyone who attended the Debugging Tips and Tricks webcast that I presented today for the BizTalkRocks community. You can find the presentation at http://www.biztalknuggets.c... Debugging Tips and Tricks.zip I recorded the webcast. I will repost this article and include a link to the recorded webcast when it is posted. If you have any questions on the presentation or the webcast please ...
Fiddler HTTP DebuggerHTTP debugging proxy Lutz Roeder's .NET Reflector.NET assembly browser, explorer, analyser and decompiler FxCop.NET best-practice code analyser C# Snippet CompilerLightweight C# code snippet compiler Sysinternals DebugViewMonitors debug output on a local or remote computer WinMergeVisual text file differencing and merging tool GhostDocVisual Studio add-in that automatically generates XML documentation CopySourceAsHtmlVisual Studio add-in that copies syntax-highlighted code to ...