Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Answered

Unable to Debug using Ax 2012 Debugger

Posted on by 1,600

Hi Folks,

I am unable to debug ax application using Ax 2012 debugger. I was added in Microsoft Dynamics Ax Debuggers group as well. Eventhough I am not able to debug the code.

When the execution hit the breakpoint(single or multiple), Debugger is opening but with in fraction on seconds the code got executed and I can't see anything in Debugger(is simply opened).

I didn't get the point why this is happening. It is a client network and I am connecting through CITRIX RDP.

Kindly help me with your valuable ideas :-)

Thanks in advance,

Vasanth Arivali

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Unable to Debug using Ax 2012 Debugger

    Hi Vasanth,

    I am also facing the same problem can you help me out ...

     Thanks in advance.

    srikanth

  • Verified answer
    VasanthArivali Profile Picture
    VasanthArivali 1,600 on at
    RE: Unable to Debug using Ax 2012 Debugger

    Hi Friends,

    I got resolved earlier but I forget the solution which I did and update this as well. Thanks for your valuable replies.

    // Vasanth Arivali

  • Suggested answer
    syed baber Profile Picture
    syed baber 11,625 on at
    RE: Unable to Debug using Ax 2012 Debugger

    Hi Vasanth,

    Have you tried to write the keyword 'breakpoint' before the code where you want the code to stop execution?

    Thanks,

    Baber.

  • Suggested answer
    Umesh Pandit Profile Picture
    Umesh Pandit 9,102 User Group Leader on at
    RE: Unable to Debug using Ax 2012 Debugger

    Hi Team,

    To use the debugger, users must belong to the Microsoft Dynamics AX Debugging Users local group on the computer. The person who installed the debugger is automatically added to this group.

    Also Note that If you added , then before using an Sign out /log out and sign in /log in is must.

    You can run debugger and AX as run as administrator.

  • Pralay Kumar Das Profile Picture
    Pralay Kumar Das 15 on at
    RE: Unable to Debug using Ax 2012 Debugger

    open debugger as administrator and keep it opened. Now put breakpoint on x++ code. Execute the code. You can debug it now

  • Bilal Issa Profile Picture
    Bilal Issa 4,370 on at
    RE: Unable to Debug using Ax 2012 Debugger

    Hi ,

    please check on the server configuration if allow debug on x++ code running on server is enabled.

    Regards,

    Bilal

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Unable to Debug using Ax 2012 Debugger

    Toms answer was spot on for me, if you ever experience as debugger simply firing up but no code showing up or breakpoints not stopping, then log out and log back in.

  • RE: Unable to Debug using Ax 2012 Debugger

    I've had this happen quite a few times when debugging different customer environments but never through CITRIX.  After being added to the AX Debugger Security Group you'll need to logout of your windows session and log back in.  Once you log back in set your breakpoints, run your process and see if things work out for you.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,459 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,783 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans