views:

32

answers:

0

Hey,

I'm using a program which relies on a certain value of a variable to get into a certain function.

It's a dummy variable, which I use during debug when I want the program to enter a speific flow.

Until now, I used to set a breakpoint near the variable , set it's value to 1 , and the condition would be met. I was wondering if there is any way automating it using the Kdevelop ? Like telling the IDE, in that line number, in that file, set that variable to X.

I know there might be better ways, like sending the wanted value as parameter, or loading the value from a DB, but those are impossible at the moment. Is there a way to do that using KDevelop ?

P.S - recommendations about a good book using KDevelop would be great also.

Thanks