This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I can set a breakpoint in my GEL files using GEL_HWBreakPtAdd("<function>");
I can set a breakpoint inside a function by right-clicking on the line.
I have not found a way to set a breakpoint on a line or a label using a GEL function.
Is this possible?
I have tried
GEL_HWBreakPtAdd("mysource.c:78");
GEL_HWBreakPtAdd("mysource.c, line 78");
GEL_HWBreakPtAdd("mysource.c", 78);
but neither is consider a valid breakpoint.
Is is possible, if paths are added?
Hello,
With GEL, it is not possible to set a breakpoint by specifying a source file and source line. Only addresses and symbols (function, label, etc) is supported.
This is supported with DSS however.
Thanks
ki
Do you have an example of setting a breakpoint to a label using GEL?
I see that I can open a scripting console for DSS, but can I automatically run a DSS script when I connect in the debugger?
but can I automatically run a DSS script when I connect in the debugger?
I haven't tried it myself, but the Initialization Script field in the Debug Configurations allows a DSS JavaScript to be specified to be run during debug launch. The video linked from that page shows a .js file being used to set a breakpoint at a specific source file and line number.
Do you have an example of setting a breakpoint to a label using GEL?
Try:
GEL_HWBreakPtAdd("<label>")
but the Initialization Script field in the Debug Configurations allows a DSS JavaScript to be specified to be run during debug launch.
Yes, Chester is correct. Just in case you missed it (it can be hard to see sometimes), the "Debug Configurations" text in Chester's post is a hyperlink.
Thanks
ki