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

Announcements

News and Announcements icon
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
    306,632 Super User 2026 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 310 Super User 2026 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 276 Most Valuable Professional

#3
Anton Venter Profile Picture

Anton Venter 266 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans