Open CappCorp opened 9 years ago
No update on this ticket, has the project been move somewhere else or is it still supported from here ?
Thanks.
Sorry - I must have missed this the first time around.
I'm afraid there's currently no support for static methods. The logic that handles breakpoints is built around the assumption that we are invoking non-static methods on a specific object being tested. (And the logic for interleaving threads of execution is built on breakpoints, which allow us to pause one thread and run another.)
I'm not sure what would break if this assumption was removed. I will try and investigate, but it might not be feasible.
Alasdair
OK, thanks for the answer.
I hope it is feasible, I tried having a look at the instrumentation but I'm really not familiar enough with that kind of procedure and could not figure out the limitations of the mechanism.
Please keep me posted on your investigation, thanks in advance :)
Hello, Any update so far ?
Hi,
I tried getting information regarding this but could not find any. It seems I cannot instrument static methods to test them with thread weaver.
Here is a basic example of what I try to achieve:
All I end up with is this nasty exception:
Is this a known issue ? Am I doing something wrong ?
Thanks