+ Reply to Thread
Results 1 to 4 of 4

breakpoint adds lines to code when I run the code

  1. #1
    Registered User
    Join Date
    02-27-2013
    Location
    WA
    MS-Off Ver
    Excel 2010
    Posts
    4

    breakpoint adds lines to code when I run the code

    Excel 2010

    Many times when I run a program with a breakpoint, the compiler mysteriously inserts a few lines into the previous line. When I try to step past the breakpoint, I get an error for the previous line.

    Why does this happen? Is there a fix?

  2. #2
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: breakpoint adds lines to code when I run the code

    never heard of that before-can you give a specific example of code and what gets added? are you using sendkeys at all?
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  3. #3
    Registered User
    Join Date
    02-27-2013
    Location
    WA
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: breakpoint adds lines to code when I run the code

    JosephP,

    Yes, I am using sendkeys. This is in a 3000 line program.

    It does not happen 100% of the time. And now that I want to replicate it, it's being nice.

    I work on this every day and I'm sure I'll see it again. I'll post more info here asap.

    Thanks!

  4. #4
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: breakpoint adds lines to code when I run the code

    sendkeys is surely the culprit-what are you using it for

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1