facebook

Wrong breakpoint position

  1. CodeMix & Angular IDE
  2.  > 
  3. Webclipse 1.x Help
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #541175 Reply

    dewhee
    Participant

    Hi all!

    Everytime I try to put a breakpoint in my code, the debugger stops in the wrong line code.

    In attach you can find an image that shows you the bug (I put a breakpoint in the line 44, but the debugger stops in the line 43).

    What can I do?

    Thanks,
    Simone

    Attachments:
    You must be logged in to view attached files.
    #541227 Reply

    Stéphane
    Participant

    Hi,

    Are you sure the binaries are up-to-date with the code?

    To be sure, menu project > clean. Be sure also the compilation is activated.

    Stef

    #541280 Reply

    sbelt
    Participant

    I have this issue as well on a project which has nothing to do with Genuitec. (Oddly, my WebClipse project DOES NOT have this problem.) My unconfirmed theory has been that it is an issue between jQuery and Google Dev Tools. I never did run the problem to ground, I just learned to live with it (like adding breakpoints to compensate, using console.log() statements, etc.).

    Sorry I do not offer a solution; if you do not get an answer on this board, I suggest broadening your search. (In which case I would love to learn your solution!)

    Cheers!
    Steve B)

    #541307 Reply

    Brian Fernandes
    Moderator

    Simone,

    The debugger would internally work against transpiled JS, perhaps there is a mismatch there. As Stef stated earlier, you need to ensure the latest version of your source is built – typically having Project > Build Automatically on will take care of this.

    For the file in question (or any file that you can replicate with), can you send us the source TS file, the transpiled JS file and the sourcemap file (.map)? Based on your compiler settings, the .map file may exist in the same folder as the JS file, or it may be included within the JS file’s source.

    Thanks!

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Wrong breakpoint position

You must be logged in to post in the forum log in