Hello,
How can I run a python script when a breakpoint is reached? On the breakpoint windows, there is a command list box. This seems where I should be able to run a script. If that is the correct place, what is it expecting there? Also it seems sometimes breakpoints will get erased, is there a common reason this might be happening. Thanks for any assistance.
I'm using codelite version 12.0.4
Ubuntu 18.0.4
gdb 8.1
Running script from Debugger
-
- CodeLite Curious
- Posts: 1
- Joined: Thu Aug 15, 2019 3:10 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
-
- CodeLite Plugin
- Posts: 819
- Joined: Wed Sep 03, 2008 7:26 pm
- Contact:
Re: Running script from Debugger
Hi,
print foo
cont
I've not tried running a python script. I suggest you test things direct with gdb in a terminal, then use whatever works there.
Regards,
David
Yes, that's the place. As you can see from it's tooltip, you add the commands you want to be run: e.g.On the breakpoint windows, there is a command list box. This seems where I should be able to run a script. If that is the correct place, what is it expecting there?
print foo
cont
I've not tried running a python script. I suggest you test things direct with gdb in a terminal, then use whatever works there.
Yes, it's always happened . However it's so random and intermittent that I've not found a cause.Also it seems sometimes breakpoints will get erased, is there a common reason this might be happening.
Regards,
David