Setting breakpoints in custom language files

Hi,


I want to set breakpoints in my custom file type.

I have:
- a FileType with
public boolean isJVMDebuggingSupported() { return true; }

- This type is associated with an extension
- In projectOpened( Project p ):
debugMgr.registerPositionManagerFactory( new Function<DebugProcess, PositionManager>() {
public PositionManager fun( DebugProcess debugProcess ) {
logger.info( "fun");
return new MyPositionManager( debugProcess );
}
} );

Now, when I start my plugin and open a file with the associated extension, the isJVMDebuggingSupported() method is called, but I'm still not able to set breakpoints.

Also, my own position manager is never created.

Any hint?

0

Please sign in to leave a comment.