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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Debugging: Symbols Not Loading When I Try To Debug Batch Process (Workflow)

(2) ShareShare
ReportReport
Posted on by 1,036
Hi dear community!
 
I want to debug a custom extension class to a workflow. 
When I place a break point in the custom class, it says the symbols are not loaded.
 
Things I tried:
- Loaded all .netmodule symbols from Debug menu > Windows > Modules
- Tried all debugging/symbol options in the Visual Studio options menu.
 
It was working before I did the following query to turn off all the batch jobs which I got from this thread because I'm working on a restored DB from another environment which had workflows that were throwing errors every second and I couldn't debug batch process without turning the batch jobs off:
 
-- Reset the batch job status to "Withhold" for "Waiting", "Executing" and "Ready" jobs 
UPDATE [BATCH] SET [STATUS] = 0 WHERE [STATUS] IN (1,2,5)
UPDATE [BATCHJOB] SET [STATUS] = 0 WHERE [STATUS] IN (1,2,5)
 
I activated the workflow batch jobs after, but still the symbols are not loading:
 
What am I missing? is there a particular batch job that I need to re-activate for it to load?
 
Any advice is appreciated !
Thanks in advance !
I have the same question (0)
  • Jonas "Jones" Melgaard Profile Picture
    4,930 Most Valuable Professional on at
    Hi Momochi,
     
     
     
    If it's just straight X++ debugging you want to do, you should not have to do anything other than mark the packages you want to load symbols from (Unless you have unchecked the specific packages option).
    In addition to this, you will have to attach to the batch.exe process.
     
    Have you tried both?
     
     
     
  • Layan Jwei Profile Picture
    8,097 Super User 2025 Season 2 on at
    Hi,
     
    Make sure the batch job service is started
    And as Jonas said, choose the packages to debug or remove the tick box to debug everything (but for performance it's better to choose the packages)
     
    Then when debugging and clicking attach to process, click on both iisExpress and Batch.exe
  • Waed Ayyad Profile Picture
    9,039 Super User 2025 Season 2 on at

    Hi, 

    Is your issue resolved? If yes, mark the answers that helped you as verified. 

    Thanks,

    Waed Ayyad

  • Verified answer
    Momochi Profile Picture
    1,036 on at
    Building the model fixed the issue, it seems that the class was not compiled.
     
    Appreciate all your recommendations!

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 664 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 522 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 303 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans
Liquid error: parsing "/globalsearch/?q=Sony+Product+Id+%3A+153667482++India+price" - Nested quantifier +.