AnswerBun.com

How to debug Sitecore Helix Feature using Visual Studio 2017?

Sitecore Asked by grilosape on December 7, 2021

I’d like to debug a Sitecore Helix Feature using Visual Studio 2017.
Is it possible or just the Website Project?

2 Answers

Agree with Richard's Answer. Just keep few points in notice while debugging:

  1. Attach you process to correct managed pool enter image description here

  2. Publish your dll's to your instance so that your breakpoints should load properly. Keep your profile in "Debug" mode and not in "Release"

  3. Your feature and foundation must be published properly to your instance.
  4. Your controller rendering has correct details of your controller and action method and dll.

Answered by ravi kumar Mishra on December 7, 2021

Its perfectly possible. You just need to attach Visual Studio to your w3wp.exe process.

  1. In Visual Studio, select Debug / Attach to Process (or press CTRL+ALT+P).
  2. In the Attach to Process dialog box, find the program that you want to attach to from the Available Processes list. For this it will be one of the w3wp.exe processes:

enter image description here

You will need to select the Show processes from all users check box.

  1. In the Attach to box, click Select.

In the Select Code Type dialog box, click Debug these code types and select the types to debug.

Click OK.

Click Attach.

Ref: https://msdn.microsoft.com/en-us/library/3s68z0b3.aspx

Answered by Richard Seal on December 7, 2021

Add your own answers!

Related Questions

Show current date in yy/MM/dd format

0  Asked on November 20, 2021

 

Using Model in Scriban template

1  Asked on November 7, 2021

   

Using List in SXA rendering variant

1  Asked on November 4, 2021

 

How do I query GraphQL using SPE?

1  Asked on August 23, 2021 by bic

     

LowerCaseKeywordAnalyzer does not work

0  Asked on August 23, 2021 by vivek-venugopalan

   

Add a Buyer Role to a User programatically

0  Asked on August 23, 2021 by shrad

 

Ask a Question

Get help from others!

© 2023 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP