Posted By: ben2004uk | Aug 14th, 2006 @ 3:01 PM
page 1 of 1
Comments: 1 | Views: 2564
Hello,

I am just looking at some code which uses Custom Attributes, however how do you debug them?

How can you get Visual Studio to drop inside of the custom attribute code?

Any tips are welcome on this...

Thanks


Ben
leeappdalecom
leeappdalecom
.nettter

Not sure but im guessing the values of custom attributes are stored at compile time in the assembly therefore i dont think the code actually 'executes' as such. What you could do is use the immediate window to write refection code and see what comes out?

Maybe there is a way of stepping into your custom attributes classes not sure to be honest.

page 1 of 1
Comments: 1 | Views: 2564
Microsoft Communities