Tracing with Visual Studio 2008 works only the 1st time

Hello

I use Visual Studio 2008 and TestStand 4.1.1.

I have a c# dll and I'll call a function of TestStand.

In VS, I "join to deal with...". "and choose to attach it to TestStand. I start my sequence and VS to get to the point break that I set myself in VS.

Everything is great.

Now if I "Stop debugging", I do some changes for my dll, recompile all right and reattach to TS, everything seems ok.

But if I start my sequence, do not strike my breakpoints and step runs without me trace in my c# code.

The only workaround is to close TestStand, restart it, reopen the sequence and reinstall VS on it, then works again my breakpoint.

What's wrong? I wouldn't restart TestStand whenever I do change the dll and reattach. I tried to unload all modules also with no success.

I do something wrong or solutions to avoid restarting TestStand after changes to the c# code and you want to draw it.

Thank you.

Hi Matt,

First of all, I tried to replicate what you experience following your instructions, but I couldn't recompile the DLL after the stop debugging in Visual Studio, because the DLL was still in use in TestStand.  After I unloaded all the modules, I could recompile.  I then re-attached and saw what you were doing.  So, to get around him, I tied to the process in a slightly different way.  In Visual Studio, I went to tools' attach to process, and then chose the seqedit.exe process.  Before mounting, I pressed the Select button on the right side of the dialog box in the middle of changing the type of code we are debugging.  Select the radio button "Debug these code types" and verify that "Managed".  This will ensure that the debugger attaches only to managed code (c#).  After I did, I could run my sequence again without having to restart TestStand.

I would like to know if it works for you.

Tags: NI Software

Similar Questions

  • Memory minimum allocation for Vista Business Edition with Visual Studio 2008 VM?

    Long time listener, first time caller...

    Please excuse me if this question is answered somewhere else, I tried from Google and it came only with a response that was sort of what I was looking for, but was specific to a Macbook with Fusion...

    I want to create a Vista Business Edition (SP1) virtual machine with Visual Studio 2008 (which I think also is delivered with SQL 2005 Dev Edition) and I was wondering what the minimum memory allocation should be for this in order to make it work properly?

    Thank you

    Jim

    Hello and welcome to the forums.

    Amount of minimum support from Microsoft for Vista Business is 512 MB and 768 MB or more recommended for Visual Studio.  1280MB is the minimum.  Personally, I do not want anything less than 2 GB to a virtual machine with Vista and Visual Studio - 1 GB each.

    One of the great benefits of virtualization is that you can start this virtual machine with 1.5 GB and try it.  If the memory is not sufficient, then it is simple to give another 0.5 GB to the virtual machine and try again.

    Good luck!

  • What is Measurement Studio 7.1 compatible with Visual Studio 2008?

    I'll be able to use v7.1 Measurement Studio with Visual Studio 2008, VB.net?

    Thank you

    Joe

    Hello Joe,

    Measurement Studio 8.5 was the first version using Visual Studio 2008, VB.NET.

    NickB

    National Instruments

  • Visual Studio 2008 Pro takes a long time to start after the installation of measurement Studio 2009

    After installing Measurement Studio 2009, I noticed that it takes a long time (30-60 seconds) to open a Visual Studio project.

    I do not have an internet connection on my development computer and suspect he might be waiting on some kind of operation of the network to time out.  I had problems with Visual Studio in the past as well and had to work around them by adding entries to my hosts file (to redirect some addresses of Microsoft to the local IP address - this causes network operations to expire immediately).

    Just curious if anyone has encountered this kind of slow startup time and found a solution.

    Thank you!

    I found an article referring to a question similar to MS 8.1.  I don't know if the problem has simply not been corrected or why I am still having this problem.  Workaround "per computer" listed in the article solved my problem.

    http://digital.NI.com/public.nsf/allkb/18E25101F0839C6286256F960061B282 I have

  • < iframe > link to #anchor work only the second time

    I explore a way to offer a local within a framework of content Web HTML file so that it starts at a specific HTML anchor point rather than the top of the HTML page.

    Now, given that the Web Content overlay of DPS does not support URL + format (e.g. myfile.html #myanchor) of the anchor chain, I thought that I could achieve the desired result by loading an HTML file in the superposition of Web content that points to the HTML file and its anchor named in a tag < iframe >.

    It is where it gets boring. The solution works... but only on the second time you call to the top of the Web content overlay (normally hidden in an MSO).

    The first time I have call the overlay Web Content in my article DPS on the iPad, however, the HTML page but not the specified anchor point, or indeed at the top of the page HTML - instead, it seems to start a little more down the anchor. If I reject the superimposition of Web content (in my case, switch to another State of the object) and return, the HTML code recharge starting at the position of the anchor, exactly as planned. I can close the folio, reopen it and the behavior is always correct. It was only the first time that it fails to do the right thing.

    I am very happy that my solution works on the second, third and every opportunity, but it's very important that readers see first working time.

    I tried to delay automatic playback of the content of the Web, but this makes no difference. The anchor is identified using the tag "id".

    Any ideas?

    Thank you, Neil. But you can ask your guys to withdraw. Someone made me a coffee strong tonight and I realized that I was this approach from the wrong angle. I've seen this number of HTML pages requiring a refresh before you display it correctly in other circumstances, even in Chrome on my computer, so I doubt that it is a specific problem of the DPS - maybe it's something in webkit.

    Anyway, the coffee made me realize that I have an iframe to load another HTML file to an anchor. All I need is to pop a little GoToAnchor script in thetag and a call at the beginning of thetag.

    Someday, if someone corrects completely broken site of Adobe Cookbooks, I download a lot of these recipes.

  • Interactive report Javascript Refresh, working only the first time

    Hello

    I'm trying to implement a dynamic action on an interactive report that fires a pl/sql procedure and then reload the IR.

    I have something like this:

    Select par.*,
    CASE
    WHEN (SELECT 1 OF THE AddressBook ch WHERE ch.usr_id = (select id where email = usr: APP_USER) AND ch.address_id = par.id) IS NOT NULL
    THEN ' < img src = "" #IMAGE_PREFIX #wwv_cancel.gif "class alt"Y"="delAddressFromBook"id =" "| par.ID | "" / > "
    ELSE ' < img src = "" #IMAGE_PREFIX #add.gif "alt ="N"class ="addAddressToBook"id =" "| par.ID | " » / >"
    Mapped END
    of nominal addresslist

    My dynamic action uses the '.addAddressToBook' jquery selector, and it fires properly the first time I click Add image. My pl/sql code runs correctly and ist updated IR.
    It is, when I click the second time in another entry, nothing happens. Looks like the javascript works always something.

    Updating of the IR ist done with javascript gReport.pull ().

    Thanks in advance.

    Florian

    Florian,

    If you bind an event javascript on an element that is get updated then after that it gets updated, it will no longer be bound to her event. It is possible to use the event to this situation (http://api.jquery.com/on/) delegation, he took advantage of event bubbling (http://www.quirksmode.org/js/events_order.html) and handles the event to an element that is not updated to a kind of AJAX call.

    Edit
    The following code binds the event listener for the document, but it does that raise the event handler if the initiator of the event matches the selector ".addAddressToBook". I chose the document object, because each page has a document, but you can consider using a parent element that is much closer to the initiator of the event.

    //jQuery 1.7+ use "on"
    $(document).on("click", ".addAddressToBook", function(event){
        alert('addAddressToBook Clicked');
    });
    
    //jQuery1.4.2+ use "delegate"
    $(document).delegate(".addAddressToBook", "click", function(event) {
        alert('addAddressToBook Clicked');
    });
    

    Good luck
    Janet Tyson

    Published by: Tyson Janet on January 23, 2012 07:27

  • Why my animated themes work only the first time that I open the window? Everyone I tried stops animate if I close the window and open a new one.

    The title pretty much sums up my problem. Basically, I took a few different themes animated to try in the section modules to customize my browser window. They look great in the beginning and in the window that is opened when I activate the theme. However, if I close this window and open a new one, the theme is stationary and is more anime.

    See this support article - https://support.mozilla.org/en-US/kb/animated-theme-stops-working

  • Re: Cannot install Visual Studio 2008 on Vista 32-bit

    Hello

    I have a satellite P200 with Vista Home premium SP1 and I need to install it on Visual Studio 2008.
    When the install wizzard starts it checks the compatibility of the computer and could not return this:

    "Setup has detected that this computer does not meet the requirements to install this software. These conditions must be met before you can install Microsoft Visual Studio 2008 Professional Edition - ENU
    Requirements and software prerequisites
    Windows XP Service Pack 2 update information
    You must install this service pack to complete the installation. Visual Studio requires the installation of this service pack before you install Visual Studio"

    So the only solution I have is to exit the installation wizard, so I can not install VS2008

    It seems that someone else has the same problem with a Toshiba Satellite also! See http://forums.microsoft.com/MSDN-FR/ShowPost.aspx?PostID=3392455&SiteID=12
    Microsoft product support has apparently no solution and find it strange!

    So please help me, I absolutely need of VS2008 to work and I change my laptop only because failed to install VS2008

    Thanks a ton in advance for

    Pascal

    Post edited by: pfo69

    Hi mate,

    Sorry, but just because one person in a MSDN forum has randomly the same machine you, does not mean that there is a related problem of the machine. Technically in comparing it s absolutely the same material as in an office and so why Don t you contact Microsoft technical support?

    It seems that it is certainly unwanted Microsoft and has NOTHING to do with Toshiba hardware or software, so please see MS support sites or give them a call, because it s THEIR software which won´t operate according to THEIR operating system.

    Welcome them

  • Problem with Oracle with Visual Studio development tools

    I have Visual Studio 2010 Ultimate and SQL Server 2008R2 with Visual Studio 2008 (BIDS) installed on my laptop (Windows 7 SP1).

    I installed Oracle Developer Tools for Visual Studio.  I connect to Oracle 11 GR 1 material.

    He worked for a while, but has stopped working.  When I check the Options window in any Visual Studio under Oracle development tools, I get the error message:

    An error has occurred this loading property page.

    Don't know what I've got to break.

    Does anyone know what I can do about it?

    Thnaks,

    Fred

    I have not seen this error. I suggest you reinstall Oracle Developer Tools for Visual Studio.

  • FDK11 supports Visual Studio 2008?

    We use a client based on 10 FDK in the IDE of Visual Studio 2008. Now the same client does not work with FDK 11 but if I convert the application in 2010 it works. If FDK 11 does not support the VSTS 2008 or a lower version?

    Hi Venketraja,

    According to FDK, FDK11 requires VS2010. My own experience, I have found it is true, as I have been unable to build a client FDK11 with VS2008. So now, I have the two IDEs installed without any problems so far, although both are open at the same time. Also, I'm using VS2010 Express, which was free. Apparently, there are some components of the project that cannot create the Express version, but as long as they are there because it's an existing project, it works OK.

    Russ

  • Integration of Pro * C/C++ (11g) in Microsoft Visual Studio 2008

    Hello

    I need help to integrate the Pro * C/C++ (11g) in Microsoft Visual Studio 2008
    There is an Oracle Documentation on this subject, but is for Oracle 10 g and Visual Studio .NET 2003: (http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28427/pc_ahintegrat.htm#i634207)
    This information is not control for Visual Studio 2008.

    Using the steps defined in the old documents:

    * 1.*, specifying the location of the Pro * C/C++ executable: THIS SEEMS OK
    (Tools-> Options-> projects & Solutions-> directories of VC ++-> Executable files-> (like: C:\app\Orahome\bin))))

    * 2, specifying the location of the Pro * C/C++ header files: THIS SEEMS OK
    (Tools-> Options-> projects & Solutions-> directories of VC ++-> Include files-> (like: C:\app\Orahome\precomp\public))))

    * 3.* adding .pc files to a project: IT SEEMS OK
    (Project-> add-> element Visual C++-> Source-> select the .pc file)

    * 4 adding references to a project .c files: THIS SEEMS OK
    (Project-> add-> element Visual C++-> Source-> create a .c file)

    * 5, adding the Pro * C / C++ Library for a project, IT SEEMS OK

    * 6 custom specifying Compiler Options is it OK?

    Project settings-> Page properties file.pc-> Config Propierties-> C/C++-> general-> include additional directories: C:\app\OraHome

    Project settings-> Page properties file.pc-> Config Propierties-> C/C++-> results-> name of the object file file: $(ProjDir)------$(InputName) .c

    * 7 adding Pro * C/C++ in the Tools Menu WHERE IS procui.exe?

    Tools-> External Tools-> add-> Pro * C/C++

    Title: Pro * C/C++
    Command:?
    Argument: $(TargetName)
    Initial directory: $(WkspDir)

    Please help regard footnote 6 and 7. Thank you

    Hello

    VS2008 is not supported with Pro * C and 11 g. ttp://download.oracle.com/docs/cd/B28359_01/install.111/b32301/toc.htm#BGBEEBAD

    There is no procui.exe today, which was abolished in 10.2. You will need to use the command line version now (proc.exe)

    For custom build options, I have always understood the command line exactly necessary to precompile the particular file and pasted all in the part of the command of the "pre Build Event" line... for example:

    
    proc parse=full iname=sample1.pc oname=precompiledsample1.c include="d:\oracle\product\11.1.0\db_1\oci\include" include="d:\oracle\product\11.1.0\db_1\precomp\public" include="d:\PROGRA~1\MICROS~1\VC98\include" include="d:\PROGRA~1\MICROS~1\VC98\PlatformSDK\include"
    

    It will be useful,
    Greg

  • Visual Studio 2008 with Labview order, use of PlotWaveform commando

    Hello

    I want to use the Labview/CVI following commando: PlotWaveform in Visual Studio 2008.

    But I get a return-10 error when I try to use PlotWaveform.

    I use the following code:

    #include "stdafx.h".
    #include
    #include
    #include
    #include
    #include
    #include
    #include
    If (InitCVIRTE (0, 0,0) == 0)
    Returns - 1; Not enough memory

    int panelHandle is NewPanel(parentPanel,"Graph",top,left,height,with);.
    printf ("panelHandle: %d\n",panelHandle); ")

    int nNewCtrl is NewCtrl(panelHandle,CTRL_NUMERIC,0,10,10);.
    printf ("nNewCtrl: %d\n",nNewCtrl); ")

    DisplayPanel (panelHandle);

    int PlotWaveform_RETURN_VALUE = PlotWaveform (panelHandle, nNewCtrl, myArray, 4, VAL_DOUBLE, 1.0, 0.0, 0.0, 1.0, VAL_FAT_LINE, VAL_DOTTED_SOLID_SQUARE, VAL_SOLID, 1, VAL_RED);
    printf ("PlotWaveform_RETURN_VALUE: %d\n",PlotWaveform_RETURN_VALUE); ")

    RefreshGraph (panelHandle, nNewCtrl);

    When I run the program is the result:
    panelHandle: 1
    nNewCtrl: 2
    PlotWaveform_RETURN_VALUE:-10

    I get a graphic image but no graphics. And the frame that displays is not working properly.

    What is the problem with the function PlotWaveform, what is him Error-10 show ?

    BR
    Benjamin

    Benjamin,

    This error means that you place an order for wrong type for the function in question. And that's because you create a control of type CTRL_NUMERIC instead of CTRL_GRAPH or CTRL_GRAPH_LS.

    Luis

  • I need a copy of Visual Studio 2008 while I have the same version of Crystal Reports that are used by one of my clients.

    Buy Visual Studio 2008

    I need a copy of Visual Studio 2008 while I have the same version of Crystal Reports that are used by one of my clients.

    Can I buy Visual Studio 2010 with MSDN Essentials and then download and use Visual Studio 2008

    Hello

    Welcome to Microsoft Windows 7 answers Forum!

    Thank you for visiting the Microsoft answers Forum.

    The question you posted would be better suited in the MSDN Forums. I would recommend posting your query in the MSDN Forums

    I hope this helps.

  • Windows Update has detected an error code 80200053 for the installation of the updates for the update of security for Microsoft Visual studio 2008 and 2010.

    Hello

    I received an update for security update for Microsoft Visual Studio 2010 (KB2542054) and the security update for Microsoft visual studio 2008 Service Pack 1 (KB 2538241). This updates have been detected by windows update on my laptop. However, when I tried to install these updates, they detect an error code 80200053, windows update encountered an unknown error. I need help with this ASAP. Thank you.

    Hello

    Step 1:

    You can read the following article and try to reset the Windows Update components and check.

    How to reset the Windows Update components?

    http://support.Microsoft.com/kb/971058

    Step 2:

    You can also check the links below and try to download and install the stand-alone package with updates:

    Microsoft Visual Studio 2010 RTM MFC security update

    Microsoft Visual Studio 2008 Service Pack 1 MFC security update

    Hope this information is useful.

  • Visual studio 2008 error message"unable to start the program C\user\...\debug\example14.exe" the system cannot find the specified folder

    im working on a project in visual studio 2008, and once I hit the compilation does his usual thing and then all of a sudden I get the error message

    Cannot start the program (file location)

    the system cannot find the specified file

    I tried to install other UN and re install visual but without success

    Help, please!

    Repost nicely in the Forums on the link below:

    http://social.msdn.Microsoft.com/forums/en-us/category/VisualStudio, vsarch, vsdbg, vstest, vstfs, vsdata, vsappdev, visualbasic, visualcsharp, end

    Visual Studio General forums

    They will help you in the Forums above.

    See you soon.

    Discuss programming techniques, best practices and development issues for all versions of Visual Studio.

    Mick Murphy - Microsoft partner

Maybe you are looking for