Giter Site home page Giter Site logo

Comments (8)

FSchneiderYav avatar FSchneiderYav commented on June 12, 2024 1

Yes it is since a long time. But not only if it is the last Step
When I add a breakpoint in the Sales Order page here
image
And Step over, the debugger is not moving to the MoveNegSalesLine.ShowDocument().
It is moving there
image

from al.

thloke avatar thloke commented on June 12, 2024

In your launch.json do you have breakOnError or breakOnRecordWrite set? If so, was there an error or record write where the unexpected breaks happened?

Looking at the code where it breaks, I don't see any reason why there would be an error or record write, but if you could confirm that would be great.

from al.

FSchneiderYav avatar FSchneiderYav commented on June 12, 2024

Hi, I have "breakOnError": "ExcludeTry" there is no error and no write

{
     "name":  "8.X DEV LOKAL",
     "server":  "http://PROD-BC23-1-dev",
     "serverInstance":  "BC",
     "dependencyPublishingOption":  "Ignore",
     "type":  "al",
     "environmentType":  "OnPrem",
     "breakOnError":  "ExcludeTry",
     "authentication":  "UserPassword",
     "request":  "launch"
 }

There are some examples where the debugger stops:
This is where the breakpoint is:
image
This is after StepOver
image
image
image

from al.

thloke avatar thloke commented on June 12, 2024

So this is by design for now, and has been for as long as I can tell. Because the breakpoint is on the last line in the method, when you step over it the method scope no longer exists and we stop on the next frame to be executed which just happens to be the GetCaptionClass method.

From what I understand, your ask is that it behaves more like a continue (F5) instead?

@kalberes - maybe you have more input on this scenario?

from al.

dannoe avatar dannoe commented on June 12, 2024

Can you make sure that you don't have any entries in your breakpoint list in VSC for this position:
grafik

Old breakpoints are not correctly shown in vsc but recognized by the debugger, if they are set in a "wrong" tab. (see #7611)

from al.

FSchneiderYav avatar FSchneiderYav commented on June 12, 2024

I have no other breakpoints in the list.

from al.

kalberes avatar kalberes commented on June 12, 2024

I think it is by design now and you cannot step over modal state. This has been like this like forever, since I am not aware of anyone changing modal UI (page, report) execution context.
If you put a breakpoint on the next line (ShowDocument) it should be hit though. If not that is a bug.

from al.

FSchneiderYav avatar FSchneiderYav commented on June 12, 2024

Yes with F5 it steps to the next line

from al.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.