When breakpoit hit, execute a function and continue?

E.g. in «gdb» I can set that when a breakpoint hit, the debugger will call a function, print me a result of the call, and continue execution. How can I do this in Visual Studio debugger? I didn't found anything ☹

There are some limitimations, but I'd try Breakpoints 'When Breakpoint is hit'.
('Debug->Windows->Breakpoints', right-click breakpoint choose 'When Hit').
Expressions in the Debugger
https://msdn.microsoft.com/en-us/library/za56x861.aspx
With kind regards

Similar Messages

  • Since installing LTR 5.4, which I've now upgraded to 5.6, I've encountered repeated slowness and malfunctions in operations, especially when using the Compare View function and the Tab key to open and close the right and left side panels.  Such problems n

    Since installing LTR 5.4, which I've now upgraded to 5.6, I've encountered repeated slowness and malfunctions in operations, especially when using the Compare View function and the Tab key to open and close the right and left side panels.  Such problems never arose during two years of using LTR-4 and nothing else has changed on my computer.  I have a pretty simple system with only a few plug-ins, which are usually not in operation.  I have 12GB of RAM in my Windows 7 PC.  I could illustrate these problems with screen shots if you would tell me how to submit screen shots.  Otherwise I will try to describe the problems in words.
    The problem is clearly cumulative, growing worse as usage time passes.  Compare View feature gradually slows down and eventually seems to choke as my work session proceeds. If I Exit LTR and re-enter and start all over, things will work normally for maybe 30 minutes, but then the Compare View feature begins to become very slow to respond.   In a recent example with my screen full of thumbnails in Library mode I highlighted two images to compare. LTR started to open the Compare View screen by first having the top row of thumbnails disappear to be replaced by the "SELECT" and "CANDIDATE" words in their spaces  (but no images), but Compare View never succeeded in gaining control of the screen. After some seconds the top row of thumbnails reasserted its position and the Compare View windows disappeared. But LTR kept trying to bring them back. Again the top row of thumbnails would go away, Select and candidate would reappear, try again, and give up. This went on for at least 2-3 minutes before I tried to choose File and Exit, but even that did not initially want to respond. It doesn't like to accept other commands when it's trying to open Compare View. Finally it allowed me to exit.
    To experiment I created a new catalog of 1100 images.  After 30-40 minutes, the Compare View function began to operate very slowly. With left and right side panels visible and two thumbnails highlighted, hitting Compare View can take half a minute before the two mid-size  images open in their respective SELECT and CANDIDATE windows. When the side panels are open and two images are in the Select/Candidate spaces, hitting the Tab button to close the side panels produces a very delayed response--25-30 seconds to close them, a few more seconds to enlarge the two images to full size. To reverse the process (i.e., to recall the two side panels), hitting Tab would make the two sides of the screen go black for up to a minute, with no words visible. Eventually the info fields in the panels would open up.
    I also created a new user account and imported a folder of 160 images. After half an hour Compare View began mis-placing data.  (I have a screen shot to show this.)  CANDIDATE appears on the left side of SELECT, whereas it should be on the right. The accompanying camera exposure data appears almost entirely to the left of the mid-screen dividing line. Although the Candidate and Select headings were transposed, the image exposure data was not, but the data for the image on the right was almost entirely to the left of the line dividing the screen in two.
    Gurus in The Lightroom Forum have examined Task Manager data showing Processes running and Performance indicators and they see nothing wrong.  I could also send screen shots of this data.
    At this point, the only way I can process my images is to work 30-40 minutes and then shut down everything, exit, and re-start LTR.  This is not normal.  I hope you can find the cause, and then the solution.  If you would like to see my screen shots, tell me how to submit them.
    Ollie
    [email protected]

    Since installing LTR 5.4, which I've now upgraded to 5.6, I've encountered repeated slowness and malfunctions in operations, especially when using the Compare View function and the Tab key to open and close the right and left side panels.  Such problems never arose during two years of using LTR-4 and nothing else has changed on my computer.  I have a pretty simple system with only a few plug-ins, which are usually not in operation.  I have 12GB of RAM in my Windows 7 PC.  I could illustrate these problems with screen shots if you would tell me how to submit screen shots.  Otherwise I will try to describe the problems in words.
    The problem is clearly cumulative, growing worse as usage time passes.  Compare View feature gradually slows down and eventually seems to choke as my work session proceeds. If I Exit LTR and re-enter and start all over, things will work normally for maybe 30 minutes, but then the Compare View feature begins to become very slow to respond.   In a recent example with my screen full of thumbnails in Library mode I highlighted two images to compare. LTR started to open the Compare View screen by first having the top row of thumbnails disappear to be replaced by the "SELECT" and "CANDIDATE" words in their spaces  (but no images), but Compare View never succeeded in gaining control of the screen. After some seconds the top row of thumbnails reasserted its position and the Compare View windows disappeared. But LTR kept trying to bring them back. Again the top row of thumbnails would go away, Select and candidate would reappear, try again, and give up. This went on for at least 2-3 minutes before I tried to choose File and Exit, but even that did not initially want to respond. It doesn't like to accept other commands when it's trying to open Compare View. Finally it allowed me to exit.
    To experiment I created a new catalog of 1100 images.  After 30-40 minutes, the Compare View function began to operate very slowly. With left and right side panels visible and two thumbnails highlighted, hitting Compare View can take half a minute before the two mid-size  images open in their respective SELECT and CANDIDATE windows. When the side panels are open and two images are in the Select/Candidate spaces, hitting the Tab button to close the side panels produces a very delayed response--25-30 seconds to close them, a few more seconds to enlarge the two images to full size. To reverse the process (i.e., to recall the two side panels), hitting Tab would make the two sides of the screen go black for up to a minute, with no words visible. Eventually the info fields in the panels would open up.
    I also created a new user account and imported a folder of 160 images. After half an hour Compare View began mis-placing data.  (I have a screen shot to show this.)  CANDIDATE appears on the left side of SELECT, whereas it should be on the right. The accompanying camera exposure data appears almost entirely to the left of the mid-screen dividing line. Although the Candidate and Select headings were transposed, the image exposure data was not, but the data for the image on the right was almost entirely to the left of the line dividing the screen in two.
    Gurus in The Lightroom Forum have examined Task Manager data showing Processes running and Performance indicators and they see nothing wrong.  I could also send screen shots of this data.
    At this point, the only way I can process my images is to work 30-40 minutes and then shut down everything, exit, and re-start LTR.  This is not normal.  I hope you can find the cause, and then the solution.  If you would like to see my screen shots, tell me how to submit them.
    Ollie
    [email protected]

  • How to execute a function and return the result into a bind variable

    Hi,
    I am trying to calculate the sum of salaries of all persons with a particular JOB_ID using a function TOTAL_INCOME(v_job_id).
    create or replace function total_income
    +(v_job_id IN varchar2)+
    RETURN number IS
    v_total number(6);
    cursor get_sal is
    select salary from employees
    where job_id = v_job_id;
    BEGIN
    v_total := 0;
    for emp in get_sal
    loop
    v_total := v_total emp.salary;+
    end loop;
    dbms_output.put_line('Total salary of '||v_job_id||' is: '|| v_total);
    return v_total;
    END;
    Now I woud like to execute this function and assign the returned value into a bind variable test_sal
    variable test_sal number(6)
    SELECT total_income('AD_VP') into :test_sal FROM DUAL;
    dbms_output.put_line('Total Sal:'||:test_sal);
    This is returning the below errors:
    SELECT total_income('AD_VP') into :test_sal FROM DUAL
    *+
    Error at line 0
    ORA-01036: illegal variable name/number
    dbms_output.put_line('Total Sal:'||:test_sal);
    Error at line 3
    ORA-00900: invalid SQL statement
    Could someone help me what could be the problem?? Thanks for your time...

    Dear,
    If everything you will do will be done inside PL/SQL (stored procedure or stored function) then you don't have to care about bind variable.
    When using PL/SQL (static SQL) you will never encounter issues related to bind variables. PL/SQL itself takes care of your code and uses bind variables behind the scene.
    The only situation where you have to look carefully to the use of bind variables within PL/SQL is when you use Dynamic sql into stored procedures or functions.
    So, see in the light of the above comment, if you have to care about returning your function into a bind variable?
    Best regards
    Mohamed Houri

  • How To... Execute Planning Functions and Sequences from MS Office Ribbon

    Dear all,
    I am working with a SAP how to paper, which is called:
    How To... Execute Planning Functions and Sequences from MS Office Ribbon.
    It is working absolutely fine and I am pretty satisfied, but as you probably know "Control the visibility of a button based on the visibility of a related crosstab: the  button just disappears once the related crosstab is not located on the active sheet."
    This means, when I insert different queries in different crosstabs, only one crosstab will have my own created ribbon. Is it also possible to set another specific ribbon with other buttons for another crosstab? Can I change the macro, included in the appendix of the how to paper, regarding this issue?
    Thanks in advance!
    Kind regards
    Dominik Drebinger

    Hey Martin,
    thanks for your reply, but I solved the problem on my own. Unfortunately my colleague did not see that the crosstabs had to be defined differently.
    Like this:
    Label
    Screentip
    Msolmage name
    Crosstab name
    Copy Initial Aligned
    Copy Initial Aligned
    CacheListData
    SAPCrosstab1
    Copy Initial Aligned 
    Copy Initial Aligned
    CacheListData
    SAPCrosstab3
    Copy Initial Aligned
    Copy Initial Aligned
    CacheListData
    SAPCrosstab5
    The macro, provided by the HowTo, is therefore working perfectly fine.
    Thanks though
    Dominik

  • When I close Firefox and then come back to it layer a box comes up that says it's already running. It ays to close Firefox first but when I hit close nothing happens and the box comes up again. I have to shut down my computer and restart to get into Firef

    When I close Firefox and then come back to it later a box comes up that says it's already running. It says to close Firefox first but when I hit close nothing happens and the box comes up again. I have to shut down my computer and restart to get into Firefox again. If I can't get this fixed I will start using someone else. Someone told me a way to close Firefox but I forgot what they said.
    == This happened ==
    Every time Firefox opened
    == a couple of months ago

    Hello Brian.
    You don't need to restart your computer to open Firefox again: you just need to close it manually through your application manager (CTRL+SHIFT+ESC in Processes tab). Anyway, hopefully this support article is what you need:
    http://support.mozilla.com/en-US/kb/Firefox+hangs
    What's probably happening is that you may be having a problem with some Firefox add-on that is hindering your Firefox's normal behavior. Have you tried disabling all add-ons (just to check), to see if Firefox goes back to normal?
    Whenever you have a problem with Firefox, whatever it is, you should make sure it's not coming from one of your installed add-ons, be it an extension, a theme or a plugin. To do that easily and cleanly, run Firefox in [http://support.mozilla.com/en-US/kb/Safe+Mode safe mode] and select ''Disable all add-ons''. If the problem disappears, you know it's from an add-on. Disable them all in normal mode, and enable them one at a time until you find the source of the problem. See [http://support.mozilla.com/en-US/kb/Troubleshooting+extensions+and+themes this article] for information about troubleshooting extensions and theme. You can troubleshoot plugins the same way.
    If you want support for one of your add-ons, you'll need to contact its author.

  • I have Adobe Photoshop Album 1.0 & suddenly cannot send photos thru e-mail.  It looks like it's working ok; but when I hit Send nothing happens and the program stops responding.  Any suggestions?

    I have Adobe Photoshop Album 1.0 & suddenly cannot send photos thru e-mail.  It looks like it's working ok; but when I hit Send nothing happens and the program stops responding.  Any suggestions?

    I have starter 3.0 and cannot share pictures via outlook express. Evidently that version is discontinued and my outlook express does not support the MAPI that is required. I think the only solution is to upgrade to photoshop
    elements or to send photos as attachment to your e-mail.  I have the same problem using Zoom Browser EX sending photos via internet. I spent a whole day trying to resove this issue and have exhausted all options. Just like "Instant share" in HP image Zone that was replace by photoshop album starter 3.0 and now it is out dated.

  • I have Windows 7 and Firefox 3.6.1, when I am typing text such as email when I hit the shift key and certain letters it activates the shortcut keys and is very annoying how do I get this to stop?

    This has happened multiple times. While typing email and also in forums. This is a new computer with Windows 7 so not sure if problem is something in Windows or with Firefox. Sometimes when I hit Shift and t a new tab will open, or shift and w will cause a pop up to come asking if I want to navigate away from this window. I have had other things pop up as well but not sure what they were or what keys I hit that caused them to show up. It tends to happen as I am typing faster. But when this happens, such as the shift t thing, I will close the tab and go back to what I was typing. Watching carefully that i am not hitting the ctrl key I hit shift t and the new tab will pop up again. The only way to get this to stop is to hit the esc key then I am able to to type fine again until it starts again. Once I was typing and my entire text highlighted and disappeared and I lost everything, so yes it can be extremely annoying. Hopefully someone can help me to solve this problem.

    Yes, I have rebooted the computer several times. Logged off for the night and login this morning.
    It still is happening.
    It happens when I type a message in yahoo; when I login to yahoo, both trading platforms and several other applications.
    After a while it stops - don't know if there is a key I strike that deactivates what every it is that is making the the keys perform the shortcut function. Sometimes by hitting ESC more than 4 times but less than 10 seems to stop it (or so it appears as the next time I type a msg in Yahoo mail the keys don't activate the toolbar "edit" function. Sometimes striking the backspace key over and over again when there is nothing to delete appears to stop it from happening.
    Anymore suggestions? Greatly appreciated. Tired of retyping 3 or more times. Have gotten to the point where I type in word or notepad and paste my username and password into the appropriate areas or into the message area.
    Will capture image next time.

  • HT201210 my ipod touch had a glitch and it told me to connect it to itunes. so i did and i had to restore it or else it wouldnt work and i couldnt get my data.when i hit restore it loads and it says its extracting but there isa error & it wont retore what

    last night i was using my ipodtouch and all of a sudden it starteed to have a glitch then it said i need to connect it to itunes. so in the morning i did. when i  plugged it in it said i needed to restore my ipod in order to use and get my data back from itunes when i hit retore it loaded then it said extrcting data after a few minutes a error came up and said it couldnt restore. i tried it a few more times but the same error kept coming up. now i can not use my ipod what do i do?

    Seee:
    iPhone Error 3194 - How to Fix iTunes Error 3194?
    Fix Error 3194 from iTunes during iPhone restore
    iTunes: Specific update-and-restore error messages and advanced troubleshooting

  • Getting error -2147221219 when trying to execute OpenMsgStore function on Exchange 2007 Server

    Hello,
      I am getting error -2147221219 when trying to execute OpenMsgStore API on Exchange Server 2007. I have created the Public Folder also on the same server. Also, I have installed the Microsoft Exchange Server MAPI Client and Collaboration Data Objects 1.2.1 on the server. Please do let me know if our previous MAPI / CDO applications would work for Exchange Server 2007 in this environment?
      Also, while executing the Microsoft Exchange MAPI editor when I click on Session -> Logon and Display Store Table I see Err:0x8004010F=MAPI_E_NOT_FOUND in the row type column. The MAPI initialization is successful and in the Display Name I get Public Folders and Mailbox - Administrator. Please let me know how to I make work the MAPI Editor.
      Thanks for your time and cooperation !!
    Thanks & Regards,
    Neel

    Answers in social.msdn.microsoft.com/Forums/en-US/3a2e9489-6137-42fb-95d1-bebcfe2ea138 may solve your problem.
    PR_PROFILE_CONNECT_FLAGS = 0 will also work.

  • Errors when attempt to execute task 'Approve and Deploy to Product'

    Hello all,
    I updated the pricelists from BCC, an error occurred when I attempted to execute task 'Approve and Deploy to Production', it shows ‘atg.epub.workflow.process.WorkflowProcessResources->invalidTargetName : There is no target with the given name Production.’
    Here is the ATGPublishing server error log:
    atg.process.action.ActionException: atg.epub.workflow.process.WorkflowProcessResources->invalidTargetName : There is no target with the given name Production.
    Can anyone tell me how to resolve this error. Thank you in advance.

    Check this in your production BCC component browser.
    /dyn/admin/nucleus/atg/epub/workflow/process/WorkflowProcessManager/?action=seedefinition&process=/Commerce/editCommerceAssets.wdl
    Search for approveAndDeployProject, you will find the target. Make sure its correct and same String value is used in BCC when creating sites.
    And make
    atg/epub/Configuration.properties
    queryWorkflowTargetByID=false
    Otherwise send me the contents from dyn/admin
    Peace
    Shaik

  • My pages app won't finish downloading, it keeps saying waiting even when I hit the install button and it won't let me pause it to start the download again.

    my pages app won't finish downloading. It keeps saying it's waiting but won't install when I click install and won't pause in order for me to start the download again.

    Hi there,
    I would recommend taking a look at the troubleshooting steps found in the article below.
    Troubleshooting the Mac App Store
    http://support.apple.com/kb/ts3624
    -Griff W.

  • The screen no longer displays a playlist column and when I hit the plus sign the screen no longer has a right side column to let me make a new playlist. Now what?

    The screen which comes up no longer displays a playlist column and when I hit the plus sign and choose new playlist the screen doesn't display the narrow right side column for a new playlist. Does this have something to do with the new iTunes version I installed?

    iOS: Unable to update or restore

  • Calling Oracle function and Procedure using OCCI with in C++ code

    Could any body send me the sample code to create and execute Oracle function and Procedure using OCCI concept in C++?.
    Edited by: 788634 on Aug 16, 2010 4:09 AM

    Hi Vishnu,
    Yes, sure, you can create a PL/SQL procedure, function, package, package body, etc. from within an OCCI application. I would say that, generally, this is not the sort of activity a typical client application would perform unless there is some initialization/installation processes that need to happen. In any case, here is a simple demo showing how to create a stand alone procedure (in a real application I would use a package and body) that returns a ref cursor. The ref cursor is just a simple select of two columns in the hr.countries sample table. Of course, there is no error handling, object orientation, etc. in this demo - I wanted to keep the code as short and as simple as possible to illustrate the concept.
    Regards,
    Mark
    #include <occi.h>
    #include <iostream>
    using namespace std;
    using namespace oracle::occi;
    int main(void)
      // occi variables
      Environment *env;
      Connection  *con;
      Statement   *stmt;
      ResultSet   *rs;
      // database connection information
      string user = "hr";
      string passwd = "hr";
      string db = "orademo";
      // sql to create the procedure which returns a ref cursor as out parameter
      // should be run as hr sample user or in a schema that has select privilege
      // on the hr.countries table and a synonym (countries) that points to the
      // hr.countries table
      string sqlCreate =
        "create or replace procedure get_countries(p_rc out sys_refcursor) as "
        "begin"
        " open p_rc for"
        " select country_id, country_name from countries order by country_name; "
        "end;";
      // pl/sql anonymous block to call the procedure
      string sqlCall = "begin get_countries(:1); end;";
      // create a default environment for this demo
      env = Environment::createEnvironment(Environment::DEFAULT);
      cout << endl;
      // open the connection to the database
      con = env->createConnection(user, passwd, db);
      // display database version
      cout << con->getServerVersion() << endl << endl;
      // create statement object for creating procedure
      stmt = con->createStatement(sqlCreate);
      // create the procedure
      stmt->executeUpdate();
      // terminate the statement object
      con->terminateStatement(stmt);
      // now create new statement object to call procedure
      stmt = con->createStatement(sqlCall);
      // need to register the ref cursor output parameter
      stmt->registerOutParam(1, OCCICURSOR);
      // call the procedure through the anonymous block
      stmt->executeUpdate();
      // get the ref cursor as an occi resultset
      rs = stmt->getCursor(1);
      // loop through the result set
      // and write the values to the console
      while (rs->next())
        cout << rs->getString(1) << ": " << rs->getString(2) << endl;
      // close the result set after looping
      stmt->closeResultSet(rs);
      // terminate the statement object
      con->terminateStatement(stmt);
      // terminate the connection to the database
      env->terminateConnection(con);
      // terminate the environment
      Environment::terminateEnvironment(env);
      // use this as a prompt to keep the console window from
      // closing when run interactively from the IDE
      cout << endl << "ENTER to continue...";
      cin.get();
      return 0;
    }

  • I created an apple id online on my computer, all is well and it is functional, however when i enter this same id and password into my iphone 5c it continues to ask me to sign in. Any suggestions on what i need to do?

    I created an apple id online on my computer, all is well and it is functional, however when i enter this same id and password into my iphone 5c it continues to ask me to sign in. Any suggestions on what i need to do?

    I created an apple id online on my computer, all is well and it is functional, however when i enter this same id and password into my iphone 5c it continues to ask me to sign in. Any suggestions on what i need to do?

  • I am trying to update my apps on my phone and when i hit update all it asks me to verify my acct info. i purchased an itunes card and want the payments to be taken off that if i continue will it take it off my credit card or my itunes card?

    I am trying to update my apps and when i hit update all it asks to verify my acct info and i purchased an itunes card to cover the costs of my purchases and if i continue with it will the updates take off my credit card or my itunes card that i purchased?

    ok now im trying to go ahead and verify my credit info to continue and when i hit done it says invalid security code and its correct, ive checked it several times and wont take it

Maybe you are looking for

  • Problems setting up a Domain - javax.management.InstanceNotFoundException

    I am having problems setting up a Domain. The following steps summarize what I have done. 1. Created FooDomain in d:/bea/wlserver6.0/config and created appropriate config.xml, startup scripts, security, etc... (FooDomain boots ok) 2. Moved console.wa

  • No sound on youtube on any browser!!

    Unbelievable i get forced to download your product to watch a video on youtube only to have it get totally screwed up.Read and applied every damn "fix" for the problem and still no damn sound!!!Honestly i would love to live in the world you guys live

  • Dynamicaly populating textbox in same same jsp page

    hi, i have a list box like <select name="ss"> <option value="1">one <option value="2">two <option value="3">three </select> if i select "one" from list box than two text should be populated in same jsp page. please tell me how to achive this.

  • "an error has occured" while downloading OS X Mountain Lion

    I have purchased the OS X Mountain Lion and it downloaded about half way on my macbook then stopped. Now when i go into the app store under purchased it says "an error has occured" and there is no option to resume the download, how can i get it to do

  • Query to claculate balance owed to a suuplier

    Dear All can any one provide me with Sql Query to claculate balance owed to a supplier. Best Regards Arifuddin