This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | "Bad directory" error on start remote debugging | ||
---|---|---|---|
Product: | third-party | Reporter: | Alexander Pepin <apepin> |
Component: | DBX-Gui | Assignee: | ivan <ivan> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Alexander Pepin
2010-01-13 11:01:10 UTC
details: http://lessing.sfbay.sun.com/hg/toolshg/rev/a8d4d5bafddb We need to pass working directories through pathmapping before passing them on to the actual engines. This is done in DbxDebuggerSettingsBridge.applyRunDirectory() for dbx and GdbDebuggerImpl.runDir() using localToRemote(). We also need to inverse pathmap echoes of directories we get from the engine. This is done in DebuggerSettingsBridge.noteRunDir() which is shared between both engines. The pathmappings are performed by NativeDebugger.localToRemote() and remoteToLocal(). These are implemented in NativeDebuggerImpl and use CND PathMaps associated with the configurations host. They will be also used in fixes for bug #176604 and bug #179608 and all other places where filename informatiopn travels back and forth between the GUI and the engines. No pathmapping is done under dbxtool! Incidentally ... Added some prototype file pathname utilities to IpeUtils. |