> we only override ToString in some
> entities, but the problem occurs on
> many parts during debugging process,
> when i pause debugger during debugging
> sometimes i get nothing and sometimes
> i get the following stack trace (in
> many queries some are simple, and some
> are complex):
>
>
> System.Data.dll!System.Data.SqlTypes.SqlDecimal.MultByULong(uint
> uiMultiplier) Unknown
> System.Data.dll!System.Data.SqlTypes.SqlDecimal.AdjustScale(int
> digits, bool fRound) Unknown
> System.Data.dll!System.Data.SqlTypes.SqlDecimal.CompareNm(System.Data.SqlTypes.SqlDecimal
> snumOp) Unknown
> System.Data.dll!System.Data.SqlTypes.SqlDecimal.operator
> >(System.Data.SqlTypes.SqlDecimal x, System.Data.SqlTypes.SqlDecimal
> y) Unknown
> Xtensive.Orm.dll!Xtensive.Sql.Drivers.SqlServer.v09.TypeMapper.ReadDecimal(System.Data.Common.DbDataReader
> reader, int index) Unknown
> Xtensive.Orm.dll!Xtensive.Orm.Providers.DbDataReaderAccessor.Read(System.Data.Common.DbDataReader
> source) Unknown
> Xtensive.Orm.dll!Xtensive.Orm.Providers.BatchingCommandProcessor.ExecuteBatch(int
> numberOfTasks,
> Xtensive.Orm.Providers.QueryRequest
> lastRequest) Unknown
> Xtensive.Orm.dll!Xtensive.Orm.Providers.SqlSessionHandler.ExecuteQueryTasks(System.Collections.Generic.IEnumerable<Xtensive.Orm.Internals.QueryTask>
> queryTasks, bool
> allowPartialExecution) Unknown
> Xtensive.Orm.dll!Xtensive.Orm.Session.ProcessDelayedQueries(bool
> allowPartialExecution) Unknown
> Xtensive.Orm.dll!Xtensive.Orm.Internals.Prefetch.Fetcher.ExecuteTasks(System.Collections.Generic.IEnumerable<Xtensive.Orm.Internals.Prefetch.GraphContainer>
> containers, bool skipPersist) Unknown
> Xtensive.Orm.dll!Xtensive.Orm.Internals.Prefetch.PrefetchManager.ExecuteTasks(bool
> skipPersist) Unknown
> Xtensive.Orm.dll!Xtensive.Orm.Providers.SqlSessionHandler.FetchEntityState(Xtensive.Orm.Key
> key) Unknown
> Xtensive.Orm.dll!Xtensive.Orm.Entity.EnsureIsFetched(Xtensive.Orm.Model.FieldInfo
> field) Unknown
> Xtensive.Orm.dll!Xtensive.Orm.Entity.SystemBeforeGetValue(Xtensive.Orm.Model.FieldInfo
> field) Unknown
> Xtensive.Orm.dll!Xtensive.Orm.Persistent.GetFieldValue<Microtech.Infinity5.Model.Financial.AR.InvoicePayment>(Xtensive.Orm.Model.FieldInfo
> field) Unknown
> Xtensive.Orm.dll!Xtensive.Orm.Persistent.GetFieldValue<Microtech.Infinity5.Model.Financial.AR.InvoicePayment>(string
> fieldName) Unknown
> Microtech.Infinity5.Model.dll!Microtech.Infinity5.Model.Financial.AR.SalesDocument.PaymentDetails.get() Unknown
> > Microtech.Infinity5.Web.dll!Microtech.Infinity5.Web.Financial.AR.FRM_SalesDocument.SetTotals()
> Line 1643 C#
> Microtech.Infinity5.Web.dll!Microtech.Infinity5.Web.Financial.AR.FRM_SalesDocument.GV_DocumentDetails_DataBound(object
> sender, System.EventArgs e) Line
> 6439 C#
> DevExpress.Web.v13.2.dll!DevExpress.Web.ASPxGridView.ASPxGridView.DataBindNoControls() Unknown
> DevExpress.Web.v13.2.dll!DevExpress.Web.ASPxGridView.ASPxGridView.LoadGridControlState(string
> pageSelectionResult, string
> pageKeyValues, string
> columnResizingResult, string
> endlessPagingState, string
> batchEditClientState) Unknown
> DevExpress.Web.v13.2.dll!DevExpress.Web.ASPxGridView.ASPxGridView.LoadPostData(System.Collections.Specialized.NameValueCollection
> postCollection) Unknown
> DevExpress.Web.v13.2.dll!DevExpress.Web.ASPxClasses.ASPxWebControl.LoadPostDataInternal(System.Collections.Specialized.NameValueCollection
> postCollection, bool
> raisePostDataEvent) Unknown
> DevExpress.Web.v13.2.dll!DevExpress.Web.ASPxClasses.ASPxWebControl.CreateChildControls() Unknown
> System.Web.dll!System.Web.UI.Control.EnsureChildControls() Unknown
> System.Web.dll!System.Web.UI.Control.FindControl(string
> id, int pathOffset) Unknown
> System.Web.dll!System.Web.UI.Page.ProcessPostData(System.Collections.Specialized.NameValueCollection
> postData, bool fBeforeLoad) Unknown
> System.Web.dll!System.Web.UI.Page.ProcessRequestMain(bool
> includeStagesBeforeAsyncPoint, bool
> includeStagesAfterAsyncPoint) Unknown
> System.Web.dll!System.Web.UI.Page.ProcessRequest(bool
> includeStagesBeforeAsyncPoint, bool
> includeStagesAfterAsyncPoint) Unknown
> System.Web.dll!System.Web.UI.Page.ProcessRequest() Unknown
> System.Web.dll!System.Web.UI.Page.ProcessRequest(System.Web.HttpContext
> context) Unknown
> App_Web_mp5pousd.dll!ASP.financial_ar_frm_salesdocument_aspx.ProcessRequest(System.Web.HttpContext
> context) C#
> System.Web.dll!System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() Unknown
> System.Web.dll!System.Web.HttpApplication.ExecuteStep(System.Web.HttpApplication.IExecutionStep
> step, ref bool
> completedSynchronously) Unknown
> System.Web.dll!System.Web.HttpApplication.PipelineStepManager.ResumeSteps(System.Exception
> error) Unknown
> System.Web.dll!System.Web.HttpApplication.BeginProcessRequestNotification(System.Web.HttpContext
> context, System.AsyncCallback
> cb) Unknown
> System.Web.dll!System.Web.HttpRuntime.ProcessRequestNotificationPrivate(System.Web.Hosting.IIS7WorkerRequest
> wr, System.Web.HttpContext
> context) Unknown
> System.Web.dll!System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(System.IntPtr
> rootedObjectsPointer, System.IntPtr
> nativeRequestContext, System.IntPtr
> moduleData, int flags) Unknown
> System.Web.dll!System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(System.IntPtr
> rootedObjectsPointer, System.IntPtr
> nativeRequestContext, System.IntPtr
> moduleData, int flags) Unknown
> [Native to Managed Transition]
> [Managed to Native Transition]
> System.Web.dll!System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(System.IntPtr
> rootedObjectsPointer, System.IntPtr
> nativeRequestContext, System.IntPtr
> moduleData, int flags) Unknown
> System.Web.dll!System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(System.IntPtr
> rootedObjectsPointer, System.IntPtr
> nativeRequestContext, System.IntPtr
> moduleData, int flags) Unknown
> [AppDomain Transition
]
answered
Mar 27 '14 at 01:47
ahmad emad
26●29●29●31
Dear Ahmad Emad,
Have you made any changes to your environment/tools except updating DataObjects.Net to version 4.6.4? I'm asking for details because there was a similar problem and it was fixed with installing an update to Visual Studio.
Hello Dmitri, we didn't do any environmental change except installing dataobjects.net, also we use Visual Studio 2010 / Windows7/IIS 7.5. but some times it works good (rarely, and i don't know why). if you have any idea or need me to check something, please inform me.
Hello Dmitri, I have installed Visual Studio 2013, and the problem still exists. finally I downgraded again to release 4.3.3 and test the debugging performance and the problem doesn't exist on release 4.3.3 so i am sure the problem is with the new release (4.6.4), so please inform me what we have to do?, we have renew subscribtion this year only to make the upgrade for the new release(4.6.4).
Hello Ahmad, speaking of debugging performance, could you describe what kind of operations do you debug that perform so poor? Are you using DebuggerDisplay attribute on your entities? What about overriding ToString() method? I'm thinking about possible reasons DO might have to fetch any additional data while debugger tries to display objects being debugged.