mirror of
https://github.com/ParkerTenBroeck/coroutines.git
synced 2026-06-07 05:08:51 -04:00
added stack tracking
This commit is contained in:
parent
61b1ca1c12
commit
21412f4670
5 changed files with 473 additions and 86 deletions
|
|
@ -104,10 +104,12 @@ public class GeneratorClassLoader extends ClassLoader {
|
|||
var smb = new FutureSMBuilder(src_clm, src_mem, com);
|
||||
try{
|
||||
add(smb.CD_this.displayName(), smb.buildStateMachine());
|
||||
}catch (Exception ignore){
|
||||
}catch (Exception e){
|
||||
e.printStackTrace();
|
||||
cb.withMethod(src_mem.methodName(), src_mem.methodType(), src_mem.flags().flagsMask(), mb -> {
|
||||
mb.with(com);
|
||||
});
|
||||
return smb;
|
||||
}
|
||||
cb.withMethod(src_mem.methodName(), src_mem.methodType(), src_mem.flags().flagsMask(), mb -> {
|
||||
mb.withCode(smb::buildSourceMethodShim);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue