Debug .NET DLL From ATEasy 8
Solution Available
Darrell L.
Mississauga, ON

Nov 22, 2012
17 Posts

Debug .NET DLL from ATEasy 8

I'm currently using Visual C# 2010 to write a .NET assembly (DLL).

I want to debug my .NET code that is called from ATEasy 8 (see KB article Q200219 for the general idea).
The problem is that the methodology shown is for VS2005.  The screens/settings have since changed
in VS2010.

Can anyone provide some help with this?

Regards,

D.

DrATEasy (Ron Y.)
Mission Viejo,

Nov 26, 2012
235 Posts

Re: Debug .NET DLL from ATEasy 8

The debugging process is the same as before. The only difference is that you need to place ATEasy executable in the revised Visual Studio project properties screen. To do that, right click on your project from the Solution Explorer Windows. and open the Properties, Select the Debug tab and Check the Start External Program and browse to the ATEasy executable (found in your program files (x86 if Windows x64) \ATEasy\ATEasy.exe. To debug, make sure to compile your project in Debug and run it in debug mode. You can check out the ATEasy DotNet example for sample .Net project (C#).

If you are using v8 build 148b, you may want to copy the ATEasy.exe.config file to the ATEasy folder (see https://www.geotestmts.com/Forums/Thread.aspx?ID=129#391) before attempting to run the Visual Studio 2010 debugger (since it is using .NET 4.0). The issue will be fixed in v8 148c.

Darrell L.
Mississauga, ON

Nov 27, 2012
17 Posts

Re: Debug .NET DLL from ATEasy 8

I've tried the steps as you've mentioned above and still cannot get it run.  See the attached screenshot for what I'm seeing. (Difficulty is encountered @ step #4, after placing the breakpoint in my CSharp Code and trying to start the VS debugger).


File Attachment:
ATEasy DLL Fail.PNG

DrATEasy (Ron Y.)
Mission Viejo,

Nov 27, 2012
235 Posts

Re: Debug .NET DLL from ATEasy 8

Start External Program is not available in express edition of Visual Studio. You may try the following solution:

http://tech.rofas.net/post/running-and-debugging-tests-with-visual-studio-express-edition.aspx

Or just install the full version of Visual Studio :)...

Darrell L.
Mississauga, ON

Nov 28, 2012
17 Posts

Re: Debug .NET DLL from ATEasy 8

Ron,

Thanks for the tip :)

I can use this for the time being but as you suggested, will have to get the full VS.

Cheers,

D.



Please Note
You need to have a M@GIC account to participate in the Forums.
Not yet registered on our website? Click here to register today!

All content, information and opinions presented on the Marvin Test Solutions User Forums are those of the authors of the posts and messages and not Marvin Test Solutions'. All attachments and files are downloaded at your own risk. [Read More]