I was currently developed a plugin for showing sliders on homepage. when i deployed and install it from smartstore plugin managment , it was raised dbContext error.i know smartstore engine uses reflection mechanis to invoke action methods and controllers but i can't debugging it from visual studio. how do debugging smartstore plugin on development machine?
How to debug Smartstore Plugin?
#1
Geschrieben: 28 December 2018 - 11:08
#2
Geschrieben: 28 December 2018 - 13:12
Why can't you debug a plugin in Visual Studio? The plugins integrated in the solution like DevTools, DiscountRules etc. can be debugged, so this should work with your plugins as well.
Marcus Gesing
Smartstore AG
#3
Geschrieben: 02 January 2019 - 21:47
because i was write an example slider plugin and put it to plugin folder inside solution. the root of plugin of mine is on D:\SmartStore\src\Presentation\SmartStore.Web\Plugins\SmartStore.NivoSlider folder. when i create nupkg from this plugin and after installing from admin console it put SmartStore.NivoSlider.dll to the mentioned plugin root folder(D:\SmartStore\src\Presentation\SmartStore.Web\Plugins\SmartStore.NivoSlider) and it use reflection to invoke it's methods. You know yourself that this is not possible kindly debug runtime library!
#4
Geschrieben: 03 January 2019 - 20:59
What Marcus tried to say is: you should create a custom solution and add your plugin project to it. This way you can run the solution and debug the source code of the contained plugin project.
- rezanbt gefällt das
Murat Cakir
SmartStore AG
Auch markiert mit einem oder mehrerer dieser Schlüsselwörter: plugin, plugins, .net, c#, debug
Smartstore (Deutsch) →
Allgemein Smartstore →
E-Mail Reminder | PlatzhalterEröffnet von SkiTuning - 15 Sep 2024 Plugin, E-Mail |
|
|
||
Beantwortet
Smartstore (Deutsch) →
Allgemein Smartstore →
PayPal - veraltetes Check Out ModulEröffnet von SkiTuning - 02 Mar 2023 PayPal, CheckOut, Plugin |
|
|
||
Beantwortet
Smartstore (Deutsch) →
Anpassen & Erweitern Smartstore →
Add_Migration in Dev-UmgebungEröffnet von Algorithman - 28 Dec 2022 plugin, migration |
|
|
||
Smartstore (Deutsch) →
Anpassen & Erweitern Smartstore →
Smartstore 5 - plugins für 4.2 ladbar?Eröffnet von domus2 - 11 Oct 2022 Plugin, Smartstore 5 |
|
|
||
Beantwortet
Smartstore (Deutsch) →
Allgemein Smartstore →
paypal Kauf auf RechnungEröffnet von gundula12 - 14 Jun 2022 neustart, plugins |
|
|