web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Debugger Skipping Lines

(0) ShareShare
ReportReport
Posted on by

My debugger is skipping lines...not sure why.  I updated to version .32 if that has anything to do with it.

Thanks in advance

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    301,035 Super User 2025 Season 2 on at

    Hi brianmaric,

    Can you provide information if you are debugging a custom or standard class? Can you also tell which lines are skipped? Did it not skip before you updated to 10.0.32?

  • brianmaric Profile Picture
    on at

    It's a custom class.  Yes it seemed like it did not skip prior to the update.

    On this line of code the debugger actually steps into the where clause:

                    while select forupdate wmsOrderTrans
                        order by wmsOrderTrans.qty desc
                        where wmsOrderTrans.RouteId         == _routeId &&
                            wmsOrderTrans.inventTransId     == _InventTransId &&  
                            wmsOrderTrans.inventDimId       == _InventDimId &&
                            wmsOrderTrans.FullPallet        == NoYes::No &&
                            (wmsOrderTrans.ExpeditionStatus == WMSExpeditionStatus::Registered ||
                            wmsOrderTrans.ExpeditionStatus  == WMSExpeditionStatus::Activated  ||
                            wmsOrderTrans.ExpeditionStatus  == WMSExpeditionStatus::Started)

  • Andrew Xu Profile Picture
    3,877 on at

    Could you restart VS and build the model of that code, then try again?

  • brianmaric Profile Picture
    on at

    I needed to do a complete build with all the models that we use along with a DB Snych

  • brianmaric Profile Picture
    on at

    Actually, this was only a temporary solution, but I have more information.  The debugger does work with old code.  If I make changes to my code then it still steps through as if the old code was still there...if that makes sense.

  • MuthukumaranAX Profile Picture
    2,903 on at

    Is the debug symbols loaded for all the required models for debugging? did you run full build and was it successful?

  • brianmaric Profile Picture
    on at

    yes

  • brianmaric Profile Picture
    on at

    The debugger seems to recognize a code change only when I do a complete build.

  • brianmaric Profile Picture
    on at

    Visual Studio requires a complete build (not just a project build) for the debugger to recognize a code change

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 565 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans