‎2017 Feb 03 4:56 PM - edited ‎2024 Feb 04 6:47 AM
Esteemed developers,
I wonder if there is any way to debug an add-on when using the browser access of SAP Business One.
Can we connect to the browser access through Visual Studio?
And is there a different connection string for debugging purposes?
Any idea could be helpful.
Best Regards,
Request clarification before answering.
Hi Bruno,
I was trying to do it, the only way I could do was this below:
- Install your add-on on B1
- Attach your code on the add-on process running on the server
You will be able to debug
I have just post on the blog how to debug the add-on on browser
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Have you been able to check the 'Developer Tools' option for the same, if there is issue specific to Browser Access only?
Otherwise, open SAP Business One using Browser Access, run your Visual Studio Project and you should be able to use it normally.
Kind regards,
ANKIT CHAUHAN
SAP SME Support
Hi Danilo Kasparian,
I was talking about 'Developer Tool' option available in Chrome or Internet Explorer.
Kind regards,
ANKIT CHAUHAN
SAP SME Support
Hi guys,
The problem comes when we try to run a Visual Studio project, ANKIT CHAUHAN. It doesn't matter if the code is or isn't on the same machine running the BAS Gatekeeper service. When calling the method Connect of SboGuiApi passing in the connection string, an exception is thrown stating: "Connection - Could not find SBO that match the connection string". My dev environment has all of the SBO components on the same machine, including client and server components. Version is 9.2 PL 6.
The suggestion made by Danilo Kasparian does help, thanks for that, yet we need to keep packaging our code for debugging.
Best regards,
Bruno
Hi Danilo Kasparian,
I have instaled my add-on on B1 and I have atteched my code on process running on the server.
Consistently get a message in the breakpoints I set:
"The breakpoint will not currently be hit. No symbols have been loaded for this document."
I tried the following :
Any ideas?
Thanks
Best regards
Yassine
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 15 | |
| 15 | |
| 14 | |
| 9 | |
| 5 | |
| 4 | |
| 4 | |
| 2 | |
| 2 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.