Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Answered

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

(4) ShareShare
ReportReport
Posted on by 905
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 !
  • Verified answer
    Momochi Profile Picture
    Momochi 905 on at
    Debugging: Symbols Not Loading When I Try To Debug Batch Process (Workflow)
    Building the model fixed the issue, it seems that the class was not compiled.
     
    Appreciate all your recommendations!
  • Waed Ayyad Profile Picture
    Waed Ayyad 7,245 Super User 2025 Season 1 on at
    Debugging: Symbols Not Loading When I Try To Debug Batch Process (Workflow)

    Hi, 

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

    Thanks,

    Waed Ayyad

  • Layan Jwei Profile Picture
    Layan Jwei 7,673 Super User 2025 Season 1 on at
    Debugging: Symbols Not Loading When I Try To Debug Batch Process (Workflow)
    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
  • Jonas "Jones" Melgaard Profile Picture
    Jonas "Jones" Melgaard 2,179 Super User 2025 Season 1 on at
    Debugging: Symbols Not Loading When I Try To Debug Batch Process (Workflow)
    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?
     
     
     

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,074 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,900 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans