Some notes on software development... RSS 2.0
# Friday, 30 March 2012
Friday, 30 March 2012 10:07:59 (GMT Standard Time, UTC+00:00)  #    -
.NET
# Friday, 05 September 2008

To stop Visual Studio 2005/2008 from loosing breakpoints and behaving erratically when debugging and using the BackgroundWorker control you need to stop the debugger from interacting with the form's thread.
greggm has a more in depth post and other solutions to the problem but for me adding the DebuggerDisplay attribute to the windows form improved debugging.

[System.Diagnostics.DebuggerDisplay("Form1")]
public partial class Form1 : Form

 

I haven't tried it but I believe you can un-check the "Call string conversion function on objects in variable windows" from the Debugging section in Visual Studio options:

image

Friday, 05 September 2008 11:12:45 (GMT Standard Time, UTC+00:00)  #    -
.NET | Visual Studio
# Thursday, 04 September 2008

To access the actual assembly files contained in the GAC you can open explorer using the following command %windir%\assembly\gac

So from the run command:

image

Instead of the standard GAC explorer shown here:

image

You get the standard file explorer so you can copy the assemblies out.

image

This tip was picked up from Tim Jones' blog article, nice one!

Thursday, 04 September 2008 10:20:02 (GMT Standard Time, UTC+00:00)  #    -
.NET
Navigation

Sign In
Extras
Statistics
Total Posts: 116
This Year: 0
This Month: 0
This Week: 0
Comments: 36
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2017
Hadrian Phillips

All Content © 2017, Hadrian Phillips
DasBlog theme 'Business' created by Christoph De Baene (delarou)