Breakpoints in Visual Studio
Nagib M.
Fleury-Les-Aubrais,

Dec 18, 2012
4 Posts

Breakpoints in visual studio

Hi,

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

In the  ATEasy.config.exe I add this line :  <supportedRuntime version="v4.0" />
And now, visual studio didn't paused at breakpoints...

If I erase the line, nothing work.

I just want to have breakpoints in visual studio with a dll in framework 4.0.

Thanks for your help.

DrATEasy (Ron Y.)
Mission Viejo,

Dec 18, 2012
235 Posts

Re: Breakpoints in visual studio

Are you using 148b? If yes, than it should work as explained in http://www.marvintest.com/Forums/Thread.aspx?ID=129#391

If it does not work, please upload an example along with your config file.


Nagib M.
Fleury-Les-Aubrais,

Jan 2, 2013
4 Posts

Re: Breakpoints in visual studio

Yes I am using 148b with visual studio 2010. That's my application config file :

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<!-- http://msdn.microsoft.com/en-us/library/w4atty68.aspx -->
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0.30319" />
<supportedRuntime version="v3.5" />
<supportedRuntime version="v3.0" />
<supportedRuntime version="v2.0.50727" />
</startup>
</configuration>

Solution Available
DrATEasy (Ron Y.)
Mission Viejo,

Jan 2, 2013
235 Posts

Re: Breakpoints in visual studio

Please use the DotNet example that is provided with ATEasy to verify that it works:
1. Load the DotNet.sln to VS 10 and change the framework to .NET 4.0 (Project Properties, Application page)
2. From The Project Properties, Debug page, Start External Program change to C:\Program Files\ATEasy\ATEasy.exe
3. Make sure Debug Solution Configuration is selected
4. Build in Debug
5. Place a break-point in DotNet  static DotNetClass1() constructor (DotNet.cs, Line79)
6. Make sure the ATEasy. exe.config is in that folder
7. In VS 10 hit the start button, ATEasy should start.
8. In ATEasy, Open the DotNet prohect and open the DotNet library properties Window
9. Point the library path (in the program libraries, DotNet) to C:\Program Files\ATEasy\Examples\DotNet\Bin\Debug\DotNet.dll, this will reload the library to debug version of your .net library
10. Open  test 1.1 and press DoIt!
12. The VS 10 should show the break-point

Let me know if that works for you. You should be able to replicate this with your .Net library.

Ronnie




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]