Skip to content

Commit 7dfc6c0

Browse files
committed
Debug: show bundledDir path as dialog
1 parent 3f7c144 commit 7dfc6c0

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

mode/CppMode.jar

60 Bytes
Binary file not shown.

src/java/CppBuild.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,10 @@ private void checkWindowsDLLs(RunnerListener listener, File binary) throws Excep
658658

659659
// Bundled DLLs are in libs/windows-x64 -- copy them next to the binary
660660
File bundledDir = new File(runtimeDir.getParentFile(), "libs/windows-x64");
661-
listener.statusNotice("CppMode: bundledDir=" + bundledDir.getAbsolutePath() + " exists=" + bundledDir.exists());
661+
javax.swing.JOptionPane.showMessageDialog(null,
662+
"bundledDir: " + bundledDir.getAbsolutePath() + "\nexists: " + bundledDir.exists() +
663+
"\nruntimeDir: " + runtimeDir.getAbsolutePath(),
664+
"CppMode Debug", javax.swing.JOptionPane.INFORMATION_MESSAGE);
662665
listener.statusNotice("CppMode: bundledDir=" + bundledDir.getAbsolutePath() + " exists=" + bundledDir.exists());
663666
File binaryDir = new File(binary.getParent());
664667
binaryDir.mkdirs();

0 commit comments

Comments
 (0)