Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I debug a nopCommerce plugin while development?

I am looking for opportunities if there any way in which I can debug my nopCommerce plugin. I am working on a large sale product on nopCommerce therefore I am in such a critical situation to make a real time test or debug. Because I am quite unable to find out from where the exception is coming. Is there any available process or kit??

Thanks in advance.

like image 861
Shoumen Agdm Avatar asked Jan 27 '17 08:01

Shoumen Agdm


People also ask

How do I debug a plugin in Visual Studio?

In your Visual Studio project, set a break point in your plug-in class. In your Visual Studio project, select Debug > Attach to Process…. Select the PluginRegistration.exe process and click Attach. You should see that the Plug-in Registration tool is now running in debug mode.

How do I update nopCommerce plugins?

A popup will appear asking you to choose a file to upload. Click on the Choose File button, navigate to the downloaded zip file and select it. Click on the Upload plugin or theme button. Restart your website, so that the new version is loaded and used by your nopCommerce installation.

How do I use nopCommerce plugins?

Upload the plugin to the /plugins folder in your nopCommerce directory. And restart your application (or click the Reload list of plugins button). Upload the plugin or theme using the Upload plugin or theme button indicating the path to the location of the archive with the plugin in your local storage.


1 Answers

Plugin debugging is the same as nopCommerce core debugging.

Please see admin area > system > log. It should have the entire stack trace. You can use it to the find where the exception is thrown from

like image 190
Andrei M Avatar answered Oct 12 '22 21:10

Andrei M