| Summary: | Cannot debug source code for Agents | ||
|---|---|---|---|
| Product: | [Modeling] AMP | Reporter: | Jonas Ruttimann <jonas.ruettimann> |
| Component: | AMF | Assignee: | Miles Parker <milesparker> |
| Status: | CLOSED DUPLICATE | QA Contact: | Miles Parker <milesparker> |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | urs.frei |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Jonas Ruttimann
Please see referenced bug. This is actually a deep issue. Currently, the only way to do this is to launch a self-hosted runtime and then debug from there. The issue with that is that you don't actually have the source code for the model at that point. I think.. :) So you can a) use an entry point from the framework (i.e. Ascape/Escape) code itself, or b) (haven't confirmed that this will work) launch a self-hosted runtime from the AMP development runtime using either a workspace with copy of model (synchronization issues there) or with new project with dependency on existing project (I'm not sure that that that will get past class loader). Sorry there isn't a better solution to this yet. Eventually it will be nice to have much deeper model level debugging support here. *** This bug has been marked as a duplicate of bug 289394 *** (In reply to comment #1) Yes, I can confirm the workaround with a self-hosted runtime and a copy of the model in the host workspace. It's kind of nasty but it still works. :) |