Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugging issue with generated FlashDevelop Project File (Flash Target) #19

Closed
sh-dave opened this issue Nov 23, 2015 · 5 comments
Closed

Comments

@sh-dave
Copy link
Contributor

sh-dave commented Nov 23, 2015

Hello Robert,

i encounter issues with the generated FD project file for the flash target (FlashDevelop build 5.0.2.2). Kha is added via git submodule.

  • Kha sources are added with an absolute path
  • Kha sources are actually in a 'Kha' folder (uppercase K),

(Additional libraries in the project.kha file are added with relative paths and are debuggable)

<classpaths>
    <class path="..\Sources" />
    <class path="e:\projects\myproject\kha\Sources" />
    <class path="e:\projects\myproject\kha\Backends\Flash" />
    <class path="..\Libraries\somelib1\Sources" />
    <class path="..\Libraries\somelib2\Sources" />
</classpaths>

This somehow breaks the ability to debug in FD. Breakpoints in Kha source files aren't hit, and doubleclicking logged exceptions/errors in the results panel fails to jump to the correct line in the files. The debugger always jumps to line 1.

Classpath Test Result
<class path="e:\projects\myproject\kha\Sources" /> original fail
<class path="..\kha\Sources" /> relative path fail
<class path="e:\projects\myproject\Kha\Sources" /> correct case fail
<class path="..\Kha\Sources" /> relative path + case ok 😄
@RobDangerous
Copy link
Member

Hi Dave!
What is the exact khamake call you use? Just node Kha/make flash?

@sh-dave
Copy link
Contributor Author

sh-dave commented Nov 23, 2015

node kha/make -t flash

@RobDangerous
Copy link
Member

Oh, can reproduce easily. Kinda weird, cause it didn't break debugging for me.

@sh-dave
Copy link
Contributor Author

sh-dave commented Nov 23, 2015

just noticed, when i use node Kha/make -t flash (uppercase K), the classpath is also added as uppercase K

@RobDangerous
Copy link
Member

The small k big K thing is ok I think. Node reports the exec dir like that and it kinda makes sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants