Conditional breakpoint

Cem_KaraerCem_Karaer Member Posts: 281
Is there any way for putting conditional breakpoint on the debugger. There is an item which makes an infinite loop in the cost-adjustment batch. But there are so many items in the invoice lines. I want to analyze the process for only that item.
Cem Karaer @ Pargesoft
Dynamics NAV Developer since 2005

Comments

  • bbrownbbrown Member Posts: 3,268
    Yes there is. You can use the virtual breakpoints table to turn them on and off from code.
    There are no bugs - only undocumented features.
  • vanrofivanrofi Member Posts: 272
    Make sure you don't have an item with nr = '' (empty)
    This gives the same problem. I had it once and I was debugging until 1.30 in the morning until my eye felt on that item...
    Once you delete that,(first delete empty lines in item journals, orderlines,...) the adjust cost batch will run normally.

    good luck
  • Cem_KaraerCem_Karaer Member Posts: 281
    Virtual breakpoints table??
    Cem Karaer @ Pargesoft
    Dynamics NAV Developer since 2005
  • bbrownbbrown Member Posts: 3,268
    cemkaraer wrote:
    Virtual breakpoints table??

    Table 2000000059
    There are no bugs - only undocumented features.
  • Cem_KaraerCem_Karaer Member Posts: 281
    Thank you. But is there any documentation for utilizing that table?
    Cem Karaer @ Pargesoft
    Dynamics NAV Developer since 2005
  • ara3nara3n Member Posts: 9,256
    I suggest that you implement the Item filter on adjust cost. and then filter on the item that has the issue. There is thread on this.


    http://www.mibuso.com/forum/viewtopic.p ... highlight=
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
Sign In or Register to comment.