Hello, We suffer an unexpected behavior after installing release 4.6.4, the debugging process became very slow which affect our work in a bad way.

asked Dec 22 '13 at 02:31

ahmad%20emad's gravatar image

ahmad emad
26292931

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.

(Dec 23 '13 at 13:26) Dmitri Maximov Dmitri%20Maximov's gravatar image

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.

(Dec 24 '13 at 01:14) ahmad emad ahmad%20emad's gravatar image

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).

(Mar 20 '14 at 09:04) ahmad emad ahmad%20emad's gravatar image

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.

(Mar 24 '14 at 07:55) Dmitri Maximov Dmitri%20Maximov's gravatar image

One Answer:
> 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%20emad's gravatar image

ahmad emad
26292931

edited Mar 27 '14 at 01:52

Ahmad, thanks for the stack trace. Could you tell as well, what was the exact exception?

(Mar 27 '14 at 19:43) Dmitri Maximov Dmitri%20Maximov's gravatar image

its not an exception, i just paused the debugger in visual studio more than once at many time, and it keeps paused on the same operation for long time (may be a few minutes or more)

(Mar 30 '14 at 05:43) ahmad emad ahmad%20emad's gravatar image

Ahmad, do you experience the problem on multiple machines or just one?

(Mar 31 '14 at 07:44) Dmitri Maximov Dmitri%20Maximov's gravatar image

all Developers in my company who migrated from release 4.3.3 to release 4.6.4 suffer the same problem

(Apr 01 '14 at 07:01) ahmad emad ahmad%20emad's gravatar image

all Developers in my company who migrated from release 4.3.3 to release 4.6.4 suffer the same problem

(Apr 01 '14 at 07:01) ahmad emad ahmad%20emad's gravatar image

Well, it should be totally reproducible if so and we could try enter the issue on our side. So we would need all the stuff, including source code, database and step by step instructions.

(Apr 02 '14 at 08:31) Dmitri Maximov Dmitri%20Maximov's gravatar image

Hello Dmitri, our project and source code is huge, so i will try to remove some code and leave the source code with enough code to reproduce the error, then send it to support mail

(Apr 09 '14 at 08:34) ahmad emad ahmad%20emad's gravatar image
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
toggle preview

Subscription:

Once you sign in you will be able to subscribe for any updates here

Tags:

×4
×1

Asked: Dec 22 '13 at 02:31

Seen: 2,779 times

Last updated: Apr 09 '14 at 08:34

powered by OSQA