Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Debugging
Message
From
23/01/2007 13:33:06
 
 
To
23/01/2007 08:43:32
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, United States
General information
Forum:
ASP.NET
Category:
Web Services
Title:
Miscellaneous
Thread ID:
01187903
Message ID:
01188239
Views:
20
Hi,

I was sort of assuming that the temp code kicked in when the
>>string XML = NonAffiliateEscrowData.GetXml();
line executes but you say it doesn't get to this line ?

IAC, according to MS the purpose of the DebuggerNonUserCode attribute is to suppress the type in the debugger (see http://msdn2.microsoft.com/en-us/library/system.diagnostics.debuggernonusercodeattribute.aspx) but obviously this is not working in your case. Googling DebuggerNonUserCode reveals a couple of threads where users had the same problem - but I didn't see any definitive reason or solution in what I read :-{

Regards,
Viv


>No, the debugger doesn't step into the web service.
>
>
>>Hi,
>>
>>Supposition:
>>The Dataset.GetXML() method is using reflection to generate code on the fly and the temp file is part of this.
>>Can't you continue debugging just by stepping out of that code?
>>
>>Regards,
>>Viv
>>
>>>All,
>>>
>>> I am trying to step into a web method. when I do, it takes me to a temporary file and I never reach the code I am trying to execute. The debugger goes into a method in the temp file that returns this._schemaSerializationMode, the code is below.
>>>
>>>My code and the code for the temp file is below
>>>Temp File
>>>
>>> [System.Diagnostics.DebuggerNonUserCodeAttribute()]
>>>        [System.ComponentModel.BrowsableAttribute(true)]
>>>        [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Visible)]
>>>        public override System.Data.SchemaSerializationMode SchemaSerializationMode {
>>>            get {
>>>                return this._schemaSerializationMode;
>>>            }
>>>            set {
>>>                this._schemaSerializationMode = value;
>>>            }
>>>        }
>>>
>>>
>>>Web Method Code
>>>
>>> [WebMethod]
>>>    public int SaveInfo(DataSet NonAffiliateEscrowData, int UpdateType)
>>>    {
>>>        string XML = NonAffiliateEscrowData.GetXml();
>>>        return NonAffiliateClosingInfo.SaveInfo(XML, UpdateType);
>>>    }
>>>
>>>
>>>I don't quite understand what is going on, but if someone could help me, that would be great.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform