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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance forum

D365FO debugging

(0) ShareShare
ReportReport
Posted on by 303

Hi,

I'm trying to debug a development environment (demo - 7.3, Update 12) and have tried the following methods, all unsuccessfully:

  1. Open VS as admin, find code, add breakpoint, Debug > Attach to process (w3wp.exe)
  2. Open VS as admin, set startup project and object, Debug >Start debugging
  3. Unticked the "Load symbols only for items in the solution" under Dynamics 365 > Options

I'm trying to debug a vendor payment file (Payment Journal > Generate payments). The file gets created, but I can't step into any code. I am logged into both VS and D365 for Finance and Operations with the same username/account.

Can anyone give any more suggestions/fixes?

  • Suggested answer
    nmaenpaa Profile Picture
    101,172 Moderator on at

    Hi,

    try this setting: Tools - Options - Debugging - Symbols: Automatically load symbols for All modules, unless excluded.

  • Suggested answer
    Martin Dráb Profile Picture
    240,965 Most Valuable Professional on at

    I would also try unticking Debug > Options > Unable Just My Code. And make sure that you have a solution opened.

  • Suggested answer
    Community Member Profile Picture
    on at

    The latest version is  Attach to process (iisexpress.exe)

  • Andrew Xu Profile Picture
    3,877 on at

    Please make sure you put breakpoint at the right place

  • Jie G Profile Picture
    Microsoft Employee on at

    I would also suggest to check if we are attaching to the correct process. List all the processes via c:\windows\system32\inetsrv\appcmd list wp

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Finance

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans