One more thing, if you are executing any code using RunAs, i guess you will not be able to do debugging...
Regards, Sumit On Fri, Apr 3, 2009 at 3:02 PM, Sumit Loya <loya.su...@gmail.com> wrote: > Hi, > > One thing i know is that the user credentials with which you log into AX , > debugger and AOS should be same to run debugger in Batch mode. enable Global > breakpoints and also breakpoints in the .Net Business Connector. > > you should open the debugger before the breakpoint is hit. > > Regards, > Sumit > > > > > On Fri, Apr 3, 2009 at 12:32 PM, Lopen, Morten <morten.lo...@capgemini.com > > wrote: > >> Hi Malcolm, >> >> >> >> Thanks. I have now tried this, however I still couldn’t make the batch >> debugging work. >> >> >> >> Regard, >> >> Morten Løpen >> >> >> >> *From:* Axapta-Knowledge-Village@yahoogroups.com [mailto: >> axapta-knowledge-vill...@yahoogroups.com] *On Behalf Of *Malcolm Burtt >> *Sent:* 2. april 2009 17:52 >> *To:* Axapta-Knowledge-Village@yahoogroups.com >> *Subject:* RE: [Axapta-Knowledge-Village] Ax 2009, problem with debugging >> batch jobs >> >> >> >> Hi Moreton >> >> >> >> Did you try logging on to the AOS server that is executing the batch job >> using the login account that the AOS service runs under? You might also need >> to prestart the debugger executable before the breakpoint has been reached. >> >> >> >> Regards >> >> >> >> >> >> Malcolm Burtt >> >> Touchstone Group >> >> People - Partnership - Solutions >> >> >> >> >> >> >> >> *From:* Axapta-Knowledge-Village@yahoogroups.com [mailto: >> axapta-knowledge-vill...@yahoogroups.com] *On Behalf Of *morlopen >> *Sent:* 02 April 2009 14:16 >> *To:* Axapta-Knowledge-Village@yahoogroups.com >> *Subject:* [Axapta-Knowledge-Village] Ax 2009, problem with debugging >> batch jobs >> >> >> >> Hello, >> >> I am trying to debug a class while it runs as a batchjob on the AOS. This >> does not work for me. >> >> I have inserted a global breakpoint in the code using the breakpoint >> statement. Then I start up the debugger and put the class in the batch >> queue. The class is executed, but nothing happens in the debugger. I have >> tried running the debugger on the client and also on the AOS server. >> >> In the server configuration utility I have activated 'Enable breakpoints >> to debug X++ code running on this server' and 'Enable global breakpoints to >> debug X++ code running in batch jobs'. Have you experienced this problem? >> >> Regards, >> Morten Løpen >> >> >> ------------------------------ >> Capgemini is a trading name used by the Capgemini Group of companies which >> includes Capgemini Norge AS, a company registered in Norway (number >> 943574537) whose registered office is at Hoffsveien 1 D - Pb. 475, Skøyen – >> 0214 Oslo. >> >> This message contains information that may be privileged or confidential >> and is the property of the Capgemini Group. It is intended only for the >> person to whom it is addressed. If you are not the intended recipient, you >> are not authorized to read, print, retain, copy, disseminate, distribute, or >> use this message or any part thereof. If you receive this message in error, >> please notify the sender immediately and delete all copies of this message. >> >> >> > >