cancel
Showing results for 
Search instead for 
Did you mean: 

Code stage in object studio

VipinMadathum_P
Level 4
Hello,

We have a complex excel sheet to read, which looks for some mandatory column headers, is there anyway we could add logs and easily pinpoint where it is failing?

Inside code stage in objects, is there a way we can debug the code line by line in blueprism or see values printed by Console.WriteLine statements?

Thanks,
Vipin

------------------------------
Vipin Madathum Padikkal
------------------------------
1 BEST ANSWER

Helpful Answers

MaheshKushare
Level 3
Hi Vipin,

Blue Prism not support debug in code stages. but there is a way to debug with one trick 🙂
you have to place some "MsgBox" in code stage; and populate the any string so you can ​check line by line and where actually code fails.

make sure that MsgBox is only use for debug, after that delete it or comment it using single quote (ex. ' MsgBox("Hi") ).

------------------------------
Mahesh Kushare
Sr. Consultant
Capgemini Solutions Canada Inc
Toronto
2269886490
------------------------------

View answer in original post

2 REPLIES 2

MaheshKushare
Level 3
Hi Vipin,

Blue Prism not support debug in code stages. but there is a way to debug with one trick 🙂
you have to place some "MsgBox" in code stage; and populate the any string so you can ​check line by line and where actually code fails.

make sure that MsgBox is only use for debug, after that delete it or comment it using single quote (ex. ' MsgBox("Hi") ).

------------------------------
Mahesh Kushare
Sr. Consultant
Capgemini Solutions Canada Inc
Toronto
2269886490
------------------------------

That works for me. 🙂

------------------------------
Vipin Madathum Padikkal
------------------------------