Menu

#128 Adding breakpoints

open
nobody
None
5
2017-06-18
2017-06-16
No

Hi all,

It would really be amazing if we could insert breakpoints in eclipse (sveditor), so we can export them through run configuartion variables to questa ( as questa allows setting break points from terminal )!!

Currently, I need to wait for questa to load everything and run , and then If I am lucky and I did not forget to stop simulation before bypassing the instruction that I want to stop at, I insert breakpoints.

Many thanks

Discussion

  • Matthew Ballance

    Hmm... Interesting thought!
    Just trying to think this through a bit. Looks like you're using the Eclipse launcher to launch your build and run. If so, I'm guessing your workflow would be:

    • set breakpoints within Eclipse while editing code
    • launch compilation and simulation via the Eclipse launcher, which might also result in the breakpoints being exported (to a file, to a variable, etc)
    • Import the breakpoints into the simulator on startup

    Is this similar to what you have in mind?

    Thanks,
    Matthew

     
  • Safouan Ben Jha

    Safouan Ben Jha - 2017-06-18

    Yes exactly!! I would love to have this feature and it would make SV coding much more productive!
    PS: If you have a look in this pdf questa manual page 241, you can see that is possible to set a breakpoint through command line by setting: bp <filename> <line number=""></line></filename>

    As a first draft, I suggest to make the breakpoint list in a variable that is accesible by Eclipse launcher, and to have the possibilty to set at the beginning the separator between the breakpoints
    ( ; or , or : or ; bp ..... or anything depending on your own simulator ).
    If you see anythor way to elaborate the idea for a better user experience, it's more than appreciated.

    Thanks,
    Safouan

     

    Last edit: Safouan Ben Jha 2017-06-19

Log in to post a comment.

MongoDB Logo MongoDB