Debugging Functions

I’m starting to play with functions in 10.2.600. Is there a way to debug them in Visual Studio? I created a function, but I don’t see any source files on the server.

In the ICE Tools guide there is a section on debugging function source code

page 724

2 Likes

Read the manual…
:flushed:

2 Likes

haha well, often only as a last resort :wink:

1 Like

To help me perpetually with troubleshooting I added a function library whose sole purpose is to write to the event viewer with more detailed information. A step past debugging. Not your standard Ice Exception source. The Task category corresponds to a UBAQ, Method Dir, Data Dir, Efx, or straight rest.

4 Likes

That’s slick

I can get the source files open in visual studio but is there a way to execute the function and hit break points in visual studio? That would be super helpful when developing functions and trying to troubleshoot.

Brett

OK, I figured it out. I used the same process as debugging a BPM.

Some good details from here

Brett

Is this available to share ?
thx