Is it possible to link conditional breakpoints and scrapbook in Eclipse? I would like to have a conditional breakpoint trigger a piece of scrapbook code to be run (automatically). Something like...
if(x==4) //Conditional Breakpoint
->Run Scrapbook Code
I know this would be trivial by modifying the source but needs to be done against production code or during Codelock. Alternatively, is there any way of doing this using some other tools? *Note, this is for Android Development (Not sure if that'll affect solutions)
Only way I know of is a combination of a conditional break point and use of the display view.
First you would create your conditional break point by
Then run your application and once your debugger hits your breakpoint