Tag | Debugging Posts

I often get asked by other developers at work or during presentations about various tools that I use. Most of the tools I use are relatively well known, but I'm going to create this post so that I have a single point where you can download everything without a bunch of Googling. Almost all of the tools on this list are free. My only disclaimer is that this is simply my personal list of the tools I use most often. If you're looking for a *real* list that is extremely comprehensive, then I recommended ...
I'm frustrated...No matter which jobs I take I seem to end up working on UI with ASP.Net Webforms. I don't like UI and I really don't like webforms. The model feels broken to me. I don't know whether I'm missing something fundamental in my understanding of the webforms paradigm or it really is broken. I seem to spend a lot of time fighting with the framework. You know when you design something really well and it's just 'nice' to use and then you design something badly and its hard to use? You end ...
I started developing a new BizTalk application today which must call an existing web service. Unfortunately I didn't have access to the web service from my test environment so I had to create a test stub. The web service method I needed accepted a string and returned an object containing an int and a bool. My first step was to examine the wsdl of the existing web service to get a good idea of the type my stub should be returning. Because the input / output parameters were simple it was only ten minutes ...
I encountered a repeatable crash in VS2008 for the first time today. I was working on a C# file in the editor. SP1 added some design time hints on syntax or potential compile time problems. The code I was working on had a few red squiggly lines letting me know that I should correct something. Well, when I tried to edit one particular line, VS would freeze on me then throw a nice "Sorry, I'm crashing" error dialog and then close. VS has crashed on me before, but that has typically been because something ...
Over the years debugging XSLT has gotten better and better but one thing continues to be lacking. XSLT debugging with .NET component references in the XSLT. I know there are some tools that do a decent job but something is always lacking. Well I decided to write an XSLT debugger that uses Visual Studio. It is fairly easy to use and is very robust. I will put pictures and such up later but for now I just wanted to get the app out. So if you are like me and are looking for a debugger that includes ...
Mr. Bugsy Elusive We have a C# client and a Local COM server hosting a VoIP stack. We use COM interop. for API and events to the COM server. Today after some changes, when we started to load testing the system a nasty crash happened. From initial observation it's look like some kind of Heap Corruption(may be leaked from stack boundary and stuff like that). I used DTW / Gflags to run the server(sipserver.exe) under windbg and symbols are properly set. Stack traces refer to RPC calls as usual but how ...
For a long tome I kept myself away from this wonderful but ugly looking tool as I was the die-hard fan of a Compuware(Numega then) masterpiece - SoftIce. Hey I still have it installed inside of a Win98 Virtual Box in my XP host. Though SoftIce has got its new incarnation - DriverStudio, not the WinDbg. If you haven't downloaded it, get it Debugging tools for Windows. But I'm not going to give basics of WinDbg usage here. Nop. But quality articles are galore. One thing I must mention that if your ...
With XBox Live Community Games (XBLCG) going live soon, I've been thinking a lot about things that are going to help all of us be successful. One of those things is encouraging hobbyist and independent developers looking to get their game out to the public to consider the quality of the game. Flooding XBLCG with a lot of poorly implemented games missing most of the polish that regular XBox Live Arcade (XBLA) titles have will quickly sink our ship. Microsoft has already made some effort encouraging ...
Debugging in .NET 4.0 has become a bit easier as well thanks to better support for dump debugging through Visual Studio. This means that dump debugging now has support via ICorDebug, which is the same API that is used to enable live debugging and will also allow you to debug Windows Error Reporting mini-dumps in Visual Studio. If you develop 64-bit applications, 64-bit mixed-mode debugging now supports both live and dump debugging. There are also new APIs to do lock inspection, which allows you to ...
On my current project I experienced a "Input string wat not in a correct format" using a paged gridview. Debugging didn't help. Finally, I found it: the enumerated value 'Previous' doesn't exist as a commandargument for the Pager. Changing it to 'Prev' did the trick!
While trying to create a SharePoint 2007 web part I hit a problem that my web searches did not come up with any answers.  The problem was I needed the web part that was imbedded in SharePoint to access the query string.  I lucked out when examining the objects when debugging the code.  The context object is available to the web part and it holds a pointer to the HttpRequests object which includes the Query string property.
Today I managed to get a strange Error (like you get it in Excel if you have more than the famous 65536 rows) during BizTalk testing with HAT. :-) I suppose the reason is that HAT (where I displayed some debugging data) uses Office WebComponents in background and therefore this limitation is causing problems with greater amounts of data. Anyway an interesting error ...
Sometimes windows service debugging is really tricky. Usually , during development, developer should implement some test harness application with UI to run and test functionality being developed. But when it comes to debug real windows service which hosts the objects which do the real job - it's a headache. Amazingly, in NET platform there is a simple and straightforward way to debug a windows service. Consider the following code sample: using System.ServiceProcess; namespace MyService { public partial ...
We have arrived! Like the booth? This is going to be a very busy week. John and I will be debugging the Surface table (huge thanks to Joe Olsen and Phenomblue for helping us with the Surface) and Jerod will be getting the marketing down. Can’t wait to catch up with the herd of you at this event! Time for rest… Technorati Tags: PDC08,Geekswithblogs.net,Booth ...
I am sorry for the lack of blog love. I am going to try very hard to post something awesome once a week. I have a couple birthdays upcoming, including my friend Leah's and my boyfriend Johnny's. I also have a Silverlight Presentation at the St. Louis .Net User Group on October 27th, then the Kansas City Office Geeks will be meeting on November 6th with a presentation on SharePoint Updates by JD Wade. In between I believe I am going to try and give a how to write a custom wildcard search in SharePoint ...
So, I've been on a mission, to show that we can port our mobile portal application suite over to iPhone. We've long been using a Windows Mobile delivered portal that takes Sharepoint, Dynamics NAV and a host of other line of business system (LOB) and delivers them to our mobile workforce. The core of our business at Anglia Business Solutions (www.angliabs.com) is to allow our consultant's, sale staff and support engineers to work remotely. For any service based company our lifeblood is accurate time ...
Sometimes in the BizTalk forums such questions appear. "...I have been using event log to test variables. I was hoping there was a way to watch it process in VS like you can debug a forms app." There is a difference in the usual app and in the "BizTalk app". When you start usual app it is exactly this app and you could debug it. When you "start" the BizTalk app that could means *many* *instances* of this BizTalk app could works simultaneously. With BizTalk you have an intermediate layer, the host. ...
Chris Cavanagh with Actionscript layout library, Martin Mihaylov with Voting control, Bart Czernicki on Dynamic Assembly loading, Peter McGrattan on Duplex Polling, Terence Tsang with FPS Meter, Gerard Leblanc Turning the Page, Robby Ingebretsen on Blend Modes, Greg Schechter on Shader Effects, and Jonas Follesø with an Expression Add-In for Color. Wow... busy day, is it because of the RC0, or the phase of the moon? I've got 10 plus 2 in this post and another 11 or 12 for this evening, not counting ...
Jeff Handley on Layout Cycle and ContentPresenter gotchas, Pete Brown on VSM Styles and SL2 RTM, Bill Reiss with Cleaner Game Loop, Matthias Shapiro with Zooming Buttons and Color Picker, Expression Blend Team with Blend 2 SP1, Jeff Wilcox on RC0 Unit Test, Terence Tsang with Resilience Rectangle and Grid Transition Rotator, and Gerard Leblanc rotating images. Yowzer... you can certainly tell something was released! David Anson reports: Preserving access to Silverlight 2's generic.xaml resources ...
Microsoft announced BizTalk Server 2009 today, and gave the green light to talking about the new version. It’s due for release in the first half of next year, and is shaping up nicely. Microsoft is casting BizTalk Server 2009 as a major new version in its own right, rather than just an updated 'release' of BizTalk Server 2006. This is an important move, and one I strongly welcome. There is certainly enough in BizTalk Server 2009 to warrant thinking of it as a major revision of the product, although ...
Stages of Grief and SharePoint Development I have been teaching SharePoint 2007 (WSS and MOSS) Development courses for over a year now! Both the excellent Ted Pattison materials and the (getting better) Microsoft Official Cirriculum courses surrounding SharePoint. The development model for SharePoint customizations using Visual Studio is.... How can we say? "non optimal". We are coding web pages inside of a class library project. That's right. Just sit back and think about that for a minute or two ...
I have written about cloning code from the Public tree to a platform in the past, but someone recently asked about cloning an MDD lib build directory. More specifically the question was about cloning ufnmdd.lib in Windows CE 5.0, which is actually created by linking three separate libs together. In this article, I will walk through the process by cloning one of those libs. Ufnmdd.lib is created by linking ufnmddbase.lib, ceosutil.lib and defbuslib.lib. I suspect that most people don’t really need ...
When trying to debug javascript using Visual Studio 2008 there a couple of things you need to do first - otherwise it (debugging) will not work and you'll get the following error when you hover over breakpoint in your javascript: The breakpoint will not currently be hit. No symbols have been loaded for this document. Note that this is only for debugging using IE (6) - not sure about other browsers/versions. Within IE go into Tools - Internet Options - Advanced tab and make sure the 'Disable Script ...
Emil Stoychev on async data, Bart Czernicki on VS and SLTools updates, Denislav Savkov with Part 2 of his weather control, Bill Reiss on Fiddler and SL vs Flash, Page Brooks with a Gauge Control and Polling Control, Matt Berseth with angled DataGrid column headers, and Alex Knight with a Splash screen. I feel like a wedding planner with this one... something old, something new :) ... of course the old ones are only a few days, leftover from while I was gone. I have one more set of those unless I ...
Inversion of Control means that objects get the objects that they need from an outside source. SSRS is just one of the components in the Microsoft Business Intelligence (BI) platform, read more at Influential Leadership. Multithreading comes with a resource and CPU cost in allocating and switching threads if used excessively. In the "Test Driven Testing" phase testers can do efficient testing without any interruptions by frequent defect fixes of the development team, check Web 3.0 and prestigious ...
I'm taking a break from this glorious day, with nice weather and grilled meats to bring you this interview with Dana Coffey (someone many of you know as @CrazeeGeekChick on Twitter.) Dana is from a place near and dear to my heart. The South. Every time I see her take the time to actually type out the word "y'all" I get a chuckle. So without further delay, here is Dana Coffey and her NINE Questions. 1. Where are you from? Peachtree City, GA – land of the Golfcart paths. It’s just south of Atlanta ...
OK, I have heard you loud and clear, the comments suck in SubText and on Geekswithblogs.net. I agree, but I don't have near as many problems with people being able to comment as others do. This leads me to believe the problems lay in two places, the skins or the custom HTML code fields. Most of the time when I am debugging a blogger with comment problems they are due to some javascript they have embedded into the news section of their blog. However, this is a problem so we need to get it fixed so ...
I've been using lots of System.Diagnostics.Debug.Wr... in my Biztalk orchestrations. Makes it easy to find out what's going on during the process. I also have to maintain some VB6 code. Using the debug API calls I can create similar debugging statements to the one's in .NET. Here's some sample code private Declare Sub OutputDebugString Lib "kernel32" _ Alias "OutputDebugStringA" _ (byval lpOutputString as string) private Sub testOds(dbgOutput as string) OutputDebugString dbgOutput End Sub ...
I have an existing C# file, generated a long time ago from XSD definition. The XSD files were changed, and proxy class should be regenerated. I've tried to use XML Schema Definition Tool (Xsd.exe) to generate C# class, but it returned the error: "The datatype is missing". I've actually have two XSD files -outer and imported Thanks to the post: XSD.exe is kicking my butt, man...redux , it pointed me to specify all necessary files on the commandline. Note that name of generated file is combined from ...
Considerations of Using Excel Data Sources in SSIS 2005 & Designing a Secure SQL Server 2008 Solution Date: August 19, 2008 Time: 4:30 PM - 7:30 PM Visit www.mnssug.org to register Topic One: Considerations of Using Excel Data Sources in SSIS 2005 Speaker: Mark Vaillancourt, Digineer When connecting to Excel, SSIS uses the Jet provider, which expects an Access database by default. Since Excel is not a database, nor does it tend to act like one, particularly with respect to data type consistency ...
This isn't quite a Silverlight thing, but it came to 'light while debugging a problem that ultimately began with Silverlight. Many of us are using WebServices with Silverlight, and what starts out small has a tendency to grow up on us... and that's what happened to my OutlookBar code. Read the article to see how to resolve the "Maximum Length Exceeded" error. Stay in the 'Light! Twitter SLNews | Join me @ SilverlightCream | SL Web Articles | SL2 Web Articles | My Articles | My Tutorials | My Tooltips ...
Approximate strong classification behaves identical to strong classification restricted to a subset of all classes. Considering the fact that A way to get some of the features of dynamic layout from a layout that was created in absolute coordinates is to scale the UI. In retrospect, sometimes business components need to retrieve information from external sources in order to do their work. The internal mechanisms of what allows user-mode debugging to work have rarely ever been fully explained. Approximate ...
Been a while since i last posted - I guess its because of my recent engagement with sharepoint focusing on various Moss 2007 focusing on Enterprise Search and BDC and some WSS. I must say Moss 2007 has come a long way from its predecessor, however, What is the most frustrating issue is the "unexpected error" that you get when you deploy anything. Offcourse, I immediately look for the logs and event viewer the configuration analyzer etc., I can now reproduce this error on demand on any webpart - that's ...
Azret Botash with a series on the Devexpress Grid, Martin Mihaylov on JSON Serialization, Lee on UserControl Communication, Michael Sync on SL Unity Application block, Adam Kinney with an Animation Lab, Jesse Liberty on Blend, and Tim Heuer on debugging SL and fonts and file uploading. Karen Corby has her FlickrViewr updated for SL2B2. Page Brooks has materials up from his CDEG presentation, and while you're on his site, check out the prize list now available for the Silverlight ControlBuilders Contest ...
The Roanoke Valley .NET User Group held a monthly meeting tonight. The topic was Unit Testing with Visual Studio 2008. It was arguably one of the better meetings we have held. Even though I have been using Unit Testing for years (starting with JUnit forever ago). Although I feel that I perform unit testing well enough, I am amazed and how much I can learn in just a few hours by collaborating and interacting with others. It seems that over the past 7 years or so I have performed a significant amount ...
So there I was -- another day of writing slick AJAXified custom SharePoint web parts. This was a simple one. A series of dropdowns that cause subsequent dropdowns to be re-populated with increasingly restrictive data. Planet Continent Country etc. But, when I changed the planet choice to be "Earth" the continent choice DID populate with the continents on earth but it caused a complete page round trip -- not the smooth AJAXified action I expected. Plus, my UpdateProgress panel wasn't being displayed ...
This article is a part of the Interview Questions series. Part 1: BizTalk: Questions for interview without answers Part 2: BizTalk: Interview questions and principles Part 3: WCF: Questions for studying and interviewPart 4: WCF: Questions for studying and interview: DiscoveryPart 5: WCF: Questions for studying and interview: Routing Service Part 6: BizTalk: Advanced Questions Please, mark your skills in the table. I completely understand that nobody ever tried ALL the BizTalk features. Name Number ...
Today I found the following announcement at the ntdebug blog. Microsoft has released a windows internal exam, targeted for the IT Pro and Developers that need to know the internals. seems to me it is definatly a developer exam, and also good to know for the IT Pro that do a lot of troubleshooting/debugging. For myself I'm considering it, but it seems a tough one and am not sure if I'm already prepared enough to take it. At least for everyone that would like to take the exam here is the beta code ...
This issue has been known since late last year, but there doesn't seem to be too much noise about it in the blogosphere. No doubt as we continue to create and consume more and more WCF services, troubleshooting configuration issues has become a common occurrence (can I get an amen?). Keep this in mind the next time you add a new service reference to your .Net projects. Here's the scoop: when using a WCF proxy client object, simply having the typical Dispose() method fire off does not ensure the object ...
"A connection was successfully established with the server, but then an error occurred during the login process. (provider: TCP Provider, error: 0 - The specified network name is no longer available.) " This is what has been causing issues with the site this weekend. Thankfully the hospital has good WiFi and my cell's bluetooth connection to the HSDPA network from AT&T makes being able to debug the servers ok. However, we will be in the hospital the rest of the day and going home tomorrow so ...
Microsoft has been nice enough to supply us with many typedefs that we can use when writing code that should simplify development, especially when our code may be used to target different Microsoft OSs. On the other hand, these typedefs can also cause problems for us when using them to write device drivers. The typedefs that can cause problems are the ones that are pointers, like PBYTE, PDWORD… The reason that they can cause problems is that modifiers like volatile don’t modify in the way that we ...
I have started using Visual Studio Team System (VSTS) 2008, recently. Previously I worked with Visual Studio 2005. As a matter of fact I had to use lots of external tools to perform and speedup my development process. However, while working with VSTS 2008, it's very exciting for me that, I found replacements for most of the external tools there. Here are 10 tools which I left after using VSTS 2008: 1. Database Schema Compare External tool: Redgate SQL Compare VSTS 2008 tool: Menu -> Data -> ...
Microsoft last week rolled out the first Release Candidate of SQL Server 2008. The RC0 bits are available for public download here. I have been playing with SQL 2008 RC0 for a few days already, and I would like to share my experience in this quick blog post. First of all, I have to warn you that my RC0 installation experience was not pleasant at all. If you are an early adopter of new releases like me, you will very likely run into the same troubles I had. Previous CTP releases of SQL Server 2008 ...
You know that Fibonacci is not a fine wine or type of bread. Your Christmas list is a color-coded spreadsheet with sort capabilities on person, store, and price. The last party you attended was a slide deck check. Your MP3 player contains more .NET podcasts than music. The average shelf life of the books you purchase is 3 months. You have more email addresses than you have digits in your phone number. That's ok, because you have linked them all together with single sign-on from your smart phone. ...
I just surfed on this on the sharepoint forum so i decided to share It can save a lot of time though Getting Started Topics SharePoint Developer Introduction for .NET Developers http://www.microsoft.com/cl... Microsoft SharePoint Team Blog http://blogs.msdn.com/share... Troubleshooting Topics Problem Area: Debugging and Troubleshooting Problem When developing against the SharePoint object model in an application outside of IIS (service, console, Winforms etc..) on a machine ...
SlickEdit is one of the old school editors that has survived the wonder world of the new IDE. Version 13 has just been released and it continues to blur the boundaries between a simple text editor and a fullblown IDE. While there are no visual form designers and other such wizbang graphics, what you get is an editor that you can use for many development tasks, including building, running, and debugging complete applications. Ten versions down the road, and we now have almost too many features to ...
SlickEdit is one of the old school editors that has survived the wonder world of the new IDE. Version 10 has just been released and it continues to blur the boundaries between a simple text editor and a fullblown IDE. While there are no visual form designers and other such wizbang graphics, what you get is an editor that you can use for many development tasks, including building, running, and debugging complete applications. Ten versions down the road, and we now have almost too many features to ...
Code debugging is one of the most important parts of any development life cycle because it gives you the technique to find the problem and how to resolve it. When we talk about the visual debugging Visual Studio has tremendous potential in the term visual debugging features in the form of DataTips. DataTips tool provide a handy way to view information about your variables in visual studio during debugging only. In old versions of Visual Studio DataTips were limited in the amount of the information ...
*Moved to: Change of planAfter having thought about it for a while I think that my idea not to create a separate TOM system independent of MOSS was a bit of a silly idea. The whole point of the system is to exist in any environment, so the first version will exist separate of SharePoint. The main advantage of this will be debugging and testing.... The first version will use simple web pages as stubs to the SharePoint bits, but the final version will need to run in MOSS.Read more...Follow my new blog ...
WCF: Technique of debugging inconsistency between Wsdl and Response messages. I was working with several web-services as a client and had several issues the same kind. WSDL of this services does not conform the Response messages (See below. I’ve bolded the text related to the issue.). I fixed this issue by changing proxy code. It is not a big issue but now we have to manually change proxy every time we have updated the proxy of this service. Here the checklist how debugging this case: [The proxy ...